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

Unified Diff: components/payments/content/payment_request_delegate.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: components/payments/content/payment_request_delegate.h
diff --git a/components/payments/content/payment_request_delegate.h b/components/payments/content/payment_request_delegate.h
index dc421cdb4bc65b6ba98509511b59634299215fc4..98040a6aa575dc3d1de708ffcd1ec7e0841cf2d4 100644
--- a/components/payments/content/payment_request_delegate.h
+++ b/components/payments/content/payment_request_delegate.h
@@ -26,6 +26,10 @@ class PaymentRequestDelegate {
// call when the dialog is not showing.
virtual void CloseDialog() = 0;
+ // Disables the dialog and shows an error message that the transaction has
+ // failed.
+ virtual void ShowErrorMessage() = 0;
+
// Gets the PersonalDataManager associated with this PaymentRequest flow.
// Cannot be null.
virtual autofill::PersonalDataManager* GetPersonalDataManager() = 0;
« no previous file with comments | « components/payments/content/payment_request.cc ('k') | components/payments/content/payment_request_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698