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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 } | 99 } |
100 | 100 |
101 void FakeMessageCenter::ClickOnNotificationButton(const std::string& id, | 101 void FakeMessageCenter::ClickOnNotificationButton(const std::string& id, |
102 int button_index) { | 102 int button_index) { |
103 } | 103 } |
104 | 104 |
105 void FakeMessageCenter::MarkSinglePopupAsShown(const std::string& id, | 105 void FakeMessageCenter::MarkSinglePopupAsShown(const std::string& id, |
106 bool mark_notification_as_read) { | 106 bool mark_notification_as_read) { |
107 } | 107 } |
108 | 108 |
109 void FakeMessageCenter::DisplayedNotification(const std::string& id) { | 109 void FakeMessageCenter::DisplayedNotification( |
| 110 const std::string& id, |
| 111 const DisplaySource source) { |
110 } | 112 } |
111 | 113 |
112 void FakeMessageCenter::SetNotifierSettingsProvider( | 114 void FakeMessageCenter::SetNotifierSettingsProvider( |
113 NotifierSettingsProvider* provider) { | 115 NotifierSettingsProvider* provider) { |
114 } | 116 } |
115 | 117 |
116 NotifierSettingsProvider* FakeMessageCenter::GetNotifierSettingsProvider() { | 118 NotifierSettingsProvider* FakeMessageCenter::GetNotifierSettingsProvider() { |
117 return NULL; | 119 return NULL; |
118 } | 120 } |
119 | 121 |
(...skipping 11 matching lines...) Expand all Loading... |
131 return false; | 133 return false; |
132 } | 134 } |
133 | 135 |
134 void FakeMessageCenter::RestartPopupTimers() {} | 136 void FakeMessageCenter::RestartPopupTimers() {} |
135 | 137 |
136 void FakeMessageCenter::PausePopupTimers() {} | 138 void FakeMessageCenter::PausePopupTimers() {} |
137 | 139 |
138 void FakeMessageCenter::DisableTimersForTest() {} | 140 void FakeMessageCenter::DisableTimersForTest() {} |
139 | 141 |
140 } // namespace message_center | 142 } // namespace message_center |
OLD | NEW |