| 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_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_ |
| 6 #define CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 LRESULT CALLBACK WndProc(HWND hwnd, | 31 LRESULT CALLBACK WndProc(HWND hwnd, |
| 32 UINT message, | 32 UINT message, |
| 33 WPARAM wparam, | 33 WPARAM wparam, |
| 34 LPARAM lparam); | 34 LPARAM lparam); |
| 35 | 35 |
| 36 static LRESULT CALLBACK WndProcThunk(HWND hwnd, | 36 static LRESULT CALLBACK WndProcThunk(HWND hwnd, |
| 37 UINT message, | 37 UINT message, |
| 38 WPARAM wparam, | 38 WPARAM wparam, |
| 39 LPARAM lparam); | 39 LPARAM lparam); |
| 40 | 40 |
| 41 // The window class of |window_|. |
| 42 ATOM atom_; |
| 43 |
| 44 // The handle of the module that contains the window procedure of |window_|. |
| 45 HMODULE instance_; |
| 46 |
| 41 HWND window_; | 47 HWND window_; |
| 42 VolumeNameFunc volume_name_func_; | 48 VolumeNameFunc volume_name_func_; |
| 43 | 49 |
| 44 DISALLOW_COPY_AND_ASSIGN(MediaDeviceNotificationsWindowWin); | 50 DISALLOW_COPY_AND_ASSIGN(MediaDeviceNotificationsWindowWin); |
| 45 }; | 51 }; |
| 46 | 52 |
| 47 } // namespace chrome | 53 } // namespace chrome |
| 48 | 54 |
| 49 #endif // CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_ | 55 #endif // CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_ |
| OLD | NEW |