Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: ios/chrome/browser/ui/payments/shipping_address_selection_mediator.h

Issue 2938673003: [Payment Request] Selector view edit mode (Closed)
Patch Set: Addressed comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/payments/shipping_address_selection_mediator.h
diff --git a/ios/chrome/browser/ui/payments/shipping_address_selection_mediator.h b/ios/chrome/browser/ui/payments/shipping_address_selection_mediator.h
index a0732d740cd0e5a945933037d721669db771d08a..9aeed36c8372960ce3bd2c31c977b91da4558423 100644
--- a/ios/chrome/browser/ui/payments/shipping_address_selection_mediator.h
+++ b/ios/chrome/browser/ui/payments/shipping_address_selection_mediator.h
@@ -17,12 +17,15 @@ class PaymentRequest;
// nil.
@property(nonatomic, copy) NSString* headerText;
-// The current state of the view controller.
+// Redefined to be read-write.
@property(nonatomic, readwrite, assign) PaymentRequestSelectorState state;
-// Index for the currently selected item or NSUIntegerMax if there is none.
+// Redefined to be read-write.
@property(nonatomic, readwrite, assign) NSUInteger selectedItemIndex;
+// Creates and stores the selectable items to display in the collection.
+- (void)loadItems;
+
// Initializes this object with an instance of PaymentRequest which has a copy
// of web::PaymentRequest as provided by the page invoking the Payment Request
// API. This object will not take ownership of |paymentRequest|.

Powered by Google App Engine
This is Rietveld 408576698