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

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

Issue 2782303002: [Web Payments] Constrain the dialog inner views to parent's width (Closed)
Patch Set: 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
« no previous file with comments | « chrome/browser/ui/views/payments/payment_request_sheet_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 575a567fe2bc61c356f9e939f9835e251107579b..55363266261f442ef168cb2ed8d2033a41482848 100644
--- a/chrome/browser/ui/views/payments/payment_request_views_util.h
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.h
@@ -33,6 +33,10 @@ constexpr int kPaymentRequestRowVerticalInsets = 8;
constexpr int kPaymentRequestRowExtraRightInset = 8;
constexpr int kPaymentRequestButtonSpacing = 10;
+// Dimensions of the dialog itself.
+constexpr int kDialogWidth = 450;
Mathieu 2017/03/29 22:03:08 BTW I think harmony dialog widths are being standa
anthonyvd 2017/03/29 22:10:27 Good to know! I'll land this as-is, monitor the ot
+constexpr int kDialogHeight = 450;
+
enum class PaymentRequestCommonTags {
BACK_BUTTON_TAG = 0,
CLOSE_BUTTON_TAG,
« no previous file with comments | « chrome/browser/ui/views/payments/payment_request_sheet_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698