summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_theme_provider.h
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 00:50:00 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 00:50:00 +0000
commit3d72bfa532fd8c1e84ef5fc50f699990bb2c77a5 (patch)
tree186449a05ee5862e6a9a251896714cd8190d890a /chrome/browser/browser_theme_provider.h
parent110a4e7b14519e6b3771dd9c0501618ed45fc837 (diff)
downloadchromium_src-3d72bfa532fd8c1e84ef5fc50f699990bb2c77a5.zip
chromium_src-3d72bfa532fd8c1e84ef5fc50f699990bb2c77a5.tar.gz
chromium_src-3d72bfa532fd8c1e84ef5fc50f699990bb2c77a5.tar.bz2
Fix theme caching on Vista 64 when default theme is installed from the theme gallery.
BUG= http://crbug.com/20344 TEST= On vista 64 , install a non-default theme. Open theme gallery and choose "Classic" theme. Close browser and restart. Theme should be default aero theme on Vista, and not the opaque blue windows theme. Review URL: http://codereview.chromium.org/174562 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24709 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider.h')
-rw-r--r--chrome/browser/browser_theme_provider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h
index fb8a645..c37507f 100644
--- a/chrome/browser/browser_theme_provider.h
+++ b/chrome/browser/browser_theme_provider.h
@@ -312,6 +312,9 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>,
// Encode image at image_cache_[id] as PNG and write to disk.
void WriteImagesToDisk();
+ // Do we have a custom frame image or custom tints?
+ bool ShouldTintFrames();
+
#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
// Loads an image and flips it horizontally if |rtl_enabled| is true.
GdkPixbuf* GetPixbufImpl(int id, bool rtl_enabled);