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 a6a2ef0473751488a294e5b9a3864b86b86e155f..92515391c381fcb733c7d5eea72fc8e260fe79b7 100644 |
--- a/chrome/browser/ui/views/payments/payment_request_views_util.h |
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.h |
@@ -37,7 +37,6 @@ constexpr int kPaymentRequestRowExtraRightInset = 8; |
constexpr int kPaymentRequestButtonSpacing = 10; |
// Dimensions of the dialog itself. |
-constexpr int kDialogWidth = 450; |
constexpr int kDialogHeight = 450; |
enum class PaymentRequestCommonTags { |
@@ -50,6 +49,8 @@ enum class PaymentRequestCommonTags { |
PAYMENT_REQUEST_COMMON_TAG_MAX |
}; |
+int GetActualDialogWidth(); |
+ |
// Creates and returns a header for all the sheets in the PaymentRequest dialog. |
// The header contains an optional back arrow button (if |show_back_arrow| is |
// true), a |title| label. |delegate| becomes the delegate for the back and |