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