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

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: tot-merge 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 0f6e97de0ed0ffb94b93f61e728314b068650e2f..871b1b1524ab352840c56c1a2a6455ce45eb0a12 100644
--- a/ash/system/tray/tray_views.cc
+++ b/ash/system/tray/tray_views.cc
@@ -431,10 +431,11 @@ void TrayPopupHeaderButton::StateChanged() {
SpecialPopupRow::SpecialPopupRow()
: content_(NULL),
button_container_(NULL) {
- set_background(views::Background::CreateBackgroundPainter(true,
- views::Painter::CreateVerticalGradient(
- kHeaderBackgroundColorLight,
- kHeaderBackgroundColorDark)));
+ views::Background* background = views::Background::CreateBackgroundPainter(
+ true, views::Painter::CreateVerticalGradient(kHeaderBackgroundColorLight,
+ kHeaderBackgroundColorDark));
+ 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