| Index: third_party/WebKit/public/platform/Platform.h
|
| diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
|
| index 06a6d53b268c84cbeacd53698f7e33b1ed77ca21..8ef77e417969e2fc85f37d61461a4924d8e0c441 100644
|
| --- a/third_party/WebKit/public/platform/Platform.h
|
| +++ b/third_party/WebKit/public/platform/Platform.h
|
| @@ -78,6 +78,7 @@ class WebGeofencingProvider;
|
| class WebGestureCurve;
|
| class WebGraphicsContext3DProvider;
|
| class WebIDBFactory;
|
| +class WebImageCaptureFrameGrabber;
|
| class WebInstalledApp;
|
| class WebMIDIAccessor;
|
| class WebMIDIAccessorClient;
|
| @@ -501,11 +502,11 @@ public:
|
|
|
| // WebRTC ----------------------------------------------------------
|
|
|
| - // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection.
|
| + // Creates a WebRTCPeerConnectionHandler for RTCPeerConnection.
|
| // May return null if WebRTC functionality is not avaliable or if it's out of resources.
|
| virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPeerConnectionHandlerClient*) { return nullptr; }
|
|
|
| - // Creates an WebMediaRecorderHandler to record MediaStreams.
|
| + // Creates a WebMediaRecorderHandler to record MediaStreams.
|
| // May return null if the functionality is not available or out of resources.
|
| virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullptr; }
|
|
|
| @@ -515,13 +516,17 @@ public:
|
| // May return null if WebRTC functionality is not available or out of resources.
|
| virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterClient*) { return nullptr; }
|
|
|
| - // Creates an WebCanvasCaptureHandler to capture Canvas output.
|
| + // Creates a WebCanvasCaptureHandler to capture Canvas output.
|
| virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize&, double, WebMediaStreamTrack*) { return nullptr; }
|
|
|
| // Fills in the WebMediaStream to capture from the WebMediaPlayer identified
|
| // by the second parameter.
|
| virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer*) {}
|
|
|
| + // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Tracks.
|
| + // May return null if the functionality is not available.
|
| + virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { return nullptr; }
|
| +
|
| // WebWorker ----------------------------------------------------------
|
|
|
| virtual void didStartWorkerThread() { }
|
|
|