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

Side by Side Diff: chrome/browser/ui/views/layout_constants.h

Issue 1419673017: [MD] Twiddle padding of omnibox chips (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_LAYOUT_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LAYOUT_CONSTANTS_H_
6 #define CHROME_BROWSER_UI_VIEWS_LAYOUT_CONSTANTS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LAYOUT_CONSTANTS_H_
7 7
8 #include "ui/gfx/geometry/insets.h" 8 #include "ui/gfx/geometry/insets.h"
9 9
10 enum LayoutConstant { 10 enum LayoutConstant {
11 // Vertical offset from top of content to the top of find bar. 11 // Vertical offset from top of content to the top of find bar.
12 FIND_BAR_TOOLBAR_OVERLAP, 12 FIND_BAR_TOOLBAR_OVERLAP,
13 13
14 // Horizontal padding applied between items of icon-label views. 14 // Horizontal padding applied between items of icon-label views.
15 ICON_LABEL_VIEW_INTERNAL_PADDING, 15 ICON_LABEL_VIEW_INTERNAL_PADDING,
16 16
17 // Additional horizontal padding applied on the leading edge of icon-label
18 // views (before the icon).
19 ICON_LABEL_VIEW_LEADING_PADDING,
20
17 // Additional horizontal padding applied on the trailing edge of icon-label 21 // Additional horizontal padding applied on the trailing edge of icon-label
18 // views. 22 // views.
19 ICON_LABEL_VIEW_TRAILING_PADDING, 23 ICON_LABEL_VIEW_TRAILING_PADDING,
20 24
21 // The thickness of the location bar's border. 25 // The thickness of the location bar's border.
22 LOCATION_BAR_BORDER_THICKNESS, 26 LOCATION_BAR_BORDER_THICKNESS,
23 27
24 // The horizontal space between the edge and a bubble. 28 // The horizontal space between the edge and a bubble.
25 LOCATION_BAR_BUBBLE_HORIZONTAL_PADDING, 29 LOCATION_BAR_BUBBLE_HORIZONTAL_PADDING,
26 30
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 TOOLBAR, 124 TOOLBAR,
121 125
122 // The spacing between a ToolbarButton's image and its border. 126 // The spacing between a ToolbarButton's image and its border.
123 TOOLBAR_BUTTON, 127 TOOLBAR_BUTTON,
124 }; 128 };
125 129
126 int GetLayoutConstant(LayoutConstant constant); 130 int GetLayoutConstant(LayoutConstant constant);
127 gfx::Insets GetLayoutInsets(LayoutInset inset); 131 gfx::Insets GetLayoutInsets(LayoutInset inset);
128 132
129 #endif // CHROME_BROWSER_UI_VIEWS_LAYOUT_CONSTANTS_H_ 133 #endif // CHROME_BROWSER_UI_VIEWS_LAYOUT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/layout_constants.cc » ('j') | chrome/browser/ui/views/layout_constants.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698