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

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

Issue 2956323002: [Payment Request] Simplifies VC's logic to decide if an item is selectable (Closed)
Patch Set: Addressed comment 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/payment_request_selector_view_controller.h
diff --git a/ios/chrome/browser/ui/payments/payment_request_selector_view_controller.h b/ios/chrome/browser/ui/payments/payment_request_selector_view_controller.h
index 9132c96082c40f7de4b93fda3d8430f4805c3e38..62233c7a73cbc4497292edc01a773e32ec29314b 100644
--- a/ios/chrome/browser/ui/payments/payment_request_selector_view_controller.h
+++ b/ios/chrome/browser/ui/payments/payment_request_selector_view_controller.h
@@ -16,7 +16,8 @@
@protocol PaymentRequestSelectorViewControllerDelegate<NSObject>
// Notifies the delegate that the user has selected an item at the given index.
-- (void)paymentRequestSelectorViewController:
+// Returns whether the selection can actually be made.
+- (BOOL)paymentRequestSelectorViewController:
(PaymentRequestSelectorViewController*)controller
didSelectItemAtIndex:(NSUInteger)index;

Powered by Google App Engine
This is Rietveld 408576698