OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_SHIPPING_OPTION_SELECTION_COORDINATOR_H_ | 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_COORDINATOR_H_ |
6 #define IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_COORDINATOR_H_ | 6 #define IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_COORDINATOR_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 @interface ShippingOptionSelectionCoordinator | 37 @interface ShippingOptionSelectionCoordinator |
38 : ChromeCoordinator<ShippingOptionSelectionViewControllerDelegate> | 38 : ChromeCoordinator<ShippingOptionSelectionViewControllerDelegate> |
39 | 39 |
40 // The PaymentRequest object owning an instance of web::PaymentRequest as | 40 // The PaymentRequest object owning an instance of web::PaymentRequest as |
41 // provided by the page invoking the Payment Request API. This pointer is not | 41 // provided by the page invoking the Payment Request API. This pointer is not |
42 // owned by this class and should outlive it. | 42 // owned by this class and should outlive it. |
43 @property(nonatomic, assign) PaymentRequest* paymentRequest; | 43 @property(nonatomic, assign) PaymentRequest* paymentRequest; |
44 | 44 |
45 // The delegate to be notified when the user selects a shipping option or | 45 // The delegate to be notified when the user selects a shipping option or |
46 // returns without selecting one. | 46 // returns without selecting one. |
47 @property(nonatomic, weak) id<ShippingOptionSelectionCoordinatorDelegate> | 47 @property(nonatomic, weak) |
48 delegate; | 48 id<ShippingOptionSelectionCoordinatorDelegate> delegate; |
49 | 49 |
50 // Stops the spinner and displays the error provided in the payment details. | 50 // Stops the spinner and displays the error provided in the payment details. |
51 - (void)stopSpinnerAndDisplayError; | 51 - (void)stopSpinnerAndDisplayError; |
52 | 52 |
53 @end | 53 @end |
54 | 54 |
55 #endif // IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_COORDINATOR_H_ | 55 #endif // IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_COORDINATOR_H_ |
OLD | NEW |