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

Unified Diff: ui/message_center/views/message_center_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_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 e038a8d5854c25ff69d67abf4930194ec06680e5..36a8302487b8897d1f5ea7e8b3d74430308f474a 100644
--- a/ui/message_center/views/message_center_view_unittest.cc
+++ b/ui/message_center/views/message_center_view_unittest.cc
@@ -156,6 +156,7 @@ class MessageCenterViewTest : 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;
// Overridden from MockNotificationView::Test
void RegisterCall(CallType type) override;
@@ -353,6 +354,12 @@ void MessageCenterViewTest::ClickOnSettingsButton(
NOTREACHED();
}
+void MessageCenterViewTest::UpdateNotificationSize(
+ const std::string& notification_id) {
+ // For this test, this method should not be invoked.
+ NOTREACHED();
+}
+
void MessageCenterViewTest::RegisterCall(CallType type) {
callCounts_[type] += 1;
}
« no previous file with comments | « ui/message_center/views/message_center_view.cc ('k') | ui/message_center/views/message_list_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698