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

Side by Side Diff: ios/chrome/browser/payments/payment_items_display_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_ITEMS_DISPLAY_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_ITEMS_DISPLAY_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_ITEMS_DISPLAY_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_ITEMS_DISPLAY_VIEW_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 #include <vector> 9 #include <vector>
10 10
11 #import "ios/chrome/browser/ui/collection_view/collection_view_controller.h" 11 #import "ios/chrome/browser/ui/collection_view/collection_view_controller.h"
12 #include "ios/web/public/payments/payment_request.h" 12 #include "ios/web/public/payments/payment_request.h"
13 13
14 // The accessibility identifiers of the cells in the collection view.
15 extern NSString* const kPaymentItemsDisplayItemId;
16
14 @class PaymentItemsDisplayViewController; 17 @class PaymentItemsDisplayViewController;
15 18
16 // Protocol for communicating with the delegate supplied to 19 // Protocol for communicating with the delegate supplied to
17 // PaymentItemsDisplayViewController. 20 // PaymentItemsDisplayViewController.
18 @protocol PaymentItemsDisplayViewControllerDelegate<NSObject> 21 @protocol PaymentItemsDisplayViewControllerDelegate<NSObject>
19 22
20 // Notifies the delegate that the user has chosen to return to the previous 23 // Notifies the delegate that the user has chosen to return to the previous
21 // screen. 24 // screen.
22 - (void)paymentItemsDisplayViewControllerDidReturn: 25 - (void)paymentItemsDisplayViewControllerDidReturn:
23 (PaymentItemsDisplayViewController*)controller; 26 (PaymentItemsDisplayViewController*)controller;
(...skipping 22 matching lines...) Expand all
46 49
47 - (instancetype)initWithPayButtonEnabled:(BOOL)payButtonEnabled 50 - (instancetype)initWithPayButtonEnabled:(BOOL)payButtonEnabled
48 NS_DESIGNATED_INITIALIZER; 51 NS_DESIGNATED_INITIALIZER;
49 52
50 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style 53 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style
51 NS_UNAVAILABLE; 54 NS_UNAVAILABLE;
52 55
53 @end 56 @end
54 57
55 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_ITEMS_DISPLAY_VIEW_CONTROLLER_H_ 58 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_ITEMS_DISPLAY_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698