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

Unified Diff: ui/message_center/message_center_observer.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 | « ui/message_center/message_center_impl.cc ('k') | ui/message_center/message_center_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_observer.h
diff --git a/ui/message_center/message_center_observer.h b/ui/message_center/message_center_observer.h
index da7da21fcb47ccae3974c9811eaefaee464f4c3a..b300db571271e30958682410075ff796ca427c9b 100644
--- a/ui/message_center/message_center_observer.h
+++ b/ui/message_center/message_center_observer.h
@@ -8,6 +8,7 @@
#include <string>
#include "ui/message_center/message_center_export.h"
+#include "ui/message_center/message_center_types.h"
namespace message_center {
@@ -42,9 +43,8 @@ class MESSAGE_CENTER_EXPORT MessageCenterObserver {
// displayed.
virtual void OnNotificationDisplayed(const std::string& notification_id) {}
- // Called when the notification list is no longer being displayed as a
- // notification center.
- virtual void OnNotificationCenterClosed() {}
+ // Called when the notification center is shown or hidden.
+ virtual void OnCenterVisibilityChanged(Visibility visibility) {}
// Called whenever the quiet mode changes as a result of user action or when
// quiet mode expires.
« no previous file with comments | « ui/message_center/message_center_impl.cc ('k') | ui/message_center/message_center_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698