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

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

Issue 2816083002: [WebPayments] Desktop implementation of Contact Editor (Closed)
Patch Set: rebase 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 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 CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void OnCanMakePaymentCalled() override; 77 void OnCanMakePaymentCalled() override;
78 78
79 // PaymentRequestDialogView::ObserverForTest: 79 // PaymentRequestDialogView::ObserverForTest:
80 void OnDialogOpened() override; 80 void OnDialogOpened() override;
81 void OnOrderSummaryOpened() override; 81 void OnOrderSummaryOpened() override;
82 void OnPaymentMethodOpened() override; 82 void OnPaymentMethodOpened() override;
83 void OnShippingAddressSectionOpened() override; 83 void OnShippingAddressSectionOpened() override;
84 void OnShippingOptionSectionOpened() override; 84 void OnShippingOptionSectionOpened() override;
85 void OnCreditCardEditorOpened() override; 85 void OnCreditCardEditorOpened() override;
86 void OnShippingAddressEditorOpened() override; 86 void OnShippingAddressEditorOpened() override;
87 void OnContactInfoEditorOpened() override;
87 void OnBackNavigation() override; 88 void OnBackNavigation() override;
88 void OnBackToPaymentSheetNavigation() override; 89 void OnBackToPaymentSheetNavigation() override;
89 void OnContactInfoOpened() override; 90 void OnContactInfoOpened() override;
90 void OnEditorViewUpdated() override; 91 void OnEditorViewUpdated() override;
91 void OnErrorMessageShown() override; 92 void OnErrorMessageShown() override;
92 void OnSpecDoneUpdating() override; 93 void OnSpecDoneUpdating() override;
93 void OnCvcPromptShown() override; 94 void OnCvcPromptShown() override;
94 95
95 // views::WidgetObserver 96 // views::WidgetObserver
96 // Effective way to be warned of all dialog closures. 97 // Effective way to be warned of all dialog closures.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // Various events that can be waited on by the DialogEventObserver. 191 // Various events that can be waited on by the DialogEventObserver.
191 enum DialogEvent : int { 192 enum DialogEvent : int {
192 DIALOG_OPENED, 193 DIALOG_OPENED,
193 DIALOG_CLOSED, 194 DIALOG_CLOSED,
194 ORDER_SUMMARY_OPENED, 195 ORDER_SUMMARY_OPENED,
195 PAYMENT_METHOD_OPENED, 196 PAYMENT_METHOD_OPENED,
196 SHIPPING_ADDRESS_SECTION_OPENED, 197 SHIPPING_ADDRESS_SECTION_OPENED,
197 SHIPPING_OPTION_SECTION_OPENED, 198 SHIPPING_OPTION_SECTION_OPENED,
198 CREDIT_CARD_EDITOR_OPENED, 199 CREDIT_CARD_EDITOR_OPENED,
199 SHIPPING_ADDRESS_EDITOR_OPENED, 200 SHIPPING_ADDRESS_EDITOR_OPENED,
201 CONTACT_INFO_EDITOR_OPENED,
200 BACK_NAVIGATION, 202 BACK_NAVIGATION,
201 BACK_TO_PAYMENT_SHEET_NAVIGATION, 203 BACK_TO_PAYMENT_SHEET_NAVIGATION,
202 CONTACT_INFO_OPENED, 204 CONTACT_INFO_OPENED,
203 EDITOR_VIEW_UPDATED, 205 EDITOR_VIEW_UPDATED,
204 CAN_MAKE_PAYMENT_CALLED, 206 CAN_MAKE_PAYMENT_CALLED,
205 ERROR_MESSAGE_SHOWN, 207 ERROR_MESSAGE_SHOWN,
206 SPEC_DONE_UPDATING, 208 SPEC_DONE_UPDATING,
207 CVC_PROMPT_SHOWN, 209 CVC_PROMPT_SHOWN,
208 }; 210 };
209 211
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 // Weak, owned by the PaymentRequest object. 254 // Weak, owned by the PaymentRequest object.
253 TestChromePaymentRequestDelegate* delegate_; 255 TestChromePaymentRequestDelegate* delegate_;
254 bool incognito_for_testing_; 256 bool incognito_for_testing_;
255 257
256 DISALLOW_COPY_AND_ASSIGN(PaymentRequestBrowserTestBase); 258 DISALLOW_COPY_AND_ASSIGN(PaymentRequestBrowserTestBase);
257 }; 259 };
258 260
259 } // namespace payments 261 } // namespace payments
260 262
261 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ 263 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698