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

Side by Side Diff: chrome/browser/ui/views/payments/payment_request_dialog_view.h

Issue 2817533006: [Web Payments] Add PopMany and Size functions to ViewStack (Closed)
Patch Set: 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 CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void ShowDialog() override; 87 void ShowDialog() override;
88 void CloseDialog() override; 88 void CloseDialog() override;
89 void ShowErrorMessage() override; 89 void ShowErrorMessage() override;
90 90
91 // PaymentRequestSpec::Observer: 91 // PaymentRequestSpec::Observer:
92 void OnInvalidSpecProvided() override {} 92 void OnInvalidSpecProvided() override {}
93 void OnSpecUpdated() override; 93 void OnSpecUpdated() override;
94 94
95 void Pay(); 95 void Pay();
96 void GoBack(); 96 void GoBack();
97 void GoBackToPaymentSheet();
97 void ShowContactProfileSheet(); 98 void ShowContactProfileSheet();
98 void ShowOrderSummary(); 99 void ShowOrderSummary();
99 void ShowShippingProfileSheet(); 100 void ShowShippingProfileSheet();
100 void ShowPaymentMethodSheet(); 101 void ShowPaymentMethodSheet();
101 void ShowShippingOptionSheet(); 102 void ShowShippingOptionSheet();
102 // |credit_card| is the card to be edited, or nullptr for adding a card. 103 // |credit_card| is the card to be edited, or nullptr for adding a card.
103 // |on_edited| is called when |credit_card| was successfully edited, and 104 // |on_edited| is called when |credit_card| was successfully edited, and
104 // |on_added| is called when a new credit card was added (the reference is 105 // |on_added| is called when a new credit card was added (the reference is
105 // short-lived; callee should make a copy of the CreditCard object). 106 // short-lived; callee should make a copy of the CreditCard object).
106 void ShowCreditCardEditor( 107 void ShowCreditCardEditor(
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // Used when the dialog is being closed to avoid re-entrancy into the 152 // Used when the dialog is being closed to avoid re-entrancy into the
152 // controller_map_. 153 // controller_map_.
153 bool being_closed_; 154 bool being_closed_;
154 155
155 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView); 156 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView);
156 }; 157 };
157 158
158 } // namespace payments 159 } // namespace payments
159 160
160 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ 161 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698