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

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..2c438862bee73a29210f1f7f6b04986639a9bf03 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 UpdateNotificationSize(const std::string& notification_id) = 0;
};
} // namespace message_center
« no previous file with comments | « ui/message_center/views/custom_notification_view_unittest.cc ('k') | ui/message_center/views/message_center_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698