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

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..c9556d3d712ea70f7e91d9a0a9c0210becf0202f 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::UpdateNotificationSize(
+ const std::string& notification_id) {
+ OnNotificationUpdated(notification_id);
+}
+
void MessagePopupCollection::MarkAllPopupsShown() {
std::set<std::string> closed_ids = CloseAllWidgets();
for (std::set<std::string>::iterator iter = closed_ids.begin();
« no previous file with comments | « ui/message_center/views/message_popup_collection.h ('k') | ui/message_center/views/notification_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698