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

Side by Side Diff: ppapi/c/dev/pp_video_capture_dev.h

Issue 8522002: Add values to all dev Pepper .idl enumerations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « ppapi/api/dev/ppb_file_chooser_dev.idl ('k') | ppapi/c/dev/pp_video_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) 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 5
6 /* From dev/pp_video_capture_dev.idl modified Wed Oct 5 15:55:11 2011. */ 6 /* From dev/pp_video_capture_dev.idl modified Fri Nov 11 20:19:26 2011. */
7 7
8 #ifndef PPAPI_C_DEV_PP_VIDEO_CAPTURE_DEV_H_ 8 #ifndef PPAPI_C_DEV_PP_VIDEO_CAPTURE_DEV_H_
9 #define PPAPI_C_DEV_PP_VIDEO_CAPTURE_DEV_H_ 9 #define PPAPI_C_DEV_PP_VIDEO_CAPTURE_DEV_H_
10 10
11 #include "ppapi/c/pp_macros.h" 11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_stdint.h" 12 #include "ppapi/c/pp_stdint.h"
13 13
14 /** 14 /**
15 * @file 15 * @file
16 * Structs for dealing with video capture. 16 * Structs for dealing with video capture.
(...skipping 23 matching lines...) Expand all
40 * @{ 40 * @{
41 */ 41 */
42 /** 42 /**
43 * PP_VideoCaptureStatus_Dev is an enumeration that defines the various possible 43 * PP_VideoCaptureStatus_Dev is an enumeration that defines the various possible
44 * states of a VideoCapture. 44 * states of a VideoCapture.
45 */ 45 */
46 typedef enum { 46 typedef enum {
47 /** 47 /**
48 * Initial state, capture is stopped. 48 * Initial state, capture is stopped.
49 */ 49 */
50 PP_VIDEO_CAPTURE_STATUS_STOPPED, 50 PP_VIDEO_CAPTURE_STATUS_STOPPED = 0,
51 /** 51 /**
52 * StartCapture has been called, but capture hasn't started yet. 52 * StartCapture has been called, but capture hasn't started yet.
53 */ 53 */
54 PP_VIDEO_CAPTURE_STATUS_STARTING, 54 PP_VIDEO_CAPTURE_STATUS_STARTING = 1,
55 /** 55 /**
56 * Capture is started. 56 * Capture has been started.
57 */ 57 */
58 PP_VIDEO_CAPTURE_STATUS_STARTED, 58 PP_VIDEO_CAPTURE_STATUS_STARTED = 2,
59 /** 59 /**
60 * Capture has been started, but is paused because no buffer is available. 60 * Capture has been started, but is paused because no buffer is available.
61 */ 61 */
62 PP_VIDEO_CAPTURE_STATUS_PAUSED, 62 PP_VIDEO_CAPTURE_STATUS_PAUSED = 3,
63 /** 63 /**
64 * StopCapture has been called, but capture hasn't stopped yet. 64 * StopCapture has been called, but capture hasn't stopped yet.
65 */ 65 */
66 PP_VIDEO_CAPTURE_STATUS_STOPPING 66 PP_VIDEO_CAPTURE_STATUS_STOPPING = 4
67 } PP_VideoCaptureStatus_Dev; 67 } PP_VideoCaptureStatus_Dev;
68 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoCaptureStatus_Dev, 4); 68 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoCaptureStatus_Dev, 4);
69 /** 69 /**
70 * @} 70 * @}
71 */ 71 */
72 72
73 #endif /* PPAPI_C_DEV_PP_VIDEO_CAPTURE_DEV_H_ */ 73 #endif /* PPAPI_C_DEV_PP_VIDEO_CAPTURE_DEV_H_ */
74 74
OLDNEW
« no previous file with comments | « ppapi/api/dev/ppb_file_chooser_dev.idl ('k') | ppapi/c/dev/pp_video_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698