Index: ui/message_center/message_center.h |
diff --git a/ui/message_center/message_center.h b/ui/message_center/message_center.h |
index 6ad648afbf45bb93727f9c2eb5a1b6af58faf928..b747f2a1ae96a84ca56d12f8c66e433ef3ec962c 100644 |
--- a/ui/message_center/message_center.h |
+++ b/ui/message_center/message_center.h |
@@ -127,6 +127,12 @@ class MESSAGE_CENTER_EXPORT MessageCenter { |
// notify observers that the notification is visible. |
virtual void DisplayedNotification(const std::string& id) = 0; |
+ // This should be called by UI classes when a notification is popped up |
+ // to the user, in order to decrement the unread_count for the tray, and to |
+ // notify observers that the notification is popped up. |
+ // This behavior is a superset of DisplayNotification behavior. |
+ virtual void PoppedUpNotification(const std::string& id) = 0; |
+ |
// Setter/getter of notifier settings provider. This will be a weak reference. |
// This should be set at the initialization process. The getter may return |
// NULL for tests. |