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

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

Issue 2701923003: [Payment Request] Error message screen (Closed)
Patch Set: rebase Created 3 years, 10 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_PAYMENTS_SHIPPING_OPTION_SELECTION_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_VIEW_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include "ios/chrome/browser/payments/payment_request.h" 10 #include "ios/chrome/browser/payments/payment_request.h"
(...skipping 24 matching lines...) Expand all
35 @interface ShippingOptionSelectionViewController : CollectionViewController 35 @interface ShippingOptionSelectionViewController : CollectionViewController
36 36
37 // Whether or not the view is in a pending state. 37 // Whether or not the view is in a pending state.
38 @property(nonatomic, assign, getter=isPending) BOOL pending; 38 @property(nonatomic, assign, getter=isPending) BOOL pending;
39 39
40 // The error message to display, if any. 40 // The error message to display, if any.
41 @property(nonatomic, copy) NSString* errorMessage; 41 @property(nonatomic, copy) NSString* errorMessage;
42 42
43 // The delegate to be notified when the user selects a shipping option or 43 // The delegate to be notified when the user selects a shipping option or
44 // returns without selecting one. 44 // returns without selecting one.
45 @property(nonatomic, weak) id<ShippingOptionSelectionViewControllerDelegate> 45 @property(nonatomic, weak)
46 delegate; 46 id<ShippingOptionSelectionViewControllerDelegate> delegate;
47 47
48 // Initializes this object with an instance of PaymentRequest which owns an 48 // Initializes this object with an instance of PaymentRequest which owns an
49 // instance of web::PaymentRequest as provided by the page invoking the Payment 49 // instance of web::PaymentRequest as provided by the page invoking the Payment
50 // Request API. This object will not take ownership of |paymentRequest|. 50 // Request API. This object will not take ownership of |paymentRequest|.
51 - (instancetype)initWithPaymentRequest:(PaymentRequest*)paymentRequest 51 - (instancetype)initWithPaymentRequest:(PaymentRequest*)paymentRequest
52 NS_DESIGNATED_INITIALIZER; 52 NS_DESIGNATED_INITIALIZER;
53 53
54 - (instancetype)init NS_UNAVAILABLE; 54 - (instancetype)init NS_UNAVAILABLE;
55 55
56 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style 56 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style
57 NS_UNAVAILABLE; 57 NS_UNAVAILABLE;
58 58
59 @end 59 @end
60 60
61 #endif // IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_VIEW_CONTROLLER _H_ 61 #endif // IOS_CHROME_BROWSER_PAYMENTS_SHIPPING_OPTION_SELECTION_VIEW_CONTROLLER _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698