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

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

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, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/layout_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_LAYOUT_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_UI_LAYOUT_CONSTANTS_H_
6 #define CHROME_BROWSER_UI_LAYOUT_CONSTANTS_H_ 6 #define CHROME_BROWSER_UI_LAYOUT_CONSTANTS_H_
7 7
8 #include "ui/gfx/geometry/insets.h" 8 #include "ui/gfx/geometry/insets.h"
9 #include "ui/gfx/geometry/size.h" 9 #include "ui/gfx/geometry/size.h"
10 10
11 enum LayoutConstant { 11 enum LayoutConstant {
12 // Vertical offset from top of content to the top of find bar. 12 // Vertical offset from top of content to the top of find bar.
13 FIND_BAR_TOOLBAR_OVERLAP, 13 FIND_BAR_TOOLBAR_OVERLAP,
14 14
15 // Horizontal padding applied between items of icon-label views. 15 // Horizontal padding applied between items of icon-label views.
16 ICON_LABEL_VIEW_INTERNAL_PADDING, 16 ICON_LABEL_VIEW_INTERNAL_PADDING,
17 17
18 // Additional horizontal padding applied on the trailing edge of icon-label 18 // Additional horizontal padding applied on the trailing edge of icon-label
19 // views. 19 // views.
20 ICON_LABEL_VIEW_TRAILING_PADDING, 20 ICON_LABEL_VIEW_TRAILING_PADDING,
21 21
22 // The thickness of the location bar's border. 22 // The thickness of the location bar's border.
23 LOCATION_BAR_BORDER_THICKNESS, 23 LOCATION_BAR_BORDER_THICKNESS,
24 24
25 // The vertical padding between the edge of a location bar bubble and its
26 // contained text.
27 LOCATION_BAR_BUBBLE_FONT_VERTICAL_PADDING,
28
25 // The horizontal space between the edge and a bubble. 29 // The horizontal space between the edge and a bubble.
26 LOCATION_BAR_BUBBLE_HORIZONTAL_PADDING, 30 LOCATION_BAR_BUBBLE_HORIZONTAL_PADDING,
27 31
28 // The additional vertical padding of a bubble. 32 // The additional vertical padding of a bubble.
29 LOCATION_BAR_BUBBLE_VERTICAL_PADDING, 33 LOCATION_BAR_BUBBLE_VERTICAL_PADDING,
30 34
31 // The height to be occupied by the LocationBar. For 35 // The height to be occupied by the LocationBar. For
32 // MaterialDesignController::NON_MATERIAL the height is determined from image 36 // MaterialDesignController::NON_MATERIAL the height is determined from image
33 // assets. 37 // assets.
34 LOCATION_BAR_HEIGHT, 38 LOCATION_BAR_HEIGHT,
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // The visible size of the new tab button; does not include any Fitts' Law 131 // The visible size of the new tab button; does not include any Fitts' Law
128 // extensions. 132 // extensions.
129 NEW_TAB_BUTTON, 133 NEW_TAB_BUTTON,
130 }; 134 };
131 135
132 int GetLayoutConstant(LayoutConstant constant); 136 int GetLayoutConstant(LayoutConstant constant);
133 gfx::Insets GetLayoutInsets(LayoutInset inset); 137 gfx::Insets GetLayoutInsets(LayoutInset inset);
134 gfx::Size GetLayoutSize(LayoutSize size); 138 gfx::Size GetLayoutSize(LayoutSize size);
135 139
136 #endif // CHROME_BROWSER_UI_LAYOUT_CONSTANTS_H_ 140 #endif // CHROME_BROWSER_UI_LAYOUT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/layout_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698