Chromium Code Reviews| Index: ui/base/theme_provider.h |
| diff --git a/ui/base/theme_provider.h b/ui/base/theme_provider.h |
| index ce98246b0513140cdc2157f419af8e6de7c264c6..a8755752d48f3a3d00bf776cf50181aa05658f62 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; |
|
sky
2016/06/24 22:24:16
This name is pretty generic. Should it be more spe
Evan Stade
2016/06/27 14:56:59
GetTintForInternalIcons only makes sense when the
|
| + |
| // 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; |