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

Unified Diff: ui/message_center/message_center_impl.cc

Issue 14017014: Sends updated event for click on notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add tests Created 7 years, 8 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/message_center_impl.cc
diff --git a/ui/message_center/message_center_impl.cc b/ui/message_center/message_center_impl.cc
index 012d0dfeb4a2aaf101e93812edc0c3a5c3dd3636..8d8b6d2d1b08e331a96abf6edcb39c7dcde7675e 100644
--- a/ui/message_center/message_center_impl.cc
+++ b/ui/message_center/message_center_impl.cc
@@ -212,7 +212,7 @@ void MessageCenterImpl::ExpandNotification(const std::string& id) {
void MessageCenterImpl::ClickOnNotification(const std::string& id) {
if (HasPopupNotifications())
- notification_list_->MarkSinglePopupAsShown(id, true);
+ MarkSinglePopupAsShown(id, true);
FOR_EACH_OBSERVER(MessageCenterObserver, observer_list_,
OnNotificationClicked(id));
}
@@ -220,7 +220,7 @@ void MessageCenterImpl::ClickOnNotification(const std::string& id) {
void MessageCenterImpl::ClickOnNotificationButton(const std::string& id,
int button_index) {
if (HasPopupNotifications())
- notification_list_->MarkSinglePopupAsShown(id, true);
+ MarkSinglePopupAsShown(id, true);
FOR_EACH_OBSERVER(MessageCenterObserver, observer_list_,
OnNotificationButtonClicked(id, button_index));
}
« no previous file with comments | « no previous file | ui/message_center/views/message_popup_collection.h » ('j') | ui/message_center/views/message_popup_collection.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698