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

Unified Diff: ui/message_center/message_center_impl.cc

Issue 264123002: Google Now Message Center Stats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename Created 6 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
« no previous file with comments | « ui/message_center/message_center_impl.h ('k') | ui/message_center/message_center_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4885aa706eefb590b21aa5118037361614f9f09f..c45cb94987954d2570eaebffeb22422a8ee7aec7 100644
--- a/ui/message_center/message_center_impl.cc
+++ b/ui/message_center/message_center_impl.cc
@@ -354,7 +354,9 @@ void PopupTimersController::TimerFinished(const std::string& id) {
message_center_->MarkSinglePopupAsShown(id, false);
}
-void PopupTimersController::OnNotificationDisplayed(const std::string& id) {
+void PopupTimersController::OnNotificationDisplayed(
+ const std::string& id,
+ const DisplaySource source) {
OnNotificationUpdated(id);
}
@@ -804,7 +806,9 @@ void MessageCenterImpl::MarkSinglePopupAsShown(const std::string& id,
MessageCenterObserver, observer_list_, OnNotificationUpdated(id));
}
-void MessageCenterImpl::DisplayedNotification(const std::string& id) {
+void MessageCenterImpl::DisplayedNotification(
+ const std::string& id,
+ const DisplaySource source) {
if (!HasNotification(id))
return;
@@ -816,7 +820,9 @@ void MessageCenterImpl::DisplayedNotification(const std::string& id) {
if (delegate.get())
delegate->Display();
FOR_EACH_OBSERVER(
- MessageCenterObserver, observer_list_, OnNotificationDisplayed(id));
+ MessageCenterObserver,
+ observer_list_,
+ OnNotificationDisplayed(id, source));
}
void MessageCenterImpl::SetNotifierSettingsProvider(
« no previous file with comments | « ui/message_center/message_center_impl.h ('k') | ui/message_center/message_center_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698