Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: media/capture/video/mac/platform_video_capturing_mac.h

Issue 1815983003: Remove deprecated QTKit Video Capture Support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_PLATFORM_VIDEO_CAPTURING_MAC_H_ 5 #ifndef MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
6 #define MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_ 6 #define MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 namespace media { 10 namespace media {
11 class VideoCaptureDeviceMac; 11 class VideoCaptureDeviceMac;
12 } 12 }
13 13
14 // Protocol representing platform-dependent video capture on Mac, implemented 14 // Protocol representing platform-dependent video capture on Mac.
15 // by both QTKit and AVFoundation APIs.
16 @protocol PlatformVideoCapturingMac<NSObject> 15 @protocol PlatformVideoCapturingMac<NSObject>
17 16
18 // This method initializes the instance by calling NSObject |init| and registers 17 // This method initializes the instance by calling NSObject |init| and registers
19 // internally a frame receiver at the same time. The frame receiver is supposed 18 // internally a frame receiver at the same time. The frame receiver is supposed
20 // to be initialised before and outlive the VideoCapturingDeviceMac 19 // to be initialised before and outlive the VideoCapturingDeviceMac
21 // implementation. 20 // implementation.
22 - (id)initWithFrameReceiver:(media::VideoCaptureDeviceMac*)frameReceiver; 21 - (id)initWithFrameReceiver:(media::VideoCaptureDeviceMac*)frameReceiver;
23 22
24 // Sets the frame receiver. This method executes the registration in mutual 23 // Sets the frame receiver. This method executes the registration in mutual
25 // exclusion. 24 // exclusion.
(...skipping 18 matching lines...) Expand all
44 // Starts video capturing, registers observers. Returns YES on success, NO 43 // Starts video capturing, registers observers. Returns YES on success, NO
45 // otherwise. 44 // otherwise.
46 - (BOOL)startCapture; 45 - (BOOL)startCapture;
47 46
48 // Stops video capturing, unregisters observers. 47 // Stops video capturing, unregisters observers.
49 - (void)stopCapture; 48 - (void)stopCapture;
50 49
51 @end 50 @end
52 51
53 #endif // MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_ 52 #endif // MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
OLDNEW
« no previous file with comments | « media/capture/device_monitor_mac.mm ('k') | media/capture/video/mac/video_capture_device_factory_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698