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

Unified Diff: ui/message_center/notification_delegate.cc

Issue 1979583003: Support notifications with custom content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@messageview-close-button
Patch Set: Created 4 years, 7 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.cc
diff --git a/ui/message_center/notification_delegate.cc b/ui/message_center/notification_delegate.cc
index dd0d54b52d3c6744c3736fe546ef3cb79fb19c91..0cac41da1aa360a23c6bb9b5a8016fc6e4fcbe02 100644
--- a/ui/message_center/notification_delegate.cc
+++ b/ui/message_center/notification_delegate.cc
@@ -4,6 +4,8 @@
#include "ui/message_center/notification_delegate.h"
+#include "ui/views/view.h"
+
namespace message_center {
// NotificationDelegate:
@@ -24,6 +26,10 @@ bool NotificationDelegate::ShouldDisplaySettingsButton() {
return false;
}
+std::unique_ptr<views::View> NotificationDelegate::CreateCustomContent() {
+ return std::unique_ptr<views::View>();
+}
+
// HandleNotificationClickedDelegate:
HandleNotificationClickedDelegate::HandleNotificationClickedDelegate(

Powered by Google App Engine
This is Rietveld 408576698