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

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

Issue 2893353002: [Payment Request] Address edit view controller (Part 2) (Closed)
Patch Set: Initial 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_COORDINATOR_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_COORDINATOR_H_
6 #define IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_COORDINATOR_H_ 6 #define IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_COORDINATOR_H_
7 7
8 #import "ios/chrome/browser/chrome_coordinator.h" 8 #import "ios/chrome/browser/chrome_coordinator.h"
9 #import "ios/chrome/browser/ui/payments/address_edit_view_controller.h" 9 #import "ios/chrome/browser/ui/payments/address_edit_view_controller.h"
10 #import "ios/chrome/browser/ui/payments/country_selection_coordinator.h"
10 #import "ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h" 11 #import "ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h"
11 12
12 namespace autofill { 13 namespace autofill {
13 class AutofillProfile; 14 class AutofillProfile;
14 } // namespace autofill 15 } // namespace autofill
15 16
16 class PaymentRequest; 17 class PaymentRequest;
17 18
18 @class AddressEditCoordinator; 19 @class AddressEditCoordinator;
19 20
(...skipping 11 matching lines...) Expand all
31 // an address and return to the previous screen. 32 // an address and return to the previous screen.
32 - (void)addressEditCoordinatorDidCancel:(AddressEditCoordinator*)coordinator; 33 - (void)addressEditCoordinatorDidCancel:(AddressEditCoordinator*)coordinator;
33 34
34 @end 35 @end
35 36
36 // Coordinator responsible for creating and presenting an address editor view 37 // Coordinator responsible for creating and presenting an address editor view
37 // controller. This view controller will be presented by the view controller 38 // controller. This view controller will be presented by the view controller
38 // provided in the initializer. 39 // provided in the initializer.
39 @interface AddressEditCoordinator 40 @interface AddressEditCoordinator
40 : ChromeCoordinator<AddressEditViewControllerDelegate, 41 : ChromeCoordinator<AddressEditViewControllerDelegate,
41 PaymentRequestEditViewControllerValidator> 42 PaymentRequestEditViewControllerValidator,
43 CountrySelectionCoordinatorDelegate>
42 44
43 // The address to be edited, if any. This pointer is not owned by this class 45 // The address to be edited, if any. This pointer is not owned by this class
44 // and should outlive it. 46 // and should outlive it.
45 @property(nonatomic, assign) autofill::AutofillProfile* address; 47 @property(nonatomic, assign) autofill::AutofillProfile* address;
46 48
47 // The PaymentRequest object owning an instance of web::PaymentRequest as 49 // The PaymentRequest object owning an instance of web::PaymentRequest as
48 // provided by the page invoking the Payment Request API. This pointer is not 50 // provided by the page invoking the Payment Request API. This pointer is not
49 // owned by this class and should outlive it. 51 // owned by this class and should outlive it.
50 @property(nonatomic, assign) PaymentRequest* paymentRequest; 52 @property(nonatomic, assign) PaymentRequest* paymentRequest;
51 53
52 // The delegate to be notified when the user returns or finishes creating or 54 // The delegate to be notified when the user returns or finishes creating or
53 // editing an address. 55 // editing an address.
54 @property(nonatomic, weak) id<AddressEditCoordinatorDelegate> delegate; 56 @property(nonatomic, weak) id<AddressEditCoordinatorDelegate> delegate;
55 57
56 @end 58 @end
57 59
58 #endif // IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_COORDINATOR_H_ 60 #endif // IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_COORDINATOR_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/payments/BUILD.gn ('k') | ios/chrome/browser/ui/payments/address_edit_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698