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

Side by Side Diff: ui/message_center/notification_delegate.cc

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: include base/logging.h for NOTIMPLEMENTED Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « ui/message_center/notification_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "base/logging.h"
8
7 namespace message_center { 9 namespace message_center {
8 10
9 // NotificationDelegate: 11 // NotificationDelegate:
10 12
11 void NotificationDelegate::Display() {} 13 void NotificationDelegate::Display() {}
12 14
13 void NotificationDelegate::Close(bool by_user) {} 15 void NotificationDelegate::Close(bool by_user) {}
14 16
15 bool NotificationDelegate::HasClickedListener() { return false; } 17 bool NotificationDelegate::HasClickedListener() { return false; }
16 18
17 void NotificationDelegate::Click() {} 19 void NotificationDelegate::Click() {}
18 20
19 void NotificationDelegate::ButtonClick(int button_index) {} 21 void NotificationDelegate::ButtonClick(int button_index) {}
20 22
23 void NotificationDelegate::ButtonClickWithReply(int button_index,
24 const base::string16& reply) {
25 NOTIMPLEMENTED();
26 }
27
21 void NotificationDelegate::SettingsClick() {} 28 void NotificationDelegate::SettingsClick() {}
22 29
23 bool NotificationDelegate::ShouldDisplaySettingsButton() { 30 bool NotificationDelegate::ShouldDisplaySettingsButton() {
24 return false; 31 return false;
25 } 32 }
26 33
27 // HandleNotificationClickedDelegate: 34 // HandleNotificationClickedDelegate:
28 35
29 HandleNotificationClickedDelegate::HandleNotificationClickedDelegate( 36 HandleNotificationClickedDelegate::HandleNotificationClickedDelegate(
30 const base::Closure& closure) 37 const base::Closure& closure)
(...skipping 24 matching lines...) Expand all
55 void HandleNotificationButtonClickDelegate::ButtonClick(int button_index) { 62 void HandleNotificationButtonClickDelegate::ButtonClick(int button_index) {
56 if (!button_callback_.is_null()) 63 if (!button_callback_.is_null())
57 button_callback_.Run(button_index); 64 button_callback_.Run(button_index);
58 } 65 }
59 66
60 bool NotificationDelegate::ShouldDisplayOverFullscreen() const { 67 bool NotificationDelegate::ShouldDisplayOverFullscreen() const {
61 return false; 68 return false;
62 } 69 }
63 70
64 } // namespace message_center 71 } // namespace message_center
OLDNEW
« no previous file with comments | « ui/message_center/notification_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698