summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_theme_provider.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 20:50:37 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 20:50:37 +0000
commitae6a8a53c05e77c9c77d4d608915844b6d73593e (patch)
treeef74571c257f69cf4faa81b51a16c34fc792cba4 /chrome/browser/browser_theme_provider.h
parentc0478b0985b9893601125a88a32a648656a75948 (diff)
downloadchromium_src-ae6a8a53c05e77c9c77d4d608915844b6d73593e.zip
chromium_src-ae6a8a53c05e77c9c77d4d608915844b6d73593e.tar.gz
chromium_src-ae6a8a53c05e77c9c77d4d608915844b6d73593e.tar.bz2
GTK Themes: Fix linux UI frame regression introduced in r24170.
Review URL: http://codereview.chromium.org/173389 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24310 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider.h')
-rw-r--r--chrome/browser/browser_theme_provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h
index 6d81937..068509b 100644
--- a/chrome/browser/browser_theme_provider.h
+++ b/chrome/browser/browser_theme_provider.h
@@ -237,6 +237,10 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>,
Profile* profile() { return profile_; }
+ // Subclasses may need us to not use the on-disk image cache. The GTK
+ // interface needs to generate some images itself.
+ void force_process_images() { process_images_ = true; }
+
private:
typedef std::map<const int, std::string> ImageMap;
typedef std::map<const std::string, SkColor> ColorMap;