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

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

Issue 1469783002: Cleanup: Correctly spell success(ful). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format media Created 5 years 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // VideoCaptureDeviceQTKit implements all QTKit related code for 5 // VideoCaptureDeviceQTKit implements all QTKit related code for
6 // communicating with a QTKit capture device. 6 // communicating with a QTKit capture device.
7 7
8 #ifndef MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_ 8 #ifndef MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_
9 #define MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_ 9 #define MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_
10 10
11 #import <Foundation/Foundation.h> 11 #import <Foundation/Foundation.h>
12 12
13 #include <vector> 13 #include <vector>
14 14
15 #import "media/capture/video/mac/platform_video_capturing_mac.h" 15 #import "media/capture/video/mac/platform_video_capturing_mac.h"
16 16
17 namespace media { 17 namespace media {
18 class VideoCaptureDeviceMac; 18 class VideoCaptureDeviceMac;
19 } 19 }
(...skipping 27 matching lines...) Expand all
47 // Returns a dictionary of capture devices with friendly name and unique id, via 47 // Returns a dictionary of capture devices with friendly name and unique id, via
48 // runing +getDeviceNames: on Main Thread. 48 // runing +getDeviceNames: on Main Thread.
49 + (NSDictionary*)deviceNames; 49 + (NSDictionary*)deviceNames;
50 50
51 // Initializes the instance and registers the frame receiver. 51 // Initializes the instance and registers the frame receiver.
52 - (id)initWithFrameReceiver:(media::VideoCaptureDeviceMac*)frameReceiver; 52 - (id)initWithFrameReceiver:(media::VideoCaptureDeviceMac*)frameReceiver;
53 53
54 // Set the frame receiver. 54 // Set the frame receiver.
55 - (void)setFrameReceiver:(media::VideoCaptureDeviceMac*)frameReceiver; 55 - (void)setFrameReceiver:(media::VideoCaptureDeviceMac*)frameReceiver;
56 56
57 // Sets which capture device to use. Returns YES on sucess, NO otherwise. 57 // Sets which capture device to use. Returns YES on success, NO otherwise.
58 - (BOOL)setCaptureDevice:(NSString*)deviceId; 58 - (BOOL)setCaptureDevice:(NSString*)deviceId;
59 59
60 // Configures the capture properties. 60 // Configures the capture properties.
61 - (BOOL)setCaptureHeight:(int)height 61 - (BOOL)setCaptureHeight:(int)height
62 width:(int)width 62 width:(int)width
63 frameRate:(float)frameRate; 63 frameRate:(float)frameRate;
64 64
65 // Start video capturing. Returns YES on sucess, NO otherwise. 65 // Start video capturing. Returns YES on success, NO otherwise.
66 - (BOOL)startCapture; 66 - (BOOL)startCapture;
67 67
68 // Stops video capturing. 68 // Stops video capturing.
69 - (void)stopCapture; 69 - (void)stopCapture;
70 70
71 // Handle any QTCaptureSessionRuntimeErrorNotifications. 71 // Handle any QTCaptureSessionRuntimeErrorNotifications.
72 - (void)handleNotification:(NSNotification*)errorNotification; 72 - (void)handleNotification:(NSNotification*)errorNotification;
73 73
74 @end 74 @end
75 75
76 #endif // MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_ 76 #endif // MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_
OLDNEW
« no previous file with comments | « media/capture/video/mac/video_capture_device_avfoundation_mac.h ('k') | media/cast/sender/video_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698