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

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

Issue 1394763003: Update LocationBarView Background (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update nomenclature Created 5 years, 1 month 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/layout_constants.cc
diff --git a/chrome/browser/ui/views/layout_constants.cc b/chrome/browser/ui/views/layout_constants.cc
index 68dd76b6f8b1b022b22da266602da1853f56296d..63924773fd82972277cc2cf58fee769db999b0cf 100644
--- a/chrome/browser/ui/views/layout_constants.cc
+++ b/chrome/browser/ui/views/layout_constants.cc
@@ -11,8 +11,9 @@ int GetLayoutConstant(LayoutConstant constant) {
const int kFindBarVerticalOffset[] = {1, 6, 6};
const int kIconLabelViewInternalPadding[] = {3, 2, 2};
const int kIconLabelViewTrailingPadding[] = {2, 8, 8};
- const int kLocationBarBubbleHorizontalPadding[] = {1, 5, 5};
- const int kLocationBarBubbleVerticalPadding[] = {1, 5, 5};
+ const int kLocationBarBorderThickness[] = {2, 1, 1};
+ const int kLocationBarBubbleHorizontalPadding[] = {1, 4, 4};
+ const int kLocationBarBubbleVerticalPadding[] = {1, 4, 4};
const int kLocationBarHeight[] = {0, 28, 32};
const int kLocationBarHorizontalPadding[] = {3, 6, 6};
const int kLocationBarVerticalPadding[] = {2, 2, 2};
@@ -45,6 +46,8 @@ int GetLayoutConstant(LayoutConstant constant) {
return kIconLabelViewInternalPadding[mode];
case ICON_LABEL_VIEW_TRAILING_PADDING:
return kIconLabelViewTrailingPadding[mode];
+ case LOCATION_BAR_BORDER_THICKNESS:
+ return kLocationBarBorderThickness[mode];
case LOCATION_BAR_BUBBLE_HORIZONTAL_PADDING:
return kLocationBarBubbleHorizontalPadding[mode];
case LOCATION_BAR_BUBBLE_VERTICAL_PADDING:
« no previous file with comments | « chrome/browser/ui/views/layout_constants.h ('k') | chrome/browser/ui/views/location_bar/background_with_1_px_border.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698