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

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

Issue 2804853002: Cancels payment request when Settings is tapped, and opens the Autofill settings page. (Closed)
Patch Set: Remove more strongSelf checks. Created 3 years, 8 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 #include "ios/chrome/browser/payments/payment_request.h" 10 #include "ios/chrome/browser/payments/payment_request.h"
(...skipping 10 matching lines...) Expand all
21 @protocol PaymentRequestViewControllerDelegate<NSObject> 21 @protocol PaymentRequestViewControllerDelegate<NSObject>
22 22
23 // Notifies the delegate that the user has canceled the payment request. 23 // Notifies the delegate that the user has canceled the payment request.
24 - (void)paymentRequestViewControllerDidCancel: 24 - (void)paymentRequestViewControllerDidCancel:
25 (PaymentRequestViewController*)controller; 25 (PaymentRequestViewController*)controller;
26 26
27 // Notifies the delegate that the user has confirmed the payment request. 27 // Notifies the delegate that the user has confirmed the payment request.
28 - (void)paymentRequestViewControllerDidConfirm: 28 - (void)paymentRequestViewControllerDidConfirm:
29 (PaymentRequestViewController*)controller; 29 (PaymentRequestViewController*)controller;
30 30
31 // Notifies the delegate that the user has selected to go to the card and
32 // address options page in Settings.
33 - (void)paymentRequestViewControllerDidSelectSettings:
34 (PaymentRequestViewController*)controller;
35
31 // Notifies the delegate that the user has selected the payment summary item. 36 // Notifies the delegate that the user has selected the payment summary item.
32 - (void)paymentRequestViewControllerDidSelectPaymentSummaryItem: 37 - (void)paymentRequestViewControllerDidSelectPaymentSummaryItem:
33 (PaymentRequestViewController*)controller; 38 (PaymentRequestViewController*)controller;
34 39
35 // Notifies the delegate that the user has selected the shipping address item. 40 // Notifies the delegate that the user has selected the shipping address item.
36 - (void)paymentRequestViewControllerDidSelectShippingAddressItem: 41 - (void)paymentRequestViewControllerDidSelectShippingAddressItem:
37 (PaymentRequestViewController*)controller; 42 (PaymentRequestViewController*)controller;
38 43
39 // Notifies the delegate that the user has selected the shipping option item. 44 // Notifies the delegate that the user has selected the shipping option item.
40 - (void)paymentRequestViewControllerDidSelectShippingOptionItem: 45 - (void)paymentRequestViewControllerDidSelectShippingOptionItem:
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 NS_DESIGNATED_INITIALIZER; 99 NS_DESIGNATED_INITIALIZER;
95 100
96 - (instancetype)init NS_UNAVAILABLE; 101 - (instancetype)init NS_UNAVAILABLE;
97 102
98 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style 103 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style
99 NS_UNAVAILABLE; 104 NS_UNAVAILABLE;
100 105
101 @end 106 @end
102 107
103 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_ 108 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/payments/payment_request_manager.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