OLD | NEW |
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. |
| 12 FIND_BAR_TOOLBAR_OVERLAP, |
| 13 |
11 // Horizontal padding applied between items of icon-label views. | 14 // Horizontal padding applied between items of icon-label views. |
12 ICON_LABEL_VIEW_INTERNAL_PADDING, | 15 ICON_LABEL_VIEW_INTERNAL_PADDING, |
13 | 16 |
14 // Additional horizontal padding applied on the trailing edge of icon-label | 17 // Additional horizontal padding applied on the trailing edge of icon-label |
15 // views. | 18 // views. |
16 ICON_LABEL_VIEW_TRAILING_PADDING, | 19 ICON_LABEL_VIEW_TRAILING_PADDING, |
17 | 20 |
18 // The horizontal space between the edge and a bubble. | 21 // The horizontal space between the edge and a bubble. |
19 LOCATION_BAR_BUBBLE_HORIZONTAL_PADDING, | 22 LOCATION_BAR_BUBBLE_HORIZONTAL_PADDING, |
20 | 23 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 TOOLBAR, | 100 TOOLBAR, |
98 | 101 |
99 // The spacing between a ToolbarButton's image and its border. | 102 // The spacing between a ToolbarButton's image and its border. |
100 TOOLBAR_BUTTON, | 103 TOOLBAR_BUTTON, |
101 }; | 104 }; |
102 | 105 |
103 int GetLayoutConstant(LayoutConstant constant); | 106 int GetLayoutConstant(LayoutConstant constant); |
104 gfx::Insets GetLayoutInsets(LayoutInset inset); | 107 gfx::Insets GetLayoutInsets(LayoutInset inset); |
105 | 108 |
106 #endif // CHROME_BROWSER_UI_VIEWS_LAYOUT_CONSTANTS_H_ | 109 #endif // CHROME_BROWSER_UI_VIEWS_LAYOUT_CONSTANTS_H_ |
OLD | NEW |