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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 size_t unread_count; | 112 size_t unread_count; |
113 }; | 113 }; |
114 | 114 |
115 void RemoveNotifications(bool by_user, const NotificationBlockers& blockers); | 115 void RemoveNotifications(bool by_user, const NotificationBlockers& blockers); |
116 void RemoveNotificationsForNotifierId(const NotifierId& notifier_id); | 116 void RemoveNotificationsForNotifierId(const NotifierId& notifier_id); |
117 | 117 |
118 scoped_ptr<NotificationList> notification_list_; | 118 scoped_ptr<NotificationList> notification_list_; |
119 NotificationCache notification_cache_; | 119 NotificationCache notification_cache_; |
120 base::ObserverList<MessageCenterObserver> observer_list_; | 120 base::ObserverList<MessageCenterObserver> observer_list_; |
121 scoped_ptr<PopupTimersController> popup_timers_controller_; | 121 scoped_ptr<PopupTimersController> popup_timers_controller_; |
122 scoped_ptr<base::OneShotTimer<MessageCenterImpl> > quiet_mode_timer_; | 122 scoped_ptr<base::OneShotTimer> quiet_mode_timer_; |
123 NotifierSettingsProvider* settings_provider_; | 123 NotifierSettingsProvider* settings_provider_; |
124 std::vector<NotificationBlocker*> blockers_; | 124 std::vector<NotificationBlocker*> blockers_; |
125 | 125 |
126 // Queue for the notifications to delay the addition/updates when the message | 126 // Queue for the notifications to delay the addition/updates when the message |
127 // center is visible. | 127 // center is visible. |
128 scoped_ptr<internal::ChangeQueue> notification_queue_; | 128 scoped_ptr<internal::ChangeQueue> notification_queue_; |
129 | 129 |
130 DISALLOW_COPY_AND_ASSIGN(MessageCenterImpl); | 130 DISALLOW_COPY_AND_ASSIGN(MessageCenterImpl); |
131 }; | 131 }; |
132 | 132 |
133 } // namespace message_center | 133 } // namespace message_center |
134 | 134 |
135 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_H_ | 135 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_H_ |
OLD | NEW |