Index: ui/base/theme_provider.h |
diff --git a/ui/base/theme_provider.h b/ui/base/theme_provider.h |
index fb10db6f37e6f1734954fdc49422dc6df5123297..ba9017a671d312083711bfca02b79236d9745192 100644 |
--- a/ui/base/theme_provider.h |
+++ b/ui/base/theme_provider.h |
@@ -28,6 +28,10 @@ namespace base { |
class RefCountedMemory; |
} |
+namespace color_utils { |
+struct HSL; |
+} |
+ |
namespace gfx { |
class ImageSkia; |
} |
@@ -54,6 +58,9 @@ class UI_BASE_EXPORT ThemeProvider { |
// Get the color specified by |id|. |
virtual SkColor GetColor(int id) const = 0; |
+ // Get the HSL shift specified by |id|. |
+ virtual color_utils::HSL GetTint(int id) const = 0; |
+ |
// Get the property (e.g. an alignment expressed in an enum, or a width or |
// height) specified by |id|. |
virtual int GetDisplayProperty(int id) const = 0; |