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

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

Issue 2075443002: Remove IconLabelView layout constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment, fix compile Created 4 years, 6 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/icon_label_bubble_view.h » ('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 6220f3632a758ec4b1c9770c589ed4f542615f2e..0ba7f7a491a960e5cc13b37d756745da20ab21b7 100644
--- a/chrome/browser/ui/layout_constants.cc
+++ b/chrome/browser/ui/layout_constants.cc
@@ -10,8 +10,6 @@
int GetLayoutConstant(LayoutConstant constant) {
const int kFindBarVerticalOffset[] = {1, 6, 6};
- const int kIconLabelViewInternalSpacing[] = {3, 5, 5};
- const int kIconLabelViewTrailingPadding[] = {2, 6, 6};
const int kLocationBarBorderThickness[] = {2, 1, 1};
const int kLocationBarBubbleFontVerticalPadding[] = {1, 2, 4};
const int kLocationBarBubbleHorizontalPadding[] = {1, 0, 0};
@@ -46,10 +44,6 @@ int GetLayoutConstant(LayoutConstant constant) {
switch (constant) {
case FIND_BAR_TOOLBAR_OVERLAP:
return kFindBarVerticalOffset[mode];
- case ICON_LABEL_VIEW_INTERNAL_SPACING:
- return kIconLabelViewInternalSpacing[mode];
- case ICON_LABEL_VIEW_TRAILING_PADDING:
- return kIconLabelViewTrailingPadding[mode];
case LOCATION_BAR_BORDER_THICKNESS:
return kLocationBarBorderThickness[mode];
case LOCATION_BAR_BUBBLE_FONT_VERTICAL_PADDING:
« no previous file with comments | « chrome/browser/ui/layout_constants.h ('k') | chrome/browser/ui/views/location_bar/icon_label_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698