diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 17:38:28 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 17:38:28 +0000 |
commit | d626574fa210139585bb2b76a87edfe1b25d0e38 (patch) | |
tree | 5259ef60ec8120fc5ba80c2b9c60d186804244e4 /chrome/browser/browser_theme_provider.h | |
parent | f741e936aaf0f554c8ec3539c59265d8a0fe67b3 (diff) | |
download | chromium_src-d626574fa210139585bb2b76a87edfe1b25d0e38.zip chromium_src-d626574fa210139585bb2b76a87edfe1b25d0e38.tar.gz chromium_src-d626574fa210139585bb2b76a87edfe1b25d0e38.tar.bz2 |
GTK: Fix regression where we don't build tinted buttons in GTK theme mode.
(Caused by my r34486)
TEST=Use GTK+ mode. page/app menu button should have same tint as title bar.
BUG=NONE
Review URL: http://codereview.chromium.org/507002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider.h')
-rw-r--r-- | chrome/browser/browser_theme_provider.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h index 62736b4..e6275d6 100644 --- a/chrome/browser/browser_theme_provider.h +++ b/chrome/browser/browser_theme_provider.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_BROWSER_THEME_PROVIDER_H_ #include <map> +#include <set> #include <string> #include <vector> @@ -153,6 +154,9 @@ class BrowserThemeProvider : public NonThreadSafe, // is valid. static bool GetDefaultDisplayProperty(int id, int* result); + // Returns the set of IDR_* resources that should be tinted. + static const std::set<int>& GetTintableToolbarButtons(); + // Save the images to be written to disk, mapping file path to id. typedef std::map<FilePath, int> ImagesDiskCache; |