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

Side by Side Diff: chrome/browser/themes/theme_properties.h

Issue 1322323006: Change toolbar height for material design on Ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_THEMES_THEME_PROPERTIES_H_ 5 #ifndef CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_
6 #define CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ 6 #define CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 PROPERTY_OMNIBOX_DROPDOWN_MIN_ICON_VERTICAL_PADDING, 130 PROPERTY_OMNIBOX_DROPDOWN_MIN_ICON_VERTICAL_PADDING,
131 PROPERTY_OMNIBOX_DROPDOWN_MIN_TEXT_VERTICAL_PADDING, 131 PROPERTY_OMNIBOX_DROPDOWN_MIN_TEXT_VERTICAL_PADDING,
132 PROPERTY_TOOLBAR_BUTTON_BORDER_INSET, 132 PROPERTY_TOOLBAR_BUTTON_BORDER_INSET,
133 PROPERTY_TOOLBAR_VIEW_CONTENT_SHADOW_HEIGHT, 133 PROPERTY_TOOLBAR_VIEW_CONTENT_SHADOW_HEIGHT,
134 PROPERTY_TOOLBAR_VIEW_CONTENT_SHADOW_HEIGHT_ASH, 134 PROPERTY_TOOLBAR_VIEW_CONTENT_SHADOW_HEIGHT_ASH,
135 PROPERTY_TOOLBAR_VIEW_ELEMENT_PADDING, 135 PROPERTY_TOOLBAR_VIEW_ELEMENT_PADDING,
136 PROPERTY_TOOLBAR_VIEW_LEFT_EDGE_SPACING, 136 PROPERTY_TOOLBAR_VIEW_LEFT_EDGE_SPACING,
137 PROPERTY_TOOLBAR_VIEW_LOCATION_BAR_RIGHT_PADDING, 137 PROPERTY_TOOLBAR_VIEW_LOCATION_BAR_RIGHT_PADDING,
138 PROPERTY_TOOLBAR_VIEW_RIGHT_EDGE_SPACING, 138 PROPERTY_TOOLBAR_VIEW_RIGHT_EDGE_SPACING,
139 PROPERTY_TOOLBAR_VIEW_STANDARD_SPACING, 139 PROPERTY_TOOLBAR_VIEW_STANDARD_SPACING,
140 PROPERTY_TOOLBAR_VIEW_VERTICAL_PADDING, 140 PROPERTY_TOOLBAR_VIEW_BOTTOM_VERTICAL_PADDING,
141 PROPERTY_TOOLBAR_VIEW_TOP_VERTICAL_PADDING,
Peter Kasting 2015/09/08 19:38:33 Nit: top then bottom, please (here and elsewhere)
tdanderson 2015/09/09 17:23:05 Done.
141 }; 142 };
142 143
143 // Used by the browser theme pack to parse alignments from something like 144 // Used by the browser theme pack to parse alignments from something like
144 // "top left" into a bitmask of Alignment. 145 // "top left" into a bitmask of Alignment.
145 static int StringToAlignment(const std::string& alignment); 146 static int StringToAlignment(const std::string& alignment);
146 147
147 // Used by the browser theme pack to parse alignments from something like 148 // Used by the browser theme pack to parse alignments from something like
148 // "no-repeat" into a Tiling value. 149 // "no-repeat" into a Tiling value.
149 static int StringToTiling(const std::string& tiling); 150 static int StringToTiling(const std::string& tiling);
150 151
(...skipping 19 matching lines...) Expand all
170 171
171 // Returns the default value for the given property |id|. Returns -1 if |id| 172 // Returns the default value for the given property |id|. Returns -1 if |id|
172 // is invalid. 173 // is invalid.
173 static int GetDefaultDisplayProperty(int id); 174 static int GetDefaultDisplayProperty(int id);
174 175
175 private: 176 private:
176 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); 177 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties);
177 }; 178 };
178 179
179 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ 180 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698