From 99deea6d3b0cf9c93351f247c5b62d3c8dea47da Mon Sep 17 00:00:00 2001 From: "glen@chromium.org" Date: Fri, 5 Jun 2009 21:35:30 +0000 Subject: 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 --- app/theme_provider.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app') 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 -- cgit v1.1