| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 static const std::set<int>& GetTintableToolbarButtons(); | 147 static const std::set<int>& GetTintableToolbarButtons(); |
| 148 | 148 |
| 149 // Returns the default tint for the given tint |id| TINT_* enum value. | 149 // Returns the default tint for the given tint |id| TINT_* enum value. |
| 150 // Returns an HSL value of {-1, -1, -1} if |id| is invalid. | 150 // Returns an HSL value of {-1, -1, -1} if |id| is invalid. |
| 151 static color_utils::HSL GetDefaultTint(int id); | 151 static color_utils::HSL GetDefaultTint(int id); |
| 152 | 152 |
| 153 // Returns the default color for the given color |id| COLOR_* enum value. | 153 // Returns the default color for the given color |id| COLOR_* enum value. |
| 154 // Returns gfx::kPlaceholderColor if |id| is invalid. | 154 // Returns gfx::kPlaceholderColor if |id| is invalid. |
| 155 static SkColor GetDefaultColor(int id); | 155 static SkColor GetDefaultColor(int id); |
| 156 | 156 |
| 157 // As above, but takes incognito status into account. |
| 158 // TODO(estade): remove the above in favor of this one. |
| 159 static SkColor GetDefaultColor(int id, bool otr); |
| 160 |
| 157 private: | 161 private: |
| 158 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); | 162 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); |
| 159 }; | 163 }; |
| 160 | 164 |
| 161 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ | 165 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ |
| OLD | NEW |