OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ | 5 #ifndef MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ |
6 #define MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ | 6 #define MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/single_thread_task_runner.h" |
9 #include "media/capture/video/linux/camera_config_chromeos.h" | 10 #include "media/capture/video/linux/camera_config_chromeos.h" |
10 #include "media/capture/video/linux/video_capture_device_linux.h" | 11 #include "media/capture/video/linux/video_capture_device_linux.h" |
11 | 12 |
12 namespace display { | 13 namespace display { |
13 class Display; | 14 class Display; |
14 } // namespace display | 15 } // namespace display |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 | 18 |
18 // This class is functionally the same as VideoCaptureDeviceLinux, with the | 19 // This class is functionally the same as VideoCaptureDeviceLinux, with the |
(...skipping 17 matching lines...) Expand all Loading... |
36 const VideoFacingMode lens_facing_; | 37 const VideoFacingMode lens_facing_; |
37 const int camera_orientation_; | 38 const int camera_orientation_; |
38 // Whether the incoming frames should rotate when the device rotates. | 39 // Whether the incoming frames should rotate when the device rotates. |
39 const bool rotates_with_device_; | 40 const bool rotates_with_device_; |
40 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceChromeOS); | 41 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceChromeOS); |
41 }; | 42 }; |
42 | 43 |
43 } // namespace media | 44 } // namespace media |
44 | 45 |
45 #endif // MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ | 46 #endif // MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ |
OLD | NEW |