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

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

Issue 1292003004: Elide origins displayed on web notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the use_origin flag in Notification do everything in NotificationView Created 5 years, 4 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 61a5e2f06665f5609cd35e1741ac9c2d663519bf..2fc445be460e9787647a7f8dd270fbbf60ecff22 100644
--- a/ui/message_center/cocoa/notification_controller.h
+++ b/ui/message_center/cocoa/notification_controller.h
@@ -70,6 +70,10 @@ MESSAGE_CENTER_EXPORT
// the new model object. Returns the updated frame of the notification.
- (NSRect)updateNotification:(const message_center::Notification*)notification;
+// Decides if the notification origin should be used as context message
+- (bool)useOriginAsContextMessage:
Nico 2015/08/19 17:58:11 https://developer.apple.com/library/ios/documentat
Miguel Garcia 2015/08/19 19:52:46 Acknowledged.
+ (const message_center::Notification*)notification;
+
// Action for clicking on the notification's |closeButton_|.
- (void)close:(id)sender;

Powered by Google App Engine
This is Rietveld 408576698