diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-27 01:57:06 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-27 01:57:06 +0000 |
commit | aa101967206133025370eae0b55fb6c8a530ba38 (patch) | |
tree | f951de5675d3b92d3bce40ac8cc486165ca8e269 /ash | |
parent | ac81900d20d230ffd31fc262b3b3298f55084494 (diff) | |
download | chromium_src-aa101967206133025370eae0b55fb6c8a530ba38.zip chromium_src-aa101967206133025370eae0b55fb6c8a530ba38.tar.gz chromium_src-aa101967206133025370eae0b55fb6c8a530ba38.tar.bz2 |
ash: Draw shadows for text in uber tray.
This adds drop shadows to the labels in the system tray
(e.g. clock and input method).
BUG=120172
TEST=manual: see screenshot in bug
Review URL: https://chromiumcodereview.appspot.com/9773041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r-- | ash/system/tray/tray_views.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/system/tray/tray_views.cc b/ash/system/tray/tray_views.cc index 2983f66..2cba6ea 100644 --- a/ash/system/tray/tray_views.cc +++ b/ash/system/tray/tray_views.cc @@ -184,6 +184,9 @@ void SetupLabelForTray(views::Label* label) { label->SetAutoColorReadabilityEnabled(false); label->SetEnabledColor(SK_ColorWHITE); label->SetBackgroundColor(SkColorSetARGB(0, 255, 255, 255)); + label->SetShadowColors(SkColorSetARGB(64, 0, 0, 0), + SkColorSetARGB(64, 0, 0, 0)); + label->SetShadowOffset(0, 1); } } // namespace internal |