Index: chrome/browser/themes/theme_service.h |
diff --git a/chrome/browser/themes/theme_service.h b/chrome/browser/themes/theme_service.h |
index 2534f71d680c2ada6f3b85fe0be11d9717d34bfe..a6c01c48455adee1fd34795ca65e0ceca4f7f304 100644 |
--- a/chrome/browser/themes/theme_service.h |
+++ b/chrome/browser/themes/theme_service.h |
@@ -28,6 +28,10 @@ namespace color_utils { |
struct HSL; |
} |
+namespace gfx { |
+class Image; |
+} |
+ |
namespace ui { |
class ResourceBundle; |
} |
@@ -140,6 +144,13 @@ class ThemeService : public base::NonThreadSafe, |
REPEAT = 3 |
} Tiling; |
+ // Returns a cross platform image for an id. |
+ // |
+ // TODO(erg): Make this a virtual, exposed through ui::ThemeProvider and the |
+ // main way to get theme properties out of the theme provider since it's |
+ // cross platform. |
+ const gfx::Image* GetImageNamed(int id) const; |
+ |
// ui::ThemeProvider implementation. |
virtual void Init(Profile* profile) OVERRIDE; |
virtual SkBitmap* GetBitmapNamed(int id) const OVERRIDE; |