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

Unified Diff: ui/message_center/views/message_popup_collection.cc

Issue 2685283002: Add UpdateNotificationSize to MessageCenterController. (Closed)
Patch Set: Address comments. Created 3 years, 10 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/views/message_popup_collection.cc
diff --git a/ui/message_center/views/message_popup_collection.cc b/ui/message_center/views/message_popup_collection.cc
index 9b85920084f58ee808660e945bf1b87c9e4691b9..e6977a9118f24c58c84cca793e18210e22ec3f6e 100644
--- a/ui/message_center/views/message_popup_collection.cc
+++ b/ui/message_center/views/message_popup_collection.cc
@@ -125,6 +125,11 @@ void MessagePopupCollection::ClickOnSettingsButton(
message_center_->ClickOnSettingsButton(notification_id);
}
+void MessagePopupCollection::UpdateNotification(
+ const std::string& notification_id) {
+ OnNotificationUpdated(notification_id);
yoshiki 2017/02/14 02:41:39 Out of curious, is it called actually? IIRC, Messa
Eliot Courtney 2017/02/14 03:32:15 Good catch~! I've updated the ToastContentsView me
+}
+
void MessagePopupCollection::MarkAllPopupsShown() {
std::set<std::string> closed_ids = CloseAllWidgets();
for (std::set<std::string>::iterator iter = closed_ids.begin();

Powered by Google App Engine
This is Rietveld 408576698