summaryrefslogtreecommitdiffstats
path: root/ui/gfx/native_theme_base.h
diff options
context:
space:
mode:
authorbenrg@chromium.org <benrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 01:00:16 +0000
committerbenrg@chromium.org <benrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 01:00:16 +0000
commit9040db835a0784877594e08ed8cb634375159a2c (patch)
treea706981f5072794de292432d29d4f645553ba913 /ui/gfx/native_theme_base.h
parent093ce5d981b409eeb023c7927fd5110bac4ae755 (diff)
downloadchromium_src-9040db835a0784877594e08ed8cb634375159a2c.zip
chromium_src-9040db835a0784877594e08ed8cb634375159a2c.tar.gz
chromium_src-9040db835a0784877594e08ed8cb634375159a2c.tar.bz2
Add a new GetSystemColor method to native theme.
Currently it only knows about the dialog box background color. The intent is to add other colors, such as the text highlighting color (issue 100229). This CL also fixes issue 104229 by returning an opaque color on Aura. BUG=104229 TEST=none Review URL: http://codereview.chromium.org/8597015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/native_theme_base.h')
-rw-r--r--ui/gfx/native_theme_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gfx/native_theme_base.h b/ui/gfx/native_theme_base.h
index 6488e68..3e0850b 100644
--- a/ui/gfx/native_theme_base.h
+++ b/ui/gfx/native_theme_base.h
@@ -26,6 +26,7 @@ class NativeThemeBase : public NativeTheme {
State state,
const gfx::Rect& rect,
const ExtraParams& extra) const OVERRIDE;
+ virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
protected:
NativeThemeBase();