| 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 CONTENT_BROWSER_SYSTEM_MESSAGE_WINDOW_WIN_H_ | 5 #ifndef CONTENT_BROWSER_SYSTEM_MESSAGE_WINDOW_WIN_H_ |
| 6 #define CONTENT_BROWSER_SYSTEM_MESSAGE_WINDOW_WIN_H_ | 6 #define CONTENT_BROWSER_SYSTEM_MESSAGE_WINDOW_WIN_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 | 13 |
| 14 namespace content { | |
| 15 | |
| 16 class CONTENT_EXPORT SystemMessageWindowWin { | 14 class CONTENT_EXPORT SystemMessageWindowWin { |
| 17 public: | 15 public: |
| 18 SystemMessageWindowWin(); | 16 SystemMessageWindowWin(); |
| 19 | 17 |
| 20 virtual ~SystemMessageWindowWin(); | 18 virtual ~SystemMessageWindowWin(); |
| 21 | 19 |
| 22 virtual LRESULT OnDeviceChange(UINT event_type, LPARAM data); | 20 virtual LRESULT OnDeviceChange(UINT event_type, LPARAM data); |
| 23 | 21 |
| 24 private: | 22 private: |
| 25 void Init(); | 23 void Init(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 39 } | 37 } |
| 40 | 38 |
| 41 HMODULE instance_; | 39 HMODULE instance_; |
| 42 HWND window_; | 40 HWND window_; |
| 43 class DeviceNotifications; | 41 class DeviceNotifications; |
| 44 scoped_ptr<DeviceNotifications> device_notifications_; | 42 scoped_ptr<DeviceNotifications> device_notifications_; |
| 45 | 43 |
| 46 DISALLOW_COPY_AND_ASSIGN(SystemMessageWindowWin); | 44 DISALLOW_COPY_AND_ASSIGN(SystemMessageWindowWin); |
| 47 }; | 45 }; |
| 48 | 46 |
| 49 } // namespace content | |
| 50 | |
| 51 #endif // CONTENT_BROWSER_SYSTEM_MESSAGE_WINDOW_WIN_H_ | 47 #endif // CONTENT_BROWSER_SYSTEM_MESSAGE_WINDOW_WIN_H_ |
| OLD | NEW |