| OLD | NEW |
| 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 28 private: | 28 private: |
| 29 // Static callback invoked when a message comes in to our messaging window. | 29 // Static callback invoked when a message comes in to our messaging window. |
| 30 static LRESULT CALLBACK WndProcStatic(HWND hwnd, | 30 static LRESULT CALLBACK WndProcStatic(HWND hwnd, |
| 31 UINT message, | 31 UINT message, |
| 32 WPARAM wparam, | 32 WPARAM wparam, |
| 33 LPARAM lparam); | 33 LPARAM lparam); |
| 34 | 34 |
| 35 // The unique icon ID we will assign to the next icon. | 35 // The unique icon ID we will assign to the next icon. |
| 36 UINT next_icon_id_; | 36 UINT next_icon_id_; |
| 37 | 37 |
| 38 // The window class of |window_|. |
| 39 ATOM atom_; |
| 40 |
| 41 // The handle of the module that contains the window procedure of |window_|. |
| 42 HMODULE instance_; |
| 43 |
| 38 // The window used for processing events. | 44 // The window used for processing events. |
| 39 HWND window_; | 45 HWND window_; |
| 40 | 46 |
| 41 // The message ID of the "TaskbarCreated" message, sent to us when we need to | 47 // The message ID of the "TaskbarCreated" message, sent to us when we need to |
| 42 // reset our status icons. | 48 // reset our status icons. |
| 43 UINT taskbar_created_message_; | 49 UINT taskbar_created_message_; |
| 44 | 50 |
| 45 DISALLOW_COPY_AND_ASSIGN(StatusTrayWin); | 51 DISALLOW_COPY_AND_ASSIGN(StatusTrayWin); |
| 46 }; | 52 }; |
| 47 | 53 |
| 48 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ | 54 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_WIN_H_ |
| 49 | 55 |
| OLD | NEW |