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

Unified Diff: chrome/browser/ui/layout_constants.cc

Issue 1740883002: Increase location bar bubble font padding in material hybrid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « chrome/browser/ui/layout_constants.h ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/layout_constants.cc
diff --git a/chrome/browser/ui/layout_constants.cc b/chrome/browser/ui/layout_constants.cc
index c226c6513f1f37b59ea9269ff48bb5142e9f7e60..6cfa6e8e3dbe734d26e02c7f11cd6ce8ae67381e 100644
--- a/chrome/browser/ui/layout_constants.cc
+++ b/chrome/browser/ui/layout_constants.cc
@@ -13,6 +13,7 @@ int GetLayoutConstant(LayoutConstant constant) {
const int kIconLabelViewInternalPadding[] = {3, 2, 2};
const int kIconLabelViewTrailingPadding[] = {2, 8, 8};
const int kLocationBarBorderThickness[] = {2, 1, 1};
+ const int kLocationBarBubbleFontVerticalPadding[] = {1, 2, 4};
const int kLocationBarBubbleHorizontalPadding[] = {1, 4, 4};
const int kLocationBarBubbleVerticalPadding[] = {1, 3, 3};
const int kLocationBarHeight[] = {27, 28, 32};
@@ -50,6 +51,8 @@ int GetLayoutConstant(LayoutConstant constant) {
return kIconLabelViewTrailingPadding[mode];
case LOCATION_BAR_BORDER_THICKNESS:
return kLocationBarBorderThickness[mode];
+ case LOCATION_BAR_BUBBLE_FONT_VERTICAL_PADDING:
+ return kLocationBarBubbleFontVerticalPadding[mode];
case LOCATION_BAR_BUBBLE_HORIZONTAL_PADDING:
return kLocationBarBubbleHorizontalPadding[mode];
case LOCATION_BAR_BUBBLE_VERTICAL_PADDING:
« no previous file with comments | « chrome/browser/ui/layout_constants.h ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698