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

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: Created 4 years, 10 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
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) {
76 } 76 }
77 77
78 void FakeMessageCenter::RemoveAllVisibleNotifications(bool by_user) { 78 void FakeMessageCenter::RemoveAllVisibleNotifications(bool by_user) {
79 } 79 }
80 80
81 void FakeMessageCenter::RemoveAllClosableNotifications(bool by_user) {
82 }
83
81 void FakeMessageCenter::SetNotificationIcon(const std::string& notification_id, 84 void FakeMessageCenter::SetNotificationIcon(const std::string& notification_id,
82 const gfx::Image& image) { 85 const gfx::Image& image) {
83 } 86 }
84 87
85 void FakeMessageCenter::SetNotificationImage(const std::string& notification_id, 88 void FakeMessageCenter::SetNotificationImage(const std::string& notification_id,
86 const gfx::Image& image) { 89 const gfx::Image& image) {
87 } 90 }
88 91
89 void FakeMessageCenter::SetNotificationButtonIcon( 92 void FakeMessageCenter::SetNotificationButtonIcon(
90 const std::string& notification_id, 93 const std::string& notification_id,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 141
139 void FakeMessageCenter::RestartPopupTimers() {} 142 void FakeMessageCenter::RestartPopupTimers() {}
140 143
141 void FakeMessageCenter::PausePopupTimers() {} 144 void FakeMessageCenter::PausePopupTimers() {}
142 145
143 void FakeMessageCenter::DisableTimersForTest() {} 146 void FakeMessageCenter::DisableTimersForTest() {}
144 147
145 void FakeMessageCenter::EnableChangeQueueForTest(bool enabled) {} 148 void FakeMessageCenter::EnableChangeQueueForTest(bool enabled) {}
146 149
147 } // namespace message_center 150 } // namespace message_center
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698