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

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

Issue 1645843003: Implement Non-Closable Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary property. Created 4 years, 9 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/fake_message_center.h ('k') | ui/message_center/message_center.h » ('j') | 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/fake_message_center.h" 5 #include "ui/message_center/fake_message_center.h"
6 #include "ui/message_center/notification_list.h" 6 #include "ui/message_center/notification_list.h"
7 7
8 namespace message_center { 8 namespace message_center {
9 9
10 FakeMessageCenter::FakeMessageCenter() { 10 FakeMessageCenter::FakeMessageCenter() {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 65 }
66 66
67 void FakeMessageCenter::UpdateNotification( 67 void FakeMessageCenter::UpdateNotification(
68 const std::string& old_id, 68 const std::string& old_id,
69 scoped_ptr<Notification> new_notification) {} 69 scoped_ptr<Notification> new_notification) {}
70 70
71 void FakeMessageCenter::RemoveNotification(const std::string& id, 71 void FakeMessageCenter::RemoveNotification(const std::string& id,
72 bool by_user) { 72 bool by_user) {
73 } 73 }
74 74
75 void FakeMessageCenter::RemoveAllNotifications(bool by_user) { 75 void FakeMessageCenter::RemoveAllNotifications(bool by_user, RemoveType type) {}
76 }
77
78 void FakeMessageCenter::RemoveAllVisibleNotifications(bool by_user) {
79 }
80 76
81 void FakeMessageCenter::SetNotificationIcon(const std::string& notification_id, 77 void FakeMessageCenter::SetNotificationIcon(const std::string& notification_id,
82 const gfx::Image& image) { 78 const gfx::Image& image) {
83 } 79 }
84 80
85 void FakeMessageCenter::SetNotificationImage(const std::string& notification_id, 81 void FakeMessageCenter::SetNotificationImage(const std::string& notification_id,
86 const gfx::Image& image) { 82 const gfx::Image& image) {
87 } 83 }
88 84
89 void FakeMessageCenter::SetNotificationButtonIcon( 85 void FakeMessageCenter::SetNotificationButtonIcon(
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 134
139 void FakeMessageCenter::RestartPopupTimers() {} 135 void FakeMessageCenter::RestartPopupTimers() {}
140 136
141 void FakeMessageCenter::PausePopupTimers() {} 137 void FakeMessageCenter::PausePopupTimers() {}
142 138
143 void FakeMessageCenter::DisableTimersForTest() {} 139 void FakeMessageCenter::DisableTimersForTest() {}
144 140
145 void FakeMessageCenter::EnableChangeQueueForTest(bool enabled) {} 141 void FakeMessageCenter::EnableChangeQueueForTest(bool enabled) {}
146 142
147 } // namespace message_center 143 } // namespace message_center
OLDNEW
« no previous file with comments | « ui/message_center/fake_message_center.h ('k') | ui/message_center/message_center.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698