summaryrefslogtreecommitdiffstats
path: root/app/theme_provider.h
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 /app/theme_provider.h
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 '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 70d374b..774810e 100644
--- a/app/theme_provider.h
+++ b/app/theme_provider.h
@@ -42,6 +42,10 @@ class ThemeProvider {
// a custom frame.
virtual bool ShouldUseNativeFrame() = 0;
+ // Whether or not we have a certain image. Used for when the default theme
+ // doesn't provide a certain image, but custom themes might (badges, etc).
+ virtual bool HasCustomImage(int id) = 0;
+
#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
// Gets the GdkPixbuf with the specified |id|. Returns a pointer to a shared
// instance of the GdkPixbuf. This shared GdkPixbuf is owned by the theme