OLD | NEW |
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 25 matching lines...) Expand all Loading... |
36 class ObserverForTest { | 36 class ObserverForTest { |
37 public: | 37 public: |
38 virtual void OnDialogOpened() = 0; | 38 virtual void OnDialogOpened() = 0; |
39 | 39 |
40 virtual void OnContactInfoOpened() = 0; | 40 virtual void OnContactInfoOpened() = 0; |
41 | 41 |
42 virtual void OnOrderSummaryOpened() = 0; | 42 virtual void OnOrderSummaryOpened() = 0; |
43 | 43 |
44 virtual void OnPaymentMethodOpened() = 0; | 44 virtual void OnPaymentMethodOpened() = 0; |
45 | 45 |
46 virtual void OnShippingSectionOpened() = 0; | 46 virtual void OnShippingAddressSectionOpened() = 0; |
| 47 |
| 48 virtual void OnShippingOptionSectionOpened() = 0; |
47 | 49 |
48 virtual void OnCreditCardEditorOpened() = 0; | 50 virtual void OnCreditCardEditorOpened() = 0; |
49 | 51 |
50 virtual void OnShippingAddressEditorOpened() = 0; | 52 virtual void OnShippingAddressEditorOpened() = 0; |
51 | 53 |
52 virtual void OnBackNavigation() = 0; | 54 virtual void OnBackNavigation() = 0; |
53 | 55 |
54 virtual void OnEditorViewUpdated() = 0; | 56 virtual void OnEditorViewUpdated() = 0; |
55 | 57 |
56 virtual void OnErrorMessageShown() = 0; | 58 virtual void OnErrorMessageShown() = 0; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 // Used when the dialog is being closed to avoid re-entrancy into the | 137 // Used when the dialog is being closed to avoid re-entrancy into the |
136 // controller_map_. | 138 // controller_map_. |
137 bool being_closed_; | 139 bool being_closed_; |
138 | 140 |
139 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView); | 141 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView); |
140 }; | 142 }; |
141 | 143 |
142 } // namespace payments | 144 } // namespace payments |
143 | 145 |
144 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ | 146 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ |
OLD | NEW |