Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: ash/system/tray/tray_views.cc

Issue 10566003: ash: Fix arrow color for the uber-tray popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/tray_bubble_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_views.cc
diff --git a/ash/system/tray/tray_views.cc b/ash/system/tray/tray_views.cc
index 818df98cc17dc4ecd74e917757d1da1ad3af8f23..0e99b15fd1257f203c6754cfeae0fa6837cb79b1 100644
--- a/ash/system/tray/tray_views.cc
+++ b/ash/system/tray/tray_views.cc
@@ -424,10 +424,12 @@ void TrayPopupHeaderButton::StateChanged() {
SpecialPopupRow::SpecialPopupRow()
: content_(NULL),
button_container_(NULL) {
- set_background(views::Background::CreateBackgroundPainter(true,
- views::Painter::CreateVerticalGradient(
+ views::Background* background = views::Background::CreateBackgroundPainter(
+ true, views::Painter::CreateVerticalGradient(
kHeaderBackgroundColorLight,
- kHeaderBackgroundColorDark)));
+ kHeaderBackgroundColorDark));
jennyz 2012/06/15 17:51:39 line 429 -430: Should have 2 more leading space fo
sadrul 2012/06/15 17:56:22 Done.
+ background->SetNativeControlColor(kHeaderBackgroundColorDark);
+ set_background(background);
set_border(new SpecialPopupRowBorder);
SetLayoutManager(
new views::BoxLayout(views::BoxLayout::kHorizontal, 0, 0, 0));
« no previous file with comments | « ash/system/tray/tray_bubble_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698