summaryrefslogtreecommitdiffstats
path: root/ui/views/background.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 20:43:47 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 20:43:47 +0000
commit478557d77190d9189f109c24b439b958a3577500 (patch)
treed94edbf000de9d2931e69a61a9e275d41b1b67d5 /ui/views/background.cc
parenta9c060ca3ef4c5834955e94fe65bca94fb47c6a6 (diff)
downloadchromium_src-478557d77190d9189f109c24b439b958a3577500.zip
chromium_src-478557d77190d9189f109c24b439b958a3577500.tar.gz
chromium_src-478557d77190d9189f109c24b439b958a3577500.tar.bz2
Make tabs in Aura look better.
http://crbug.com/109140 TEST=none Review URL: http://codereview.chromium.org/9107001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/background.cc')
-rw-r--r--ui/views/background.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/views/background.cc b/ui/views/background.cc
index c606842..d48c423 100644
--- a/ui/views/background.cc
+++ b/ui/views/background.cc
@@ -94,8 +94,13 @@ Background* Background::CreateSolidBackground(const SkColor& color) {
//static
Background* Background::CreateStandardPanelBackground() {
+ // TODO(beng): Should be in NativeTheme.
+#if defined(USE_AURA)
+ return CreateSolidBackground(SK_ColorWHITE);
+#else
return CreateVerticalGradientBackground(SkColorSetRGB(246, 250, 255),
SkColorSetRGB(219, 235, 255));
+#endif
}
//static