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

Unified Diff: ui/message_center/notification_list.h

Issue 1986493002: Show message center on lock screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/notification_list.h
diff --git a/ui/message_center/notification_list.h b/ui/message_center/notification_list.h
index 6b30a2ebbf73ae78803c68d1e15047e911ece57e..0b68f76139bf35710f51f249d17264ccf749ada4 100644
--- a/ui/message_center/notification_list.h
+++ b/ui/message_center/notification_list.h
@@ -59,11 +59,12 @@ class MESSAGE_CENTER_EXPORT NotificationList {
explicit NotificationList();
virtual ~NotificationList();
- // Affects whether or not a message has been "read". Collects the set of
- // ids whose state have changed and set to |udpated_ids|. NULL if updated
- // ids don't matter.
- void SetMessageCenterVisible(bool visible,
- std::set<std::string>* updated_ids);
+ void SetMessageCenterVisible(bool visible);
dewittj 2016/05/19 17:34:03 please add comment about what this does
yoshiki 2016/05/24 17:00:14 Removed this method.
+
+ // Makes a message "read". Collects the set of ids whose state have changed
+ // and set to |udpated_ids|. NULL if updated ids don't matter.
+ void SetNotificationsShown(const NotificationBlockers& blockers,
+ std::set<std::string>* updated_ids);
void AddNotification(std::unique_ptr<Notification> notification);

Powered by Google App Engine
This is Rietveld 408576698