Index: ios/chrome/browser/ui/payments/payment_request_selector_view_controller_data_source.h |
diff --git a/ios/chrome/browser/ui/payments/payment_request_selector_view_controller_data_source.h b/ios/chrome/browser/ui/payments/payment_request_selector_view_controller_data_source.h |
index c1caff049ce22becb2c42cc72b598acf5c8f5782..5c0a6f620c68b779292c14280acc7d0849884e10 100644 |
--- a/ios/chrome/browser/ui/payments/payment_request_selector_view_controller_data_source.h |
+++ b/ios/chrome/browser/ui/payments/payment_request_selector_view_controller_data_source.h |
@@ -15,6 +15,8 @@ |
typedef NS_ENUM(NSUInteger, PaymentRequestSelectorState) { |
// The view controller is in normal state. |
PaymentRequestSelectorStateNormal, |
+ // The view controller is in edit state. |
+ PaymentRequestSelectorStateEdit, |
// The view controller is in pending state. |
PaymentRequestSelectorStatePending, |
// The view controller is in error state. |
@@ -32,6 +34,9 @@ typedef NS_ENUM(NSUInteger, PaymentRequestSelectorState) { |
// Index for the currently selected item or NSUIntegerMax if there is none. |
@property(nonatomic, readonly) NSUInteger selectedItemIndex; |
+// Whether or not the view controller supports edit mode. |
+- (BOOL)allowsEditMode; |
+ |
// The header item to display in the collection, if any. |
- (CollectionViewItem*)headerItem; |