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 MEDIA_CAPTURE_SYSTEM_MESSAGE_WINDOW_WIN_H_ | 5 #ifndef MEDIA_CAPTURE_SYSTEM_MESSAGE_WINDOW_WIN_H_ |
6 #define MEDIA_CAPTURE_SYSTEM_MESSAGE_WINDOW_WIN_H_ | 6 #define MEDIA_CAPTURE_SYSTEM_MESSAGE_WINDOW_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "media/capture/capture_export.h" | 13 #include "media/base/media_export.h" |
14 | 14 |
15 namespace media { | 15 namespace media { |
16 | 16 |
17 class CAPTURE_EXPORT SystemMessageWindowWin { | 17 class MEDIA_EXPORT SystemMessageWindowWin { |
18 public: | 18 public: |
19 SystemMessageWindowWin(); | 19 SystemMessageWindowWin(); |
20 | 20 |
21 virtual ~SystemMessageWindowWin(); | 21 virtual ~SystemMessageWindowWin(); |
22 | 22 |
23 virtual LRESULT OnDeviceChange(UINT event_type, LPARAM data); | 23 virtual LRESULT OnDeviceChange(UINT event_type, LPARAM data); |
24 | 24 |
25 private: | 25 private: |
26 void Init(); | 26 void Init(); |
27 | 27 |
(...skipping 17 matching lines...) Expand all Loading... |
45 HWND window_; | 45 HWND window_; |
46 class DeviceNotifications; | 46 class DeviceNotifications; |
47 std::unique_ptr<DeviceNotifications> device_notifications_; | 47 std::unique_ptr<DeviceNotifications> device_notifications_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(SystemMessageWindowWin); | 49 DISALLOW_COPY_AND_ASSIGN(SystemMessageWindowWin); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace media | 52 } // namespace media |
53 | 53 |
54 #endif // MEDIA_CAPTURE_SYSTEM_MESSAGE_WINDOW_WIN_H_ | 54 #endif // MEDIA_CAPTURE_SYSTEM_MESSAGE_WINDOW_WIN_H_ |
OLD | NEW |