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

Unified Diff: ui/message_center/notification_list_unittest.cc

Issue 12326091: Made notification center notifications collapsed and expandable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implemented review suggestions. Created 7 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/notification_list_unittest.cc
diff --git a/ui/message_center/notification_list_unittest.cc b/ui/message_center/notification_list_unittest.cc
index 4cf791e2ee3670f8f107d8a95048b0e3fc84adac..2c245df431eba2c6e45e27879c65f3445803b6ce 100644
--- a/ui/message_center/notification_list_unittest.cc
+++ b/ui/message_center/notification_list_unittest.cc
@@ -27,42 +27,18 @@ class MockNotificationListDelegate : public NotificationList::Delegate {
}
private:
- // NotificationList::Delegate overrides:
- virtual void SendRemoveNotification(const std::string& id,
+ // Overridden from NotificationList::Delegate:
+ virtual void NotificationWasRemoved(const std::string& id,
bool by_user) OVERRIDE {
send_remove_count_++;
}
- virtual void SendRemoveAllNotifications(bool by_user) OVERRIDE {
- }
-
- virtual void DisableNotificationByExtension(const std::string& id) OVERRIDE {
- }
-
- virtual void DisableNotificationByUrl(const std::string& id) OVERRIDE {
- }
-
- virtual void ShowNotificationSettings(const std::string& id) OVERRIDE {
- }
-
- virtual void ShowNotificationSettingsDialog(
- gfx::NativeView context) OVERRIDE {
- }
-
- virtual void OnNotificationClicked(const std::string& id) OVERRIDE {
+ virtual void AllNotificationsWereRemoved(bool by_user) OVERRIDE {
}
virtual void OnQuietModeChanged(bool quiet_mode) OVERRIDE {
}
- virtual void OnButtonClicked(const std::string& id,
- int button_index) OVERRIDE {
- }
-
- virtual NotificationList* GetNotificationList() OVERRIDE {
- return NULL;
- }
-
size_t send_remove_count_;
DISALLOW_COPY_AND_ASSIGN(MockNotificationListDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698