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

Side by Side Diff: ios/chrome/browser/ui/payments/address_edit_view_controller.h

Issue 2908033002: [Payment Request] Refactors edit view controller (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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_VIEW_CONTROLLER_H_
7
8 #import "ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h"
9
10 @class AddressEditViewController;
11 @class EditorField;
12
13 // Delegate protocol for AddressEditViewController.
14 @protocol
15 AddressEditViewControllerDelegate<PaymentRequestEditViewControllerDelegate>
16
17 // Notifies the delegate that the user has finished editing the address editor
18 // fields.
19 - (void)addressEditViewController:(AddressEditViewController*)controller
20 didFinishEditingFields:(NSArray<EditorField*>*)fields;
21
22 // Notifies the delegate that the user has chosen to discard entries in the
23 // address editor fields and return to the previous screen.
24 - (void)addressEditViewControllerDidCancel:
25 (AddressEditViewController*)controller;
26
27 @end
28
29 // View controller responsible for presenting an address edit form. The form
30 // features text fields for the field definitions passed to the initializer.
31 @interface AddressEditViewController : PaymentRequestEditViewController
32
33 // The delegate to be notified when the user returns or finishes editing the
34 // address editor fields.
35 @property(nonatomic, weak) id<AddressEditViewControllerDelegate> delegate;
36
37 @end
38
39 #endif // IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698