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_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/status_icons/status_tray.h" | 14 #include "chrome/browser/status_icons/status_tray.h" |
14 | 15 |
15 class StatusIconWin; | 16 class StatusIconWin; |
16 | 17 |
17 // A class that's responsible for increasing, if possible, the visibility | 18 // A class that's responsible for increasing, if possible, the visibility |
18 // of a status tray icon on the taskbar. The default implementation sends | 19 // of a status tray icon on the taskbar. The default implementation sends |
19 // a task to a worker thread each time EnqueueChange is called. | 20 // a task to a worker thread each time EnqueueChange is called. |
20 class StatusTrayStateChangerProxy { | 21 class StatusTrayStateChangerProxy { |
21 public: | 22 public: |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 74 |
74 // Manages changes performed on a background thread to manipulate visibility | 75 // Manages changes performed on a background thread to manipulate visibility |
75 // of notification icons. | 76 // of notification icons. |
76 scoped_ptr<StatusTrayStateChangerProxy> state_changer_proxy_; | 77 scoped_ptr<StatusTrayStateChangerProxy> state_changer_proxy_; |
77 | 78 |
78 DISALLOW_COPY_AND_ASSIGN(StatusTrayWin); | 79 DISALLOW_COPY_AND_ASSIGN(StatusTrayWin); |
79 }; | 80 }; |
80 | 81 |
81 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ | 82 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ |
82 | 83 |
OLD | NEW |