OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_IMPL_H_ | 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_IMPL_H_ |
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_IMPL_H_ | 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 int button_index, | 171 int button_index, |
172 const gfx::Image& image) OVERRIDE; | 172 const gfx::Image& image) OVERRIDE; |
173 virtual void DisableNotificationsByNotifier( | 173 virtual void DisableNotificationsByNotifier( |
174 const NotifierId& notifier_id) OVERRIDE; | 174 const NotifierId& notifier_id) OVERRIDE; |
175 virtual void ClickOnNotification(const std::string& id) OVERRIDE; | 175 virtual void ClickOnNotification(const std::string& id) OVERRIDE; |
176 virtual void ClickOnNotificationButton(const std::string& id, | 176 virtual void ClickOnNotificationButton(const std::string& id, |
177 int button_index) OVERRIDE; | 177 int button_index) OVERRIDE; |
178 virtual void MarkSinglePopupAsShown(const std::string& id, | 178 virtual void MarkSinglePopupAsShown(const std::string& id, |
179 bool mark_notification_as_read) OVERRIDE; | 179 bool mark_notification_as_read) OVERRIDE; |
180 virtual void DisplayedNotification(const std::string& id) OVERRIDE; | 180 virtual void DisplayedNotification(const std::string& id) OVERRIDE; |
| 181 virtual void PoppedUpNotification(const std::string& id) OVERRIDE; |
181 virtual void SetNotifierSettingsProvider( | 182 virtual void SetNotifierSettingsProvider( |
182 NotifierSettingsProvider* provider) OVERRIDE; | 183 NotifierSettingsProvider* provider) OVERRIDE; |
183 virtual NotifierSettingsProvider* GetNotifierSettingsProvider() OVERRIDE; | 184 virtual NotifierSettingsProvider* GetNotifierSettingsProvider() OVERRIDE; |
184 virtual void SetQuietMode(bool in_quiet_mode) OVERRIDE; | 185 virtual void SetQuietMode(bool in_quiet_mode) OVERRIDE; |
185 virtual void EnterQuietModeWithExpire( | 186 virtual void EnterQuietModeWithExpire( |
186 const base::TimeDelta& expires_in) OVERRIDE; | 187 const base::TimeDelta& expires_in) OVERRIDE; |
187 virtual void RestartPopupTimers() OVERRIDE; | 188 virtual void RestartPopupTimers() OVERRIDE; |
188 virtual void PausePopupTimers() OVERRIDE; | 189 virtual void PausePopupTimers() OVERRIDE; |
189 | 190 |
190 // NotificationBlocker::Observer overrides: | 191 // NotificationBlocker::Observer overrides: |
(...skipping 26 matching lines...) Expand all Loading... |
217 // Queue for the notifications to delay the addition/updates when the message | 218 // Queue for the notifications to delay the addition/updates when the message |
218 // center is visible. | 219 // center is visible. |
219 scoped_ptr<internal::ChangeQueue> notification_queue_; | 220 scoped_ptr<internal::ChangeQueue> notification_queue_; |
220 | 221 |
221 DISALLOW_COPY_AND_ASSIGN(MessageCenterImpl); | 222 DISALLOW_COPY_AND_ASSIGN(MessageCenterImpl); |
222 }; | 223 }; |
223 | 224 |
224 } // namespace message_center | 225 } // namespace message_center |
225 | 226 |
226 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_H_ | 227 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_H_ |
OLD | NEW |