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

Unified Diff: ui/message_center/views/toast_contents_view.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
« no previous file with comments | « ui/message_center/views/toast_contents_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/toast_contents_view.cc
diff --git a/ui/message_center/views/toast_contents_view.cc b/ui/message_center/views/toast_contents_view.cc
index 877c3105eca6c2ad0fb4be26c9a6658c9fb31791..e20b03e7f161de1d8f9499f8b5f1c14fde9a3d63 100644
--- a/ui/message_center/views/toast_contents_view.cc
+++ b/ui/message_center/views/toast_contents_view.cc
@@ -327,6 +327,12 @@ void ToastContentsView::ClickOnSettingsButton(
collection_->ClickOnSettingsButton(notification_id);
}
+void ToastContentsView::UpdateNotificationSize(
+ const std::string& notification_id) {
+ if (collection_)
+ collection_->UpdateNotificationSize(notification_id);
+}
+
void ToastContentsView::RemoveNotification(
const std::string& notification_id,
bool by_user) {
« no previous file with comments | « ui/message_center/views/toast_contents_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698