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 #include "ios/chrome/browser/payments/payment_request.h" | 10 #include "ios/chrome/browser/payments/payment_request.h" |
11 #import "ios/chrome/browser/ui/collection_view/collection_view_controller.h" | 11 #import "ios/chrome/browser/ui/collection_view/collection_view_controller.h" |
12 #include "ios/web/public/payments/payment_request.h" | 12 #include "ios/web/public/payments/payment_request.h" |
13 | 13 |
14 extern NSString* const kPaymentRequestCollectionViewId; | 14 extern NSString* const kPaymentRequestCollectionViewID; |
15 | 15 |
16 @class PaymentRequestViewController; | 16 @class PaymentRequestViewController; |
17 | 17 |
18 // Delegate protocol for PaymentRequestViewController. | 18 // Delegate protocol for PaymentRequestViewController. |
19 @protocol PaymentRequestViewControllerDelegate<NSObject> | 19 @protocol PaymentRequestViewControllerDelegate<NSObject> |
20 | 20 |
21 // Notifies the delegate that the user has canceled the payment request. | 21 // Notifies the delegate that the user has canceled the payment request. |
22 - (void)paymentRequestViewControllerDidCancel: | 22 - (void)paymentRequestViewControllerDidCancel: |
23 (PaymentRequestViewController*)controller; | 23 (PaymentRequestViewController*)controller; |
24 | 24 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 NS_DESIGNATED_INITIALIZER; | 81 NS_DESIGNATED_INITIALIZER; |
82 | 82 |
83 - (instancetype)init NS_UNAVAILABLE; | 83 - (instancetype)init NS_UNAVAILABLE; |
84 | 84 |
85 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style | 85 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style |
86 NS_UNAVAILABLE; | 86 NS_UNAVAILABLE; |
87 | 87 |
88 @end | 88 @end |
89 | 89 |
90 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ | 90 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ |
OLD | NEW |