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

Unified Diff: ui/message_center/notification_delegate.h

Issue 2668583005: Not Remove Non-Closable Arc Popup When Close Button is Pressed (Closed)
Patch Set: Created 3 years, 11 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/notification_delegate.h
diff --git a/ui/message_center/notification_delegate.h b/ui/message_center/notification_delegate.h
index b9432fb12bcd523ff00a32cc810d005cdffcd70d..390898fdeee512bc0f69165aa64edf1646f56f02 100644
--- a/ui/message_center/notification_delegate.h
+++ b/ui/message_center/notification_delegate.h
@@ -20,6 +20,8 @@
namespace message_center {
+class MessageView;
+
// Delegate for a notification. This class has two roles: to implement callback
// methods for notification, and to provide an identity of the associated
// notification.
@@ -57,7 +59,8 @@ class MESSAGE_CENTER_EXPORT NotificationDelegate
#if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX)
// To be called to construct the contents view of a popup for notifications
// whose type is NOTIFICATION_TYPE_CUSTOM.
- virtual std::unique_ptr<CustomContent> CreateCustomContent();
+ virtual std::unique_ptr<CustomContent> CreateCustomContent(
+ MessageView* message_view);
#endif
// Indicates whether this notification should be displayed when there is

Powered by Google App Engine
This is Rietveld 408576698