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

Side by Side Diff: ppapi/api/dev/ppb_video_capture_dev.idl

Issue 9372122: Make VideoCapture_Dev backward compatible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/cpp/dev/video_capture_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 5
6 /** 6 /**
7 * This file defines the <code>PPB_VideoCapture_Dev</code> interface. 7 * This file defines the <code>PPB_VideoCapture_Dev</code> interface.
8 */ 8 */
9 label Chrome { 9 label Chrome {
10 M14 = 0.1, 10 M14 = 0.1,
11 M18 = 0.2 11 M19 = 0.2
12 }; 12 };
13 13
14 /** 14 /**
15 * Video capture interface. It goes hand-in-hand with PPP_VideoCapture_Dev. 15 * Video capture interface. It goes hand-in-hand with PPP_VideoCapture_Dev.
16 * 16 *
17 * Theory of operation: 17 * Theory of operation:
18 * 1- Create a VideoCapture resource using Create. 18 * 1- Create a VideoCapture resource using Create.
19 * 2- Find available video capture devices using EnumerateDevices. 19 * 2- Find available video capture devices using EnumerateDevices.
20 * 3- Open a video capture device. In addition to a device reference (0 can be 20 * 3- Open a video capture device. In addition to a device reference (0 can be
21 * used to indicate the default device), you pass in the requested info 21 * used to indicate the default device), you pass in the requested info
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 /** 147 /**
148 * Closes the video capture device, and stops capturing if necessary. It is 148 * Closes the video capture device, and stops capturing if necessary. It is
149 * not valid to call |Open()| again after a call to this method. 149 * not valid to call |Open()| again after a call to this method.
150 * If a video capture resource is destroyed while a device is still open, then 150 * If a video capture resource is destroyed while a device is still open, then
151 * it will be implicitly closed, so you are not required to call this method. 151 * it will be implicitly closed, so you are not required to call this method.
152 */ 152 */
153 [version=0.2] 153 [version=0.2]
154 void Close( 154 void Close(
155 [in] PP_Resource video_capture); 155 [in] PP_Resource video_capture);
156 }; 156 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/cpp/dev/video_capture_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698