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

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

Issue 1961813002: Show no-notification message in the bottom label of message center (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reused the existing string Created 4 years, 7 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 | « ui/message_center/views/message_center_view.cc ('k') | ui/strings/ui_strings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_center_view_unittest.cc
diff --git a/ui/message_center/views/message_center_view_unittest.cc b/ui/message_center/views/message_center_view_unittest.cc
index 27883ae9fbce79faa9208a4ca8b205d0cc2ecfd9..d76036959238873fb7858771a7f7b33017b81c03 100644
--- a/ui/message_center/views/message_center_view_unittest.cc
+++ b/ui/message_center/views/message_center_view_unittest.cc
@@ -198,9 +198,8 @@ void MessageCenterViewTest::SetUp() {
message_center_->SetVisibleNotifications(notifications_);
// Then create a new MessageCenterView with that single notification.
- base::string16 title;
message_center_view_.reset(new MessageCenterView(
- message_center_.get(), NULL, 100, false, /*top_down =*/false, title));
+ message_center_.get(), NULL, 100, false, /*top_down =*/false));
GetMessageListView()->quit_message_loop_after_animation_for_test_ = true;
GetMessageCenterView()->SetBounds(0, 0, 380, 600);
message_center_view_->SetNotifications(notifications_);
« no previous file with comments | « ui/message_center/views/message_center_view.cc ('k') | ui/strings/ui_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698