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 851d68f7a7a2fe8e3bf54af77b68a9ceb64fd6ac..1a09ce3a63d9266618cd833e98f8334a134b10bb 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -61,6 +61,7 @@ namespace blink { |
class WebAudioBus; |
class WebBlobRegistry; |
+class WebCanvasCaptureHandler; |
class WebClipboard; |
class WebCompositorSupport; |
class WebConvertableToTraceFormat; |
@@ -80,6 +81,7 @@ class WebIDBFactory; |
class WebMIDIAccessor; |
class WebMIDIAccessorClient; |
class WebMediaRecorderHandler; |
+class WebMediaStream; |
class WebMediaStreamCenter; |
class WebMediaStreamCenterClient; |
class WebMemoryDumpProvider; |
@@ -640,6 +642,8 @@ public: |
// May return null if WebRTC functionality is not avaliable or out of resources. |
virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterClient*) { return nullptr; } |
+ // Creates an WebCanvasCaptureHandler to capture Canvas output. |
+ virtual WebCanvasCaptureHandler* createCanvasCaptureHandler(const WebSize& size, WebMediaStream* stream) { return nullptr; } |
// WebWorker ---------------------------------------------------------- |
virtual void didStartWorkerRunLoop() { } |