Chromium Code Reviews| Index: content/renderer/pepper/pepper_video_capture_host.h |
| diff --git a/content/renderer/pepper/pepper_video_capture_host.h b/content/renderer/pepper/pepper_video_capture_host.h |
| index ab6a3046a2daed39c55031a7db8ea8794c5705cd..0c47b29cd88b6b6ebf444ab85f383511ba14ba5d 100644 |
| --- a/content/renderer/pepper/pepper_video_capture_host.h |
| +++ b/content/renderer/pepper/pepper_video_capture_host.h |
| @@ -47,9 +47,6 @@ class PepperVideoCaptureHost |
| virtual void OnFrameReady( |
| media::VideoCapture* capture, |
| const scoped_refptr<media::VideoFrame>& frame) OVERRIDE; |
| - virtual void OnDeviceInfoReceived( |
| - media::VideoCapture* capture, |
| - const media::VideoCaptureParams& device_info) OVERRIDE; |
| private: |
| int32_t OnOpen(ppapi::host::HostMessageContext* context, |
| @@ -64,6 +61,9 @@ class PepperVideoCaptureHost |
| int32_t StopCapture(); |
| int32_t Close(); |
| + void Error(); |
|
bbudge
2013/10/22 18:13:10
Could you rename this to SendErrorReply?
ncarter (slow)
2013/10/22 18:22:33
Done.
|
| + void AllocBuffers(const gfx::Size& resolution, |
| + int frame_rate); |
| void ReleaseBuffers(); |
| void SendStatus(); |
| @@ -88,10 +88,11 @@ class PepperVideoCaptureHost |
| RendererPpapiHostImpl* renderer_ppapi_host_; |
| + gfx::Size alloc_size_; |
| std::vector<BufferInfo> buffers_; |
| size_t buffer_count_hint_; |
| - media::VideoCaptureCapability capability_; |
| + media::VideoCaptureParams param_request_; |
|
bbudge
2013/10/22 18:13:10
Could you rename this 'video_capture_params_'?
ncarter (slow)
2013/10/22 18:22:33
Done.
|
| PP_VideoCaptureStatus_Dev status_; |