| Index: chrome/browser/ui/views/payments/payment_request_browsertest_base.h
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_browsertest_base.h b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
|
| index 8f3c487ba55e9e8338f490d6b8607c5647f7cb47..78a719ed8f6e1de3782c7b465253e4cf0c43c009 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
|
| +++ b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
|
| @@ -85,6 +85,7 @@ class PaymentRequestBrowserTestBase
|
| void OnBackNavigation() override;
|
| void OnContactInfoOpened() override;
|
| void OnEditorViewUpdated() override;
|
| + void OnErrorMessageShown() override;
|
|
|
| // views::WidgetObserver
|
| // Effective way to be warned of all dialog closures.
|
| @@ -127,8 +128,10 @@ class PaymentRequestBrowserTestBase
|
|
|
| // Click on a view from within the dialog and waits for an observed event
|
| // to be observed.
|
| - void ClickOnDialogViewAndWait(DialogViewID view_id);
|
| - void ClickOnDialogViewAndWait(views::View* view);
|
| + void ClickOnDialogViewAndWait(DialogViewID view_id,
|
| + bool wait_for_animation = true);
|
| + void ClickOnDialogViewAndWait(views::View* view,
|
| + bool wait_for_animation = true);
|
|
|
| // Setting the |value| in the textfield of a given |type|.
|
| void SetEditorTextfieldValue(const base::string16& value,
|
| @@ -170,6 +173,7 @@ class PaymentRequestBrowserTestBase
|
| CONTACT_INFO_OPENED,
|
| EDITOR_VIEW_UPDATED,
|
| CAN_MAKE_PAYMENT_CALLED,
|
| + ERROR_MESSAGE_SHOWN,
|
| };
|
|
|
| // DialogEventObserver is used to wait on specific events that may have
|
|
|