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 21:02:28 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 21:02:28 +0000
commit2d4105beedcf58301fdd7c526f92c1b6140dc0a1 (patch)
tree1847fb3a7efd21e2737c60d67be092d92191350a /chrome/browser/browser_theme_provider.h
parent0036e3f4c3dfe1c5c553e3697e95e2f27dab81ce (diff)
downloadchromium_src-2d4105beedcf58301fdd7c526f92c1b6140dc0a1.zip
chromium_src-2d4105beedcf58301fdd7c526f92c1b6140dc0a1.tar.gz
chromium_src-2d4105beedcf58301fdd7c526f92c1b6140dc0a1.tar.bz2
GTK Themes: Create an inactive tab text color based on the inactive tab.
(We were previously just grabbing a raw GTK color, which didn't work out very well in themes like High Contrast Inverse...) Review URL: http://codereview.chromium.org/174407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider.h')
-rw-r--r--chrome/browser/browser_theme_provider.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h
index 068509b..fb8a645 100644
--- a/chrome/browser/browser_theme_provider.h
+++ b/chrome/browser/browser_theme_provider.h
@@ -207,6 +207,9 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>,
// Sets an individual tint value.
void SetTint(const char* id, const skia::HSL& tint);
+ // Get the specified tint - |id| is one of the TINT_* enum values.
+ skia::HSL GetTint(int id);
+
// Generate any frame colors that weren't specified.
void GenerateFrameColors();
@@ -261,9 +264,6 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>,
// Returns the default color for the given color |id| COLOR_* enum value.
SkColor GetDefaultColor(int id);
- // Get the specified tint - |id| is one of the TINT_* enum values.
- skia::HSL GetTint(int id);
-
// Tint |bitmap| with the tint specified by |hsl_id|
SkBitmap TintBitmap(const SkBitmap& bitmap, int hsl_id);