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

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

Issue 2729533002: Adjust behavior of control buttons of notifications. (Closed)
Patch Set: Add unimplemented method to TestContentViewDelegate Created 3 years, 10 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
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 e340ca3f840f5e1e225aefefae0ccef5e6a662be..3045bfd29e42250960c0d2a5d4985d9b6a31aa95 100644
--- a/ui/message_center/views/message_center_bubble.cc
+++ b/ui/message_center/views/message_center_bubble.cc
@@ -97,6 +97,7 @@ void MessageCenterBubble::InitializeContents(
message_center_view_ = new MessageCenterView(
message_center(), tray(), max_height(), initially_settings_visible_);
bubble_view()->AddChildView(new ContentsView(this, message_center_view_));
+ message_center_view_->Init();
// Resize the content of the bubble view to the given bubble size. This is
// necessary in case of the bubble border forcing a bigger size then the
// |new_bubble_view| actually wants. See crbug.com/169390.
« no previous file with comments | « ui/message_center/views/custom_notification_view_unittest.cc ('k') | ui/message_center/views/message_center_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698