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-11-20 19:31:38 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-20 19:31:38 +0000
commitd45815ff63c9ef016bc52123985c7f64e5ea745e (patch)
treed5a4a9b5c10c00f997a19d94b6b7fffc3e36a72a /chrome/browser/browser_theme_provider.h
parent32cd530b9d6dbcfc7fe37ab7fd03e7db55868778 (diff)
downloadchromium_src-d45815ff63c9ef016bc52123985c7f64e5ea745e.zip
chromium_src-d45815ff63c9ef016bc52123985c7f64e5ea745e.tar.gz
chromium_src-d45815ff63c9ef016bc52123985c7f64e5ea745e.tar.bz2
- Start adding unit tests for the BrowserThemeProvider rewrite.
- Fix overflow error in colors. BUG=21121 Review URL: http://codereview.chromium.org/414041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32643 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 af11285..228cf53 100644
--- a/chrome/browser/browser_theme_provider.h
+++ b/chrome/browser/browser_theme_provider.h
@@ -21,6 +21,7 @@ class Extension;
class Profile;
class DictionaryValue;
class PrefService;
+class BrowserThemeProviderTest;
class BrowserThemeProvider : public NonThreadSafe,
public ThemeProvider {
@@ -273,6 +274,8 @@ class BrowserThemeProvider : public NonThreadSafe,
void force_process_images() { process_images_ = true; }
private:
+ friend class BrowserThemeProviderTest;
+
typedef std::map<const int, std::string> ImageMap;
typedef std::map<const std::string, SkColor> ColorMap;
typedef std::map<const std::string, color_utils::HSL> TintMap;