diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 20:54:48 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 20:54:48 +0000 |
commit | 96c2e8ec18feb0766c22acfb481a59f0983c572a (patch) | |
tree | 3b1d3f8312d8bdb9bc789bf9859298368021b681 /chrome/browser/browser_theme_provider.h | |
parent | 9520ab113d86539f1deba7d107776f0b8ee72a12 (diff) | |
download | chromium_src-96c2e8ec18feb0766c22acfb481a59f0983c572a.zip chromium_src-96c2e8ec18feb0766c22acfb481a59f0983c572a.tar.gz chromium_src-96c2e8ec18feb0766c22acfb481a59f0983c572a.tar.bz2 |
Reverting 26975.
Review URL: http://codereview.chromium.org/222011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider.h')
-rw-r--r-- | chrome/browser/browser_theme_provider.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h index 0d11a6a..5313cec 100644 --- a/chrome/browser/browser_theme_provider.h +++ b/chrome/browser/browser_theme_provider.h @@ -9,12 +9,12 @@ #include <string> #include <vector> -#include "app/gfx/color_utils.h" #include "app/resource_bundle.h" #include "app/theme_provider.h" #include "base/basictypes.h" #include "base/non_thread_safe.h" #include "base/ref_counted.h" +#include "skia/ext/skia_utils.h" class Extension; class Profile; @@ -93,12 +93,12 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>, static const SkColor kDefaultColorControlBackground; static const SkColor kDefaultColorButtonBackground; - static const color_utils::HSL kDefaultTintButtons; - static const color_utils::HSL kDefaultTintFrame; - static const color_utils::HSL kDefaultTintFrameInactive; - static const color_utils::HSL kDefaultTintFrameIncognito; - static const color_utils::HSL kDefaultTintFrameIncognitoInactive; - static const color_utils::HSL kDefaultTintBackgroundTab; + static const skia::HSL kDefaultTintButtons; + static const skia::HSL kDefaultTintFrame; + static const skia::HSL kDefaultTintFrameInactive; + static const skia::HSL kDefaultTintFrameIncognito; + static const skia::HSL kDefaultTintFrameIncognitoInactive; + static const skia::HSL kDefaultTintBackgroundTab; static const char* kDefaultThemeID; @@ -209,10 +209,10 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>, void SetColor(const char* id, const SkColor& color); // Sets an individual tint value. - void SetTint(const char* id, const color_utils::HSL& tint); + void SetTint(const char* id, const skia::HSL& tint); // Get the specified tint - |id| is one of the TINT_* enum values. - color_utils::HSL GetTint(int id); + skia::HSL GetTint(int id); // Generate any frame colors that weren't specified. void GenerateFrameColors(); @@ -255,7 +255,7 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>, private: 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; + typedef std::map<const std::string, skia::HSL> TintMap; typedef std::map<const std::string, int> DisplayPropertyMap; typedef std::map<const int, std::vector<unsigned char> > RawDataMap; typedef std::map<const int, std::string> ResourceNameMap; @@ -264,7 +264,7 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>, const std::string GetTintKey(int id); // Returns the default tint for the given tint |id| TINT_* enum value. - color_utils::HSL GetDefaultTint(int id); + skia::HSL GetDefaultTint(int id); // Returns the string key for the given color |id| COLOR_* enum value. const std::string GetColorKey(int id); |