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

Unified Diff: chrome/browser/ui/views/payments/payment_request_dialog_view.h

Issue 2768093006: [Payments] Desktop: Error message in the dialog. (Closed)
Patch Set: Test Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/payments/payment_request_dialog_view.h
diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.h b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
index 821c4362bdad08bd716c7532a065076f6b507b2a..8c1738e68cb69d0296b5dd317db34aae7e38c179 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
@@ -49,6 +49,8 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
virtual void OnBackNavigation() = 0;
virtual void OnEditorViewUpdated() = 0;
+
+ virtual void OnErrorMessageShown() = 0;
};
// Build a Dialog around the PaymentRequest object. |observer| is used to
@@ -69,6 +71,7 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
// payments::PaymentRequestDialog
void ShowDialog() override;
void CloseDialog() override;
+ void ShowErrorMessage() override;
void Pay();
void GoBack();

Powered by Google App Engine
This is Rietveld 408576698