[content shell] hook up testRunner.dumpEditingCallbacks
[chromium-blink-merge.git] / content / common / media / video_capture.h
blob6494c8b45b59ce74588ced20441dfab7b12de996
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
3 // found in the LICENSE file.
4 //
5 // This file contains commonly used definitions of video capture.
7 #ifndef CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_
8 #define CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_
10 namespace content {
12 // Current status of the video capture device. It's used by multiple classes
13 // in browser process and renderer process.
14 // Browser process sends information about the current capture state and
15 // error to the renderer process using this type.
16 enum VideoCaptureState {
17 VIDEO_CAPTURE_STATE_STARTING,
18 VIDEO_CAPTURE_STATE_STARTED,
19 VIDEO_CAPTURE_STATE_PAUSED,
20 VIDEO_CAPTURE_STATE_STOPPING,
21 VIDEO_CAPTURE_STATE_STOPPED,
22 VIDEO_CAPTURE_STATE_ERROR,
25 } // namespace content
27 #endif // CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_