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

Unified Diff: ui/message_center/notification_delegate_views.cc

Issue 2547433002: Transfer responsibility for providing a close button for a notification to each implementation of M… (Closed)
Patch Set: Delete debug logs Created 4 years 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_views.cc
diff --git a/ui/message_center/notification_delegate_views.cc b/ui/message_center/notification_delegate_views.cc
index 6f993d2c640f5d42c4f2eb0f94cc03cf8ca95bc1..eb6e8a75f6cf200b2bb9c3babd75a5323926e9c1 100644
--- a/ui/message_center/notification_delegate_views.cc
+++ b/ui/message_center/notification_delegate_views.cc
@@ -8,8 +8,11 @@
namespace message_center {
-std::unique_ptr<views::View> NotificationDelegate::CreateCustomContent() {
- return std::unique_ptr<views::View>();
+std::tuple<
+ std::unique_ptr<views::View>,
+ std::unique_ptr<message_center::CustomNotificationContentViewDelegate>>
+NotificationDelegate::CreateCustomContent() {
+ return std::make_tuple(nullptr, nullptr);
}
} // namespace message_center

Powered by Google App Engine
This is Rietveld 408576698