| Index: content/browser/renderer_host/media/video_capture_host.h
|
| ===================================================================
|
| --- content/browser/renderer_host/media/video_capture_host.h (revision 138673)
|
| +++ content/browser/renderer_host/media/video_capture_host.h (working copy)
|
| @@ -78,6 +78,7 @@
|
| int width,
|
| int height,
|
| int frame_per_second) OVERRIDE;
|
| + virtual void OnPaused(const VideoCaptureControllerID& id) OVERRIDE;
|
| virtual void OnReadyToDelete(const VideoCaptureControllerID& id) OVERRIDE;
|
|
|
| private:
|
| @@ -114,29 +115,32 @@
|
|
|
| // Called on the IO thread when VideoCaptureController have
|
| // reported that all DIBs have been returned.
|
| - void DoDeleteVideoCaptureController(const VideoCaptureControllerID& id);
|
| + void DoDeleteVideoCaptureControllerOnIOThread(
|
| + const VideoCaptureControllerID& id);
|
|
|
| // Send a newly created buffer to the VideoCaptureMessageFilter.
|
| - void DoSendNewBuffer(int device_id,
|
| - base::SharedMemoryHandle handle,
|
| - int length,
|
| - int buffer_id);
|
| + void DoSendNewBufferOnIOThread(int device_id,
|
| + base::SharedMemoryHandle handle,
|
| + int length,
|
| + int buffer_id);
|
|
|
| // Send a filled buffer to the VideoCaptureMessageFilter.
|
| - void DoSendFilledBuffer(int device_id,
|
| - int buffer_id,
|
| - base::Time timestamp);
|
| + void DoSendFilledBufferOnIOThread(int device_id,
|
| + int buffer_id,
|
| + base::Time timestamp);
|
|
|
| // Send a information about frame resolution and frame rate
|
| // to the VideoCaptureMessageFilter.
|
| - void DoSendFrameInfo(int device_id,
|
| - int width,
|
| - int height,
|
| - int frame_per_second);
|
| + void DoSendFrameInfoOnIOThread(int device_id,
|
| + int width,
|
| + int height,
|
| + int frame_per_second);
|
|
|
| // Handle error coming from VideoCaptureDevice.
|
| - void DoHandleError(int device_id);
|
| + void DoHandleErrorOnIOThread(int device_id);
|
|
|
| + void DoPausedOnIOThread(int device_id);
|
| +
|
| // Helpers.
|
| media_stream::VideoCaptureManager* GetVideoCaptureManager();
|
|
|
|
|