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

Unified Diff: ui/message_center/views/notification_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
« no previous file with comments | « ui/message_center/views/message_popup_collection.cc ('k') | ui/message_center/views/toast_contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_view_unittest.cc
diff --git a/ui/message_center/views/notification_view_unittest.cc b/ui/message_center/views/notification_view_unittest.cc
index 930ccc094f1f40a14ef0b9b25133b49cf8db755e..5264eaa2000acc6951942667238987ffbccedaaa 100644
--- a/ui/message_center/views/notification_view_unittest.cc
+++ b/ui/message_center/views/notification_view_unittest.cc
@@ -94,6 +94,7 @@ class NotificationViewTest : 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;
protected:
// Used to fill bitmaps returned by CreateBitmap().
@@ -285,6 +286,12 @@ void NotificationViewTest::ClickOnSettingsButton(
NOTREACHED();
}
+void NotificationViewTest::UpdateNotificationSize(
+ const std::string& notification_id) {
+ // For this test, this method should not be invoked.
+ NOTREACHED();
+}
+
/* Unit tests *****************************************************************/
TEST_F(NotificationViewTest, CreateOrUpdateTest) {
« no previous file with comments | « ui/message_center/views/message_popup_collection.cc ('k') | ui/message_center/views/toast_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698