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

Unified Diff: ui/message_center/views/custom_notification_content_view_delegate.cc

Issue 2547433002: Transfer responsibility for providing a close button for a notification to each implementation of M… (Closed)
Patch Set: WrapUnique -> MakeUnique 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/views/custom_notification_content_view_delegate.cc
diff --git a/ui/message_center/views/custom_notification_content_view_delegate.cc b/ui/message_center/views/custom_notification_content_view_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a3ee7cdc76b72f550e3568a5805a2f09fa411e06
--- /dev/null
+++ b/ui/message_center/views/custom_notification_content_view_delegate.cc
@@ -0,0 +1,18 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/message_center/views/custom_notification_content_view_delegate.h"
+
+#include "ui/views/view.h"
+
+namespace message_center {
+
+CustomContent::CustomContent(
+ std::unique_ptr<views::View> view,
+ std::unique_ptr<CustomNotificationContentViewDelegate> delegate)
+ : view(std::move(view)), delegate(std::move(delegate)) {}
+
+CustomContent::~CustomContent() {}
+
+} // namespace message_center

Powered by Google App Engine
This is Rietveld 408576698