| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_ | 5 #ifndef DEVICE_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_ |
| 6 #define MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_ | 6 #define DEVICE_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 #import "base/mac/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
| 11 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
| 12 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
| 13 #include "device/capture/video/video_capture_device.h" |
| 13 #import "media/base/mac/avfoundation_glue.h" | 14 #import "media/base/mac/avfoundation_glue.h" |
| 14 #include "media/base/video_capture_types.h" | 15 #include "media/base/video_capture_types.h" |
| 15 #include "media/capture/video/video_capture_device.h" | |
| 16 | 16 |
| 17 namespace media { | 17 namespace media { |
| 18 class VideoCaptureDeviceMac; | 18 class VideoCaptureDeviceMac; |
| 19 } | 19 } |
| 20 | 20 |
| 21 @class CrAVCaptureDevice; | 21 @class CrAVCaptureDevice; |
| 22 @class CrAVCaptureSession; | 22 @class CrAVCaptureSession; |
| 23 @class CrAVCaptureVideoDataOutput; | 23 @class CrAVCaptureVideoDataOutput; |
| 24 @class CrAVCaptureStillImageOutput; | 24 @class CrAVCaptureStillImageOutput; |
| 25 | 25 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 // Stops video capturing and stops listening to notifications. | 118 // Stops video capturing and stops listening to notifications. |
| 119 - (void)stopCapture; | 119 - (void)stopCapture; |
| 120 | 120 |
| 121 // Takes a photo. This method should only be called between -startCapture and | 121 // Takes a photo. This method should only be called between -startCapture and |
| 122 // -stopCapture. | 122 // -stopCapture. |
| 123 - (void)takePhoto; | 123 - (void)takePhoto; |
| 124 | 124 |
| 125 @end | 125 @end |
| 126 | 126 |
| 127 #endif // MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_ | 127 #endif // DEVICE_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_ |
| OLD | NEW |