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

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

Issue 2685283002: Add UpdateNotificationSize to MessageCenterController. (Closed)
Patch Set: address comments 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_list_view_unittest.cc
diff --git a/ui/message_center/views/message_list_view_unittest.cc b/ui/message_center/views/message_list_view_unittest.cc
index a4dc8b12bd9bcfb8490b55e824ecd25f4d5b0544..730bda1798a2f2049cba92ba1f45bff9e8470695 100644
--- a/ui/message_center/views/message_list_view_unittest.cc
+++ b/ui/message_center/views/message_list_view_unittest.cc
@@ -152,6 +152,7 @@ class MessageListViewTest : public views::ViewsTestBase,
void ClickOnNotificationButton(const std::string& notification_id,
int button_index) override {}
void ClickOnSettingsButton(const std::string& notification_id) override {}
+ void UpdateNotificationSize(const std::string& notification_id) override;
// Widget to host a MessageListView.
std::unique_ptr<views::Widget> widget_;
@@ -161,6 +162,12 @@ class MessageListViewTest : public views::ViewsTestBase,
DISALLOW_COPY_AND_ASSIGN(MessageListViewTest);
};
+void MessageListViewTest::UpdateNotificationSize(
+ const std::string& notification_id) {
+ // For this test, this method should not be invoked.
+ NOTREACHED();
+}
+
/* Unit tests *****************************************************************/
TEST_F(MessageListViewTest, AddNotification) {
« no previous file with comments | « ui/message_center/views/message_center_view_unittest.cc ('k') | ui/message_center/views/message_popup_collection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698