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

Unified Diff: ui/message_center/views/message_center_bubble.cc

Issue 2491033006: Adjust positioning of cros tray bubbles. (Closed)
Patch Set: rebase and update bug link Created 4 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
Index: ui/message_center/views/message_center_bubble.cc
diff --git a/ui/message_center/views/message_center_bubble.cc b/ui/message_center/views/message_center_bubble.cc
index d922c78f7926705fa47148da1397c02c70cba959..c135b2178a872855a18f096db99fec54fa13aabc 100644
--- a/ui/message_center/views/message_center_bubble.cc
+++ b/ui/message_center/views/message_center_bubble.cc
@@ -60,12 +60,10 @@ void ContentsView::ChildPreferredSizeChanged(View* child) {
// MessageCenterBubble /////////////////////////////////////////////////////////
MessageCenterBubble::MessageCenterBubble(MessageCenter* message_center,
- MessageCenterTray* tray,
- bool first_item_has_no_margin)
+ MessageCenterTray* tray)
: MessageBubbleBase(message_center, tray),
message_center_view_(NULL),
- initially_settings_visible_(false),
- first_item_has_no_margin_(first_item_has_no_margin) {}
+ initially_settings_visible_(false) {}
MessageCenterBubble::~MessageCenterBubble() {
// Removs this from the widget observers just in case. MessageCenterBubble
@@ -89,7 +87,6 @@ views::TrayBubbleView::InitParams MessageCenterBubble::GetInitParams(
init_params.max_width += kMarginBetweenItems * 2;
init_params.max_height = max_height();
init_params.can_activate = true;
- init_params.first_item_has_no_margin = first_item_has_no_margin_;
return init_params;
}

Powered by Google App Engine
This is Rietveld 408576698