From 3d72bfa532fd8c1e84ef5fc50f699990bb2c77a5 Mon Sep 17 00:00:00 2001 From: "mirandac@chromium.org" Date: Fri, 28 Aug 2009 00:50:00 +0000 Subject: 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 --- chrome/browser/browser_theme_provider.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/browser_theme_provider.h') 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, // 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); -- cgit v1.1