summaryrefslogtreecommitdiffstats
path: root/ui/base/theme_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/theme_provider.h')
-rw-r--r--ui/base/theme_provider.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/base/theme_provider.h b/ui/base/theme_provider.h
index a6a5dd9..1a5c9980 100644
--- a/ui/base/theme_provider.h
+++ b/ui/base/theme_provider.h
@@ -25,7 +25,6 @@ typedef struct _GdkColor GdkColor;
typedef struct _GdkPixbuf GdkPixbuf;
#endif // OS_*
-class Profile;
class RefCountedMemory;
class SkBitmap;
@@ -44,10 +43,6 @@ class UI_EXPORT ThemeProvider {
public:
virtual ~ThemeProvider();
- // TODO(beng): This dependency is horrible!
- // 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) const = 0;