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

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

Issue 1682373002: Misc. small changes in preparation for moving popup mode edge drawing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 4 years, 10 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/views/frame/glass_browser_frame_view.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
(...skipping 19 matching lines...) Expand all
30 30
31 // The height to be occupied by the LocationBar. For 31 // The height to be occupied by the LocationBar. For
32 // MaterialDesignController::NON_MATERIAL the height is determined from image 32 // MaterialDesignController::NON_MATERIAL the height is determined from image
33 // assets. 33 // assets.
34 LOCATION_BAR_HEIGHT, 34 LOCATION_BAR_HEIGHT,
35 35
36 // Space between items in the location bar, as well as between items and the 36 // Space between items in the location bar, as well as between items and the
37 // edges. 37 // edges.
38 LOCATION_BAR_HORIZONTAL_PADDING, 38 LOCATION_BAR_HORIZONTAL_PADDING,
39 39
40 // The vertical padding of items in the location bar. 40 // Space between the location bar edge and contents.
41 LOCATION_BAR_VERTICAL_PADDING, 41 LOCATION_BAR_VERTICAL_PADDING,
42 42
43 // The number of pixels in the omnibox dropdown border image interior to 43 // The number of pixels in the omnibox dropdown border image interior to
44 // the actual border. 44 // the actual border.
45 OMNIBOX_DROPDOWN_BORDER_INTERIOR, 45 OMNIBOX_DROPDOWN_BORDER_INTERIOR,
46 46
47 // The font size to use in the location bar and omnibox dropdown, in pixels. 47 // The font size to use in the location bar and omnibox dropdown, in pixels.
48 OMNIBOX_FONT_PIXEL_SIZE, 48 OMNIBOX_FONT_PIXEL_SIZE,
49 49
50 // The amount of overlap between the last tab and the new tab button. 50 // The amount of overlap between the last tab and the new tab button.
(...skipping 76 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 127 // The visible size of the new tab button; does not include any Fitts' Law
128 // extensions. 128 // extensions.
129 NEW_TAB_BUTTON, 129 NEW_TAB_BUTTON,
130 }; 130 };
131 131
132 int GetLayoutConstant(LayoutConstant constant); 132 int GetLayoutConstant(LayoutConstant constant);
133 gfx::Insets GetLayoutInsets(LayoutInset inset); 133 gfx::Insets GetLayoutInsets(LayoutInset inset);
134 gfx::Size GetLayoutSize(LayoutSize size); 134 gfx::Size GetLayoutSize(LayoutSize size);
135 135
136 #endif // CHROME_BROWSER_UI_LAYOUT_CONSTANTS_H_ 136 #endif // CHROME_BROWSER_UI_LAYOUT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/glass_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698