| 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_UI_PAYMENTS_PAYMENT_REQUEST_SELECTOR_VIEW_CONTROLLER_
H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_PAYMENTS_PAYMENT_REQUEST_SELECTOR_VIEW_CONTROLLER_
H_ |
| 6 #define IOS_CHROME_BROWSER_UI_PAYMENTS_PAYMENT_REQUEST_SELECTOR_VIEW_CONTROLLER_
H_ | 6 #define IOS_CHROME_BROWSER_UI_PAYMENTS_PAYMENT_REQUEST_SELECTOR_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" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 // The delegate to be notified when the user selects an item, returns without | 52 // The delegate to be notified when the user selects an item, returns without |
| 53 // selection, or decides to add an item. | 53 // selection, or decides to add an item. |
| 54 @property(nonatomic, weak) id<PaymentRequestSelectorViewControllerDelegate> | 54 @property(nonatomic, weak) id<PaymentRequestSelectorViewControllerDelegate> |
| 55 delegate; | 55 delegate; |
| 56 | 56 |
| 57 // The data source for this view controller. | 57 // The data source for this view controller. |
| 58 @property(nonatomic, weak) id<PaymentRequestSelectorViewControllerDataSource> | 58 @property(nonatomic, weak) id<PaymentRequestSelectorViewControllerDataSource> |
| 59 dataSource; | 59 dataSource; |
| 60 | 60 |
| 61 // Whether or not the editor is in the editing mode. |
| 62 @property(nonatomic, assign, getter=isEditing) BOOL editing; |
| 63 |
| 61 // Convenience initializer. Initializes this object with the | 64 // Convenience initializer. Initializes this object with the |
| 62 // CollectionViewControllerStyleAppBar style and sets up the leading (back) | 65 // CollectionViewControllerStyleAppBar style and sets up the leading (back) |
| 63 // button. | 66 // button. |
| 64 - (instancetype)init; | 67 - (instancetype)init; |
| 65 | 68 |
| 66 @end | 69 @end |
| 67 | 70 |
| 68 #endif // IOS_CHROME_BROWSER_UI_PAYMENTS_PAYMENT_REQUEST_SELECTOR_VIEW_CONTROLL
ER_H_ | 71 #endif // IOS_CHROME_BROWSER_UI_PAYMENTS_PAYMENT_REQUEST_SELECTOR_VIEW_CONTROLL
ER_H_ |
| OLD | NEW |