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

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

Issue 2715213005: [Payments] Add the pay button, and control its enabled state (Closed)
Patch Set: addressed comments Created 3 years, 10 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_views_util.h
diff --git a/chrome/browser/ui/views/payments/payment_request_views_util.h b/chrome/browser/ui/views/payments/payment_request_views_util.h
index 10e23be9343c393fdc3b3e85f8fc43fd77cf72f8..e388009b1d46cb89abc21bc5fd4089132cbd7365 100644
--- a/chrome/browser/ui/views/payments/payment_request_views_util.h
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.h
@@ -34,6 +34,7 @@ constexpr int kPaymentRequestButtonSpacing = 10;
enum class PaymentRequestCommonTags {
BACK_BUTTON_TAG = 0,
CLOSE_BUTTON_TAG,
+ PAY_BUTTON_TAG,
// This is the max value of tags for controls common to multiple
// PaymentRequest contexts. Individual screens that handle both common and
// specific events with tags can start their specific tags at this value.

Powered by Google App Engine
This is Rietveld 408576698