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

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

Issue 2692923011: [Payments] Adjust the UI fit the mocks better (Closed)
Patch Set: adds ascii art 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 016e9c726d8099a15721cdf8afa9770987cb066f..424771b086f0f03f6663e22bc350cb1c6163e405 100644
--- a/chrome/browser/ui/views/payments/payment_request_views_util.h
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.h
@@ -23,7 +23,7 @@ class View;
namespace payments {
-constexpr int kPaymentRequestRowHorizontalInsets = 14;
+constexpr int kPaymentRequestRowHorizontalInsets = 16;
constexpr int kPaymentRequestRowVerticalInsets = 8;
// Extra inset relative to the header when a right edge should line up with the
// close button's X rather than its invisible right edge.
@@ -40,10 +40,10 @@ enum class PaymentRequestCommonTags {
// 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, and a right-aligned X close button. |delegate|
-// becomes the delegate for the back and close buttons.
+// true), a |title| label. |delegate| becomes the delegate for the back and
+// close buttons.
// +---------------------------+
-// | <- | Title | X |
+// | <- | Title |
// +---------------------------+
std::unique_ptr<views::View> CreateSheetHeaderView(
bool show_back_arrow,

Powered by Google App Engine
This is Rietveld 408576698