Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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_TOP_VERTICAL_PADDING, |
| 141 PROPERTY_TOOLBAR_VIEW_BOTTOM_VERTICAL_PADDING, | |
|
Peter Kasting
2015/09/09 22:41:53
Now that I look at this list I see that all the ot
tdanderson
2015/09/10 19:48:25
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 Loading... | |
| 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_ |
| OLD | NEW |