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

Unified Diff: ios/chrome/browser/payments/payment_request_edit_view_controller_actions.h

Issue 2744823003: [Payment Request] Generic edit form (Closed)
Patch Set: rebase Created 3 years, 9 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/payments/payment_request_edit_view_controller_actions.h
diff --git a/ios/chrome/browser/payments/payment_request_edit_view_controller_actions.h b/ios/chrome/browser/payments/payment_request_edit_view_controller_actions.h
new file mode 100644
index 0000000000000000000000000000000000000000..93eb9ea28329f7b3d67bc1441403a709c5cad9f7
--- /dev/null
+++ b/ios/chrome/browser/payments/payment_request_edit_view_controller_actions.h
@@ -0,0 +1,19 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_EDIT_VIEW_CONTROLLER_ACTIONS_H_
+#define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_EDIT_VIEW_CONTROLLER_ACTIONS_H_
+
+// Protocol handling the actions sent by the PaymentRequestEditViewController.
+@protocol PaymentRequestEditViewControllerActions
+
+// Called when the user presses the return button.
+- (void)onReturn;
+
+// Called when the user presses the done button.
+- (void)onDone;
+
+@end
+
+#endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_EDIT_VIEW_CONTROLLER_ACTIONS_H_

Powered by Google App Engine
This is Rietveld 408576698