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