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