summaryrefslogtreecommitdiffstats
path: root/views/widget
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 21:35:30 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 21:35:30 +0000
commit99deea6d3b0cf9c93351f247c5b62d3c8dea47da (patch)
tree7ecc4902afb5f5466558ef68d9915fb607fb2e7f /views/widget
parent190be391c2c420310d95eda78b5fce0e00d069bf (diff)
downloadchromium_src-99deea6d3b0cf9c93351f247c5b62d3c8dea47da.zip
chromium_src-99deea6d3b0cf9c93351f247c5b62d3c8dea47da.tar.gz
chromium_src-99deea6d3b0cf9c93351f247c5b62d3c8dea47da.tar.bz2
More theme bits for the NTP and window frame.
BUG=12768,13352 TEST=Verify that a theme with attribution works on the NTP and a theme with an overlay shows up Review URL: http://codereview.chromium.org/119227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r--views/widget/default_theme_provider.cc4
-rw-r--r--views/widget/default_theme_provider.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/views/widget/default_theme_provider.cc b/views/widget/default_theme_provider.cc
index b9b0ddf..e97a713 100644
--- a/views/widget/default_theme_provider.cc
+++ b/views/widget/default_theme_provider.cc
@@ -31,4 +31,8 @@ bool DefaultThemeProvider::ShouldUseNativeFrame() {
return false;
#endif
}
+
+bool DefaultThemeProvider::HasCustomImage(int id) {
+ return false;
+}
} // namespace views
diff --git a/views/widget/default_theme_provider.h b/views/widget/default_theme_provider.h
index f576bc6..2ee7ad3 100644
--- a/views/widget/default_theme_provider.h
+++ b/views/widget/default_theme_provider.h
@@ -22,6 +22,7 @@ class DefaultThemeProvider : public ThemeProvider {
virtual SkColor GetColor(int id);
virtual bool GetDisplayProperty(int id, int* result);
virtual bool ShouldUseNativeFrame();
+ virtual bool HasCustomImage(int id);
private:
DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider);