RESOLVED FIXED 159278
Add "type" and "paymentPass" properties in PaymentMethod
https://bugs.webkit.org/show_bug.cgi?id=159278
Summary Add "type" and "paymentPass" properties in PaymentMethod
Anders Carlsson
Reported 2016-06-29 14:52:35 PDT
Add "type" and "paymentPass" properties in PaymentMethod
Attachments
Patch (4.46 KB, patch)
2016-06-29 14:54 PDT, Anders Carlsson
dino: review+
Anders Carlsson
Comment 1 2016-06-29 14:54:37 PDT
Dean Jackson
Comment 2 2016-06-29 14:57:23 PDT
Comment on attachment 282377 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=282377&action=review > Source/WebCore/ChangeLog:13 > + * platform/cocoa/ThemeCocoa.mm: > + (WebCore::drawApplePayButton): You didn't explain this change. > Source/WebCore/Modules/applepay/cocoa/PaymentMethodCocoa.mm:55 > + case PKPaymentPassActivationStateActivated: > + return @"activated"; > + > + case PKPaymentPassActivationStateRequiresActivation: > + return @"requiresActivation"; > + > + case PKPaymentPassActivationStateActivating: > + return @"activating"; > + > + case PKPaymentPassActivationStateSuspended: > + return @"suspended"; > + > + case PKPaymentPassActivationStateDeactivated: > + return @"deactivated"; > + > + default: > + return nil; Why all the blank lines? > Source/WebCore/Modules/applepay/cocoa/PaymentMethodCocoa.mm:93 > + switch (paymentMethodType) { > + case PKPaymentMethodTypeDebit: > + return @"debit"; > + > + case PKPaymentMethodTypeCredit: > + return @"credit"; > + > + case PKPaymentMethodTypePrepaid: > + return @"prepaid"; > + > + case PKPaymentMethodTypeStore: > + return @"store"; > + > + case PKPaymentMethodTypeUnknown: > + default: > + return nil; > + } And here?
Anders Carlsson
Comment 3 2016-06-29 15:41:39 PDT
Note You need to log in before you can comment on or make changes to this bug.