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

Unified Diff: chrome/browser/notifications/message_center_notification_manager.h

Issue 23636010: Notifications: Add cross-platform UMA: ShowMessageCenter, ShowSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added the hash to chromeactions.txt Created 7 years, 3 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 | « no previous file | chrome/browser/notifications/message_center_notification_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/message_center_notification_manager.h
diff --git a/chrome/browser/notifications/message_center_notification_manager.h b/chrome/browser/notifications/message_center_notification_manager.h
index cb5dc79022b3e4b320534043645c5ee239fe6ce3..18fcee709a54f6ab992843011b02748756927862 100644
--- a/chrome/browser/notifications/message_center_notification_manager.h
+++ b/chrome/browser/notifications/message_center_notification_manager.h
@@ -21,6 +21,7 @@
#include "ui/message_center/message_center.h"
#include "ui/message_center/message_center_observer.h"
#include "ui/message_center/message_center_tray_delegate.h"
+#include "ui/message_center/message_center_types.h"
class MessageCenterSettingsController;
class Notification;
@@ -31,7 +32,6 @@ class Profile;
// of notifications to MessageCenter, doing necessary conversions.
class MessageCenterNotificationManager
: public NotificationUIManagerImpl,
- public message_center::MessageCenter::Delegate,
public message_center::MessageCenterObserver {
public:
MessageCenterNotificationManager(
@@ -57,13 +57,10 @@ class MessageCenterNotificationManager
virtual bool UpdateNotification(const Notification& notification,
Profile* profile) OVERRIDE;
- // MessageCenter::Delegate
- virtual void ShowSettings(const std::string& notification_id) OVERRIDE;
-
// MessageCenterObserver
virtual void OnNotificationRemoved(const std::string& notification_id,
bool by_user) OVERRIDE;
- virtual void OnNotificationCenterClosed() OVERRIDE;
+ virtual void OnCenterVisibilityChanged(message_center::Visibility) OVERRIDE;
virtual void OnNotificationUpdated(const std::string& notification_id)
OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/notifications/message_center_notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698