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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/message_center/notification_delegate.h" 5 #include "ui/message_center/notification_delegate.h"
6 6
7 #include "ui/views/view.h" 7 #include "ui/views/view.h"
8 8
9 namespace message_center { 9 namespace message_center {
10 10
11 std::unique_ptr<views::View> NotificationDelegate::CreateCustomContent() { 11 std::tuple<
12 return std::unique_ptr<views::View>(); 12 std::unique_ptr<views::View>,
13 std::unique_ptr<message_center::CustomNotificationContentViewDelegate>>
14 NotificationDelegate::CreateCustomContent() {
15 return std::make_tuple(nullptr, nullptr);
13 } 16 }
14 17
15 } // namespace message_center 18 } // namespace message_center
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698