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

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

Issue 11293124: Remove top and bottom margins from TrayBubbleView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made TrayBubbleView aura-only, removed #ifdefs. Created 8 years, 1 month 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 | « no previous file | ui/message_center/message_bubble_base.cc » ('j') | ui/views/views.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index e7d838506923e062ca98f616c2077a915c7d4f06..f4ef8808ca53fdc6232e3e6a6053796c3ca8f59f 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -412,10 +412,8 @@ void SystemTray::ShowItems(const std::vector<SystemTrayItem*>& items,
// This is the case where a volume control or brightness control bubble
// is created.
init_params.max_height = default_bubble_height_;
- init_params.top_color = kBackgroundColor;
init_params.arrow_color = kBackgroundColor;
} else {
- init_params.top_color = kBackgroundColor;
init_params.arrow_color = kHeaderBackgroundColorDark;
}
init_params.arrow_offset = arrow_offset;
@@ -480,7 +478,6 @@ void SystemTray::UpdateNotificationBubble() {
TrayBubbleView::InitParams init_params(anchor_type,
GetAnchorAlignment(),
kTrayPopupWidth);
- init_params.top_color = kBackgroundColor;
init_params.arrow_color = kBackgroundColor;
init_params.arrow_offset = GetTrayXOffset(notification_items_[0]);
notification_bubble_.reset(
« no previous file with comments | « no previous file | ui/message_center/message_bubble_base.cc » ('j') | ui/views/views.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698