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. |