OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_IMPL_H_ |
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/id_map.h" | 12 #include "base/id_map.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/prefs/public/pref_member.h" | 14 #include "base/prefs/pref_member.h" |
15 #include "base/timer.h" | 15 #include "base/timer.h" |
16 #include "chrome/browser/notifications/notification_ui_manager.h" | 16 #include "chrome/browser/notifications/notification_ui_manager.h" |
17 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
18 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
19 | 19 |
20 class Notification; | 20 class Notification; |
21 class Profile; | 21 class Profile; |
22 class QueuedNotification; | 22 class QueuedNotification; |
23 | 23 |
24 // The notification manager manages use of the desktop for notifications. | 24 // The notification manager manages use of the desktop for notifications. |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 content::NotificationRegistrar registrar_; | 87 content::NotificationRegistrar registrar_; |
88 | 88 |
89 // Used by screen-saver and full-screen handling support. | 89 // Used by screen-saver and full-screen handling support. |
90 bool is_user_active_; | 90 bool is_user_active_; |
91 base::RepeatingTimer<NotificationUIManagerImpl> user_state_check_timer_; | 91 base::RepeatingTimer<NotificationUIManagerImpl> user_state_check_timer_; |
92 | 92 |
93 DISALLOW_COPY_AND_ASSIGN(NotificationUIManagerImpl); | 93 DISALLOW_COPY_AND_ASSIGN(NotificationUIManagerImpl); |
94 }; | 94 }; |
95 | 95 |
96 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_IMPL_H_ | 96 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_IMPL_H_ |
OLD | NEW |