summaryrefslogtreecommitdiffstats
path: root/app/theme_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/theme_provider.h')
-rw-r--r--app/theme_provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/theme_provider.h b/app/theme_provider.h
index 5dddd99..ef19724 100644
--- a/app/theme_provider.h
+++ b/app/theme_provider.h
@@ -20,6 +20,7 @@ class NSImage;
#endif // __OBJC__
#endif // OS_*
+class Profile;
class SkBitmap;
////////////////////////////////////////////////////////////////////////////////
@@ -35,6 +36,9 @@ class ThemeProvider {
public:
virtual ~ThemeProvider();
+ // Initialize the provider with the passed in profile.
+ virtual void Init(Profile* profile) = 0;
+
// 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).
virtual SkBitmap* GetBitmapNamed(int id) = 0;