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

Unified Diff: ui/message_center/fake_message_center.h

Issue 324583002: The 1st patch to disambiguate message center notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 6 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/cocoa/tray_view_controller.mm ('k') | ui/message_center/fake_message_center.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/fake_message_center.h
diff --git a/ui/message_center/fake_message_center.h b/ui/message_center/fake_message_center.h
index da4051b71ccc50091f8033d47aa7d1f621be9ffb..22273b8c29c767028d4c3beebb7202485cef0af1 100644
--- a/ui/message_center/fake_message_center.h
+++ b/ui/message_center/fake_message_center.h
@@ -26,9 +26,10 @@ class FakeMessageCenter : public MessageCenter {
virtual size_t NotificationCount() const OVERRIDE;
virtual size_t UnreadNotificationCount() const OVERRIDE;
virtual bool HasPopupNotifications() const OVERRIDE;
- virtual bool HasNotification(const std::string& id) OVERRIDE;
virtual bool IsQuietMode() const OVERRIDE;
virtual bool HasClickedListener(const std::string& id) OVERRIDE;
+ virtual message_center::Notification* FindVisibleNotificationById(
+ const std::string& id) OVERRIDE;
virtual const NotificationList::Notifications& GetVisibleNotifications()
OVERRIDE;
virtual NotificationList::PopupNotifications GetPopupNotifications() OVERRIDE;
« no previous file with comments | « ui/message_center/cocoa/tray_view_controller.mm ('k') | ui/message_center/fake_message_center.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698