| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 // -------------------------------------------------------------------------- | 75 // -------------------------------------------------------------------------- |
| 76 // The int value of the properties in NotOverwritableByUserThemeProperties | 76 // The int value of the properties in NotOverwritableByUserThemeProperties |
| 77 // has no special meaning. Modify the enum to your heart's content. | 77 // has no special meaning. Modify the enum to your heart's content. |
| 78 // The enum takes on values >= 1000 as not to overlap with | 78 // The enum takes on values >= 1000 as not to overlap with |
| 79 // OverwritableByUserThemeProperties. | 79 // OverwritableByUserThemeProperties. |
| 80 enum NotOverwritableByUserThemeProperty { | 80 enum NotOverwritableByUserThemeProperty { |
| 81 COLOR_CONTROL_BACKGROUND = 1000, | 81 COLOR_CONTROL_BACKGROUND = 1000, |
| 82 | 82 |
| 83 // The color of the border drawn around the location bar. |
| 84 COLOR_LOCATION_BAR_BORDER, |
| 85 |
| 83 // The color of the line separating the bottom of the toolbar from the | 86 // The color of the line separating the bottom of the toolbar from the |
| 84 // contents. | 87 // contents. |
| 85 COLOR_TOOLBAR_BOTTOM_SEPARATOR, | 88 COLOR_TOOLBAR_BOTTOM_SEPARATOR, |
| 86 | 89 |
| 87 // The color of a normal toolbar button's icon. | 90 // The color of a normal toolbar button's icon. |
| 88 COLOR_TOOLBAR_BUTTON_ICON, | 91 COLOR_TOOLBAR_BUTTON_ICON, |
| 89 // The color of a disabled toolbar button's icon. | 92 // The color of a disabled toolbar button's icon. |
| 90 COLOR_TOOLBAR_BUTTON_ICON_INACTIVE, | 93 COLOR_TOOLBAR_BUTTON_ICON_INACTIVE, |
| 91 | 94 |
| 92 // The color of the line separating the top of the toolbar from the region | 95 // The color of the line separating the top of the toolbar from the region |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 177 |
| 175 // Returns the default color for the given color |id| COLOR_* enum value. | 178 // Returns the default color for the given color |id| COLOR_* enum value. |
| 176 // Returns gfx::kPlaceholderColor if |id| is invalid. | 179 // Returns gfx::kPlaceholderColor if |id| is invalid. |
| 177 static SkColor GetDefaultColor(int id, bool otr); | 180 static SkColor GetDefaultColor(int id, bool otr); |
| 178 | 181 |
| 179 private: | 182 private: |
| 180 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); | 183 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); |
| 181 }; | 184 }; |
| 182 | 185 |
| 183 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ | 186 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ |
| OLD | NEW |