Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: ui/message_center/cocoa/notification_controller.h

Issue 14598015: [Mac][MC] Implement notification updates and relayouts. (Closed) Base URL: svn://
Patch Set: Created 7 years, 8 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/cocoa/notification_controller.h
diff --git a/ui/message_center/cocoa/notification_controller.h b/ui/message_center/cocoa/notification_controller.h
index 8768e778a1930e09f94fcdd8e85948db1dde1a49..5f68856396846bddd97c16c4ff884f27e46ec3e9 100644
--- a/ui/message_center/cocoa/notification_controller.h
+++ b/ui/message_center/cocoa/notification_controller.h
@@ -51,6 +51,10 @@ MESSAGE_CENTER_EXPORT
- (id)initWithNotification:(const message_center::Notification*)notification
+// If the model object changes, this method will update the views to reflect
+// the new model object. Returns the updated frame of the notification.
+- (NSRect)updateNotification:(const message_center::Notification*)notification;
// Action for clicking on the notification's |closeButton_|.
- (void)close:(id)sender;
« no previous file with comments | « no previous file | ui/message_center/cocoa/ » ('j') | ui/message_center/cocoa/ » ('J')

Powered by Google App Engine
This is Rietveld 408576698