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 "chrome/browser/status_icons/status_tray.h" | 11 #include "chrome/browser/status_icons/status_tray.h" |
12 | 12 |
13 class StatusTrayWin : public StatusTray { | 13 class StatusTrayWin : public StatusTray { |
14 public: | 14 public: |
15 // Returns true if the browser is currently running in a mode that disallows | |
sky
2014/03/19 22:26:39
nit: members after constructor/destructor.
dewittj
2014/03/20 19:31:08
Even static functions? I was under the impression
sky
2014/03/20 20:59:38
See http://google-styleguide.googlecode.com/svn/tr
| |
16 // Windows status icons. | |
17 static bool DisabledForMetroMode(); | |
18 | |
15 StatusTrayWin(); | 19 StatusTrayWin(); |
16 ~StatusTrayWin(); | 20 ~StatusTrayWin(); |
17 | 21 |
18 // Exposed for testing. | 22 // Exposed for testing. |
19 LRESULT CALLBACK WndProc(HWND hwnd, | 23 LRESULT CALLBACK WndProc(HWND hwnd, |
20 UINT message, | 24 UINT message, |
21 WPARAM wparam, | 25 WPARAM wparam, |
22 LPARAM lparam); | 26 LPARAM lparam); |
23 | 27 |
24 protected: | 28 protected: |
(...skipping 26 matching lines...) Expand all Loading... | |
51 | 55 |
52 // The message ID of the "TaskbarCreated" message, sent to us when we need to | 56 // The message ID of the "TaskbarCreated" message, sent to us when we need to |
53 // reset our status icons. | 57 // reset our status icons. |
54 UINT taskbar_created_message_; | 58 UINT taskbar_created_message_; |
55 | 59 |
56 DISALLOW_COPY_AND_ASSIGN(StatusTrayWin); | 60 DISALLOW_COPY_AND_ASSIGN(StatusTrayWin); |
57 }; | 61 }; |
58 | 62 |
59 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ | 63 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ |
60 | 64 |
OLD | NEW |