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 #pragma once | |
8 | 7 |
9 #include <deque> | 8 #include <deque> |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/id_map.h" | 12 #include "base/id_map.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/timer.h" | 14 #include "base/timer.h" |
16 #include "chrome/browser/notifications/balloon.h" | 15 #include "chrome/browser/notifications/balloon.h" |
17 #include "chrome/browser/notifications/balloon_collection.h" | 16 #include "chrome/browser/notifications/balloon_collection.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 IntegerPrefMember position_pref_; | 94 IntegerPrefMember position_pref_; |
96 | 95 |
97 // Used by screen-saver and full-screen handling support. | 96 // Used by screen-saver and full-screen handling support. |
98 bool is_user_active_; | 97 bool is_user_active_; |
99 base::RepeatingTimer<NotificationUIManagerImpl> user_state_check_timer_; | 98 base::RepeatingTimer<NotificationUIManagerImpl> user_state_check_timer_; |
100 | 99 |
101 DISALLOW_COPY_AND_ASSIGN(NotificationUIManagerImpl); | 100 DISALLOW_COPY_AND_ASSIGN(NotificationUIManagerImpl); |
102 }; | 101 }; |
103 | 102 |
104 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_IMPL_H_ | 103 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_IMPL_H_ |
OLD | NEW |