OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ | 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ |
6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ | 6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 #import "ios/chrome/browser/ui/collection_view/collection_view_controller.h" | 10 #import "ios/chrome/browser/ui/collection_view/collection_view_controller.h" |
11 #include "ios/web/public/payments/payment_request.h" | 11 #include "ios/web/public/payments/payment_request.h" |
12 | 12 |
13 namespace autofill { | 13 namespace autofill { |
14 class AutofillProfile; | 14 class AutofillProfile; |
15 class CreditCard; | 15 class CreditCard; |
16 } | 16 } |
17 | 17 |
18 extern NSString* const kPaymentRequestCollectionViewId; | |
19 | |
20 @protocol PaymentRequestViewControllerDelegate<NSObject> | 18 @protocol PaymentRequestViewControllerDelegate<NSObject> |
21 - (void)paymentRequestViewControllerDidCancel; | 19 - (void)paymentRequestViewControllerDidCancel; |
22 - (void)paymentRequestViewControllerDidConfirm; | 20 - (void)paymentRequestViewControllerDidConfirm; |
23 - (void)paymentRequestViewControllerDisplayPaymentItems; | 21 - (void)paymentRequestViewControllerDisplayPaymentItems; |
24 - (void)paymentRequestViewControllerSelectShippingAddress; | 22 - (void)paymentRequestViewControllerSelectShippingAddress; |
25 - (void)paymentRequestViewControllerSelectShippingOption; | 23 - (void)paymentRequestViewControllerSelectShippingOption; |
26 - (void)paymentRequestViewControllerSelectPaymentMethod; | 24 - (void)paymentRequestViewControllerSelectPaymentMethod; |
27 | 25 |
28 @end | 26 @end |
29 | 27 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 (web::PaymentShippingOption*)shippingOption; | 63 (web::PaymentShippingOption*)shippingOption; |
66 | 64 |
67 - (instancetype)init NS_DESIGNATED_INITIALIZER; | 65 - (instancetype)init NS_DESIGNATED_INITIALIZER; |
68 | 66 |
69 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style | 67 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style |
70 NS_UNAVAILABLE; | 68 NS_UNAVAILABLE; |
71 | 69 |
72 @end | 70 @end |
73 | 71 |
74 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ | 72 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ |
OLD | NEW |