| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |