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

Unified Diff: ui/message_center/views/message_center_controller.h

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_center_controller.h
diff --git a/ui/message_center/views/message_center_controller.h b/ui/message_center/views/message_center_controller.h
index 9ff85a52c2fbae4c9911b99d41479071d6ae60b2..daf05bf850276e0a60132e7538f065c9889be315 100644
--- a/ui/message_center/views/message_center_controller.h
+++ b/ui/message_center/views/message_center_controller.h
@@ -30,6 +30,11 @@ class MessageCenterController {
virtual void ClickOnNotificationButton(const std::string& notification_id,
int button_index) = 0;
virtual void ClickOnSettingsButton(const std::string& notification_id) = 0;
+ // For ArcCustomNotificationView, size changes might come after the
+ // notification update over Mojo. Provide a method here to notify when
+ // a notification changed in some way and needs to be laid out again.
+ // See crbug.com/690813.
+ virtual void UpdateNotification(const std::string& notification_id) = 0;
yoshiki 2017/02/14 02:41:39 nit: I think "UpdateNotificationSize" may be bette
Eliot Courtney 2017/02/14 03:32:15 Done.
};
} // namespace message_center

Powered by Google App Engine
This is Rietveld 408576698