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

Side by Side Diff: ios/chrome/browser/payments/payment_request_view_controller.h

Issue 2588913002: EarlGrey tests for Payment Request (base CL) (Closed)
Patch Set: Moved the experimental flag back to the BVC Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/chrome/browser/ui/collection_view/collection_view_controller.h" 10 #import "ios/chrome/browser/ui/collection_view/collection_view_controller.h"
11 #include "ios/web/public/payments/payment_request.h" 11 #include "ios/web/public/payments/payment_request.h"
12 12
13 namespace autofill { 13 namespace autofill {
14 class AutofillProfile; 14 class AutofillProfile;
15 class CreditCard; 15 class CreditCard;
16 } 16 }
17 17
18 extern NSString* const kPaymentRequestCollectionViewId;
19
18 @protocol PaymentRequestViewControllerDelegate<NSObject> 20 @protocol PaymentRequestViewControllerDelegate<NSObject>
19 - (void)paymentRequestViewControllerDidCancel; 21 - (void)paymentRequestViewControllerDidCancel;
20 - (void)paymentRequestViewControllerDidConfirm; 22 - (void)paymentRequestViewControllerDidConfirm;
21 - (void)paymentRequestViewControllerDisplayPaymentItems; 23 - (void)paymentRequestViewControllerDisplayPaymentItems;
22 - (void)paymentRequestViewControllerSelectShippingAddress; 24 - (void)paymentRequestViewControllerSelectShippingAddress;
23 - (void)paymentRequestViewControllerSelectShippingOption; 25 - (void)paymentRequestViewControllerSelectShippingOption;
24 - (void)paymentRequestViewControllerSelectPaymentMethod; 26 - (void)paymentRequestViewControllerSelectPaymentMethod;
25 27
26 @end 28 @end
27 29
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 (web::PaymentShippingOption*)shippingOption; 65 (web::PaymentShippingOption*)shippingOption;
64 66
65 - (instancetype)init NS_DESIGNATED_INITIALIZER; 67 - (instancetype)init NS_DESIGNATED_INITIALIZER;
66 68
67 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style 69 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style
68 NS_UNAVAILABLE; 70 NS_UNAVAILABLE;
69 71
70 @end 72 @end
71 73
72 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ 74 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/payments/payment_request_utils.mm ('k') | ios/chrome/browser/payments/payment_request_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698