Index: views/widget/default_theme_provider.cc |
diff --git a/views/widget/default_theme_provider.cc b/views/widget/default_theme_provider.cc |
index 8a03bab257ce813dc869754704857658265dfcaf..7d2dfec26cfa32acf23aaffd96159434f98363d4 100644 |
--- a/views/widget/default_theme_provider.cc |
+++ b/views/widget/default_theme_provider.cc |
@@ -12,10 +12,25 @@ |
namespace views { |
+DefaultThemeProvider::DefaultThemeProvider() {} |
+ |
+DefaultThemeProvider::~DefaultThemeProvider() {} |
+ |
+void DefaultThemeProvider::Init(Profile* profile) {} |
+ |
SkBitmap* DefaultThemeProvider::GetBitmapNamed(int id) const { |
return ResourceBundle::GetSharedInstance().GetBitmapNamed(id); |
} |
+SkColor DefaultThemeProvider::GetColor(int id) const { |
+ // Return debugging-blue. |
+ return 0xff0000ff; |
+} |
+ |
+bool DefaultThemeProvider::GetDisplayProperty(int id, int* result) const { |
+ return false; |
+} |
+ |
bool DefaultThemeProvider::ShouldUseNativeFrame() const { |
#if defined(OS_WIN) |
return WidgetWin::IsAeroGlassEnabled(); |
@@ -24,4 +39,12 @@ bool DefaultThemeProvider::ShouldUseNativeFrame() const { |
#endif |
} |
+bool DefaultThemeProvider::HasCustomImage(int id) const { |
+ return false; |
+} |
+ |
+RefCountedMemory* DefaultThemeProvider::GetRawData(int id) const { |
+ return NULL; |
+} |
+ |
} // namespace views |