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

Unified Diff: ui/message_center/message_center.h

Issue 12326091: Made notification center notifications collapsed and expandable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, which led to many changes. 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/message_center.h
diff --git a/ui/message_center/message_center.h b/ui/message_center/message_center.h
index 7cc49daa96344396bfcc59e742d36e94dcb0d252..6dd453260a4df0a275ceb4f098cd684f7a347d0f 100644
--- a/ui/message_center/message_center.h
+++ b/ui/message_center/message_center.h
@@ -139,7 +139,7 @@ class MESSAGE_CENTER_EXPORT MessageCenter : public NotificationList::Delegate {
NotificationList* notification_list() { return notification_list_.get(); }
bool quiet_mode() const { return notification_list_->quiet_mode(); }
- // Overridden from NotificationList::Delegate.
+ // Overridden from NotificationList::Delegate:
virtual void SendRemoveNotification(const std::string& id,
bool by_user) OVERRIDE;
virtual void SendRemoveAllNotifications(bool by_user) OVERRIDE;
@@ -148,10 +148,10 @@ class MESSAGE_CENTER_EXPORT MessageCenter : public NotificationList::Delegate {
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 OnQuietModeChanged(bool quiet_mode) OVERRIDE;
virtual void OnButtonClicked(const std::string& id, int button_index)
OVERRIDE;
- virtual NotificationList* GetNotificationList() OVERRIDE;
+ virtual void OnExpand(const std::string& id) OVERRIDE;
+ virtual void OnQuietModeChanged(bool quiet_mode) OVERRIDE;
dharcourt 2013/03/01 10:17:31 GetNotificationList() was removed from MessageCent
private:
// Calls OnMessageCenterChanged on each observer.

Powered by Google App Engine
This is Rietveld 408576698