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

Unified Diff: chrome/browser/ui/views/payments/payment_request_sheet_controller.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_sheet_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
index fcfea7c7c7202296e880d0e647a8e67933dc5d88..c5f9a1649dceb7b675fbe06e7e8e1cd6d7f3a8bc 100644
--- a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
+++ b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
@@ -56,6 +56,10 @@ class PaymentRequestSheetController : public views::ButtonListener {
// enabled state).
virtual std::unique_ptr<views::Button> CreatePrimaryButton();
+ // Returns the text that should be on the secondary button, by default
+ // "Cancel".
+ virtual base::string16 GetSecondaryButtonLabel();
+
// Returns whether this sheet should display a back arrow in the header next
// to the title.
virtual bool ShouldShowHeaderBackArrow();

Powered by Google App Engine
This is Rietveld 408576698