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

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

Issue 2908033002: [Payment Request] Refactors edit view controller (Closed)
Patch Set: Addressed comments Created 3 years, 7 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_edit_view_controller.h
diff --git a/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h b/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h
index bc1c27187f9a89ed631b9d0e5f64f31f3a4e7938..4352f8ed50c9450808fc129d0d1041df01d5427b 100644
--- a/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h
+++ b/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h
@@ -26,6 +26,16 @@ extern NSString* const kWarningMessageAccessibilityID;
(PaymentRequestEditViewController*)controller
didSelectField:(EditorField*)field;
+// Notifies the delegate that the user has finished editing the editor fields.
+- (void)paymentRequestEditViewController:
+ (PaymentRequestEditViewController*)controller
+ didFinishEditingFields:(NSArray<EditorField*>*)fields;
+
+// Notifies the delegate that the user has chosen to discard entries in the
+// editor fields and return to the previous screen.
+- (void)paymentRequestEditViewControllerDidCancel:
+ (PaymentRequestEditViewController*)controller;
+
@end
// Validator protocol for PaymentRequestEditViewController.

Powered by Google App Engine
This is Rietveld 408576698