| Index: ui/base/theme_provider.h
|
| diff --git a/ui/base/theme_provider.h b/ui/base/theme_provider.h
|
| index 82037d7026d11aef2acb150801a752f9f2c12389..4aec13de05facc69c625ac59f8ad92bb06a823ff 100644
|
| --- a/ui/base/theme_provider.h
|
| +++ b/ui/base/theme_provider.h
|
| @@ -31,6 +31,10 @@ namespace base {
|
| class RefCountedMemory;
|
| }
|
|
|
| +namespace gfx {
|
| +class ImageSkia;
|
| +}
|
| +
|
| namespace ui {
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
| @@ -48,8 +52,14 @@ class UI_EXPORT ThemeProvider {
|
|
|
| // Get the bitmap specified by |id|. An implementation of ThemeProvider should
|
| // have its own source of ids (e.g. an enum, or external resource bundle).
|
| + // TODO(pkotwicz): Get rid of GetBitmapNamed once all code uses
|
| + // GetImageSkiaNamed.
|
| virtual SkBitmap* GetBitmapNamed(int id) const = 0;
|
|
|
| + // Get the image specified by |id|. An implementation of ThemeProvider should
|
| + // have its own source of ids (e.g. an enum, or external resource bundle).
|
| + virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const = 0;
|
| +
|
| // Get the color specified by |id|.
|
| virtual SkColor GetColor(int id) const = 0;
|
|
|
|
|