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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 104 COLOR_TOOLBAR_STROKE_INACTIVE, | 104 COLOR_TOOLBAR_STROKE_INACTIVE, |
| 105 COLOR_TOOLBAR_BUTTON_STROKE, | 105 COLOR_TOOLBAR_BUTTON_STROKE, |
| 106 COLOR_TOOLBAR_BUTTON_STROKE_INACTIVE, | 106 COLOR_TOOLBAR_BUTTON_STROKE_INACTIVE, |
| 107 GRADIENT_FRAME_INCOGNITO, | 107 GRADIENT_FRAME_INCOGNITO, |
| 108 GRADIENT_FRAME_INCOGNITO_INACTIVE, | 108 GRADIENT_FRAME_INCOGNITO_INACTIVE, |
| 109 GRADIENT_TOOLBAR, | 109 GRADIENT_TOOLBAR, |
| 110 GRADIENT_TOOLBAR_INACTIVE, | 110 GRADIENT_TOOLBAR_INACTIVE, |
| 111 GRADIENT_TOOLBAR_BUTTON, | 111 GRADIENT_TOOLBAR_BUTTON, |
| 112 GRADIENT_TOOLBAR_BUTTON_INACTIVE, | 112 GRADIENT_TOOLBAR_BUTTON_INACTIVE, |
| 113 GRADIENT_TOOLBAR_BUTTON_PRESSED, | 113 GRADIENT_TOOLBAR_BUTTON_PRESSED, |
| 114 GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE | 114 GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE, |
| 115 #endif // OS_MACOSX | 115 #endif // OS_MACOSX |
| 116 | |
| 117 // Layout Properties for the Toolbar | |
|
pkotwicz
2015/07/03 15:39:22
Can you add a TODO to remove all of these properti
jonross
2015/07/03 17:09:31
These might remain after we complete the implement
| |
| 118 PROPERTY_TOOLBAR_VIEW_LEFT_EDGE_SPACING, | |
| 119 PROPERTY_TOOLBAR_VIEW_RIGHT_EDGE_SPACING, | |
| 120 PROPERTY_TOOLBAR_VIEW_CONTENT_SHADOW_HEIGHT_ASH, | |
| 121 PROPERTY_TOOLBAR_VIEW_CONTENT_SHADOW_HEIGHT, | |
| 116 }; | 122 }; |
| 117 | 123 |
| 118 // Used by the browser theme pack to parse alignments from something like | 124 // Used by the browser theme pack to parse alignments from something like |
| 119 // "top left" into a bitmask of Alignment. | 125 // "top left" into a bitmask of Alignment. |
| 120 static int StringToAlignment(const std::string& alignment); | 126 static int StringToAlignment(const std::string& alignment); |
| 121 | 127 |
| 122 // Used by the browser theme pack to parse alignments from something like | 128 // Used by the browser theme pack to parse alignments from something like |
| 123 // "no-repeat" into a Tiling value. | 129 // "no-repeat" into a Tiling value. |
| 124 static int StringToTiling(const std::string& tiling); | 130 static int StringToTiling(const std::string& tiling); |
| 125 | 131 |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 145 | 151 |
| 146 // Returns the default value for the given property |id|. Returns -1 if |id| | 152 // Returns the default value for the given property |id|. Returns -1 if |id| |
| 147 // is invalid. | 153 // is invalid. |
| 148 static int GetDefaultDisplayProperty(int id); | 154 static int GetDefaultDisplayProperty(int id); |
| 149 | 155 |
| 150 private: | 156 private: |
| 151 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); | 157 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); |
| 152 }; | 158 }; |
| 153 | 159 |
| 154 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ | 160 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ |
| OLD | NEW |