Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1354)

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1467103003: Basic use implementation for MediaStream from Canvas: captureStream() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added new interface to LayoutTests. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1703be68b1f34e2408953a601ff131018099bc67..dd436503ee65c62de8457cda62af5b1878f4adc0 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;
@@ -644,6 +646,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&, double, WebMediaStream*) { return nullptr; }
// WebWorker ----------------------------------------------------------
virtual void didStartWorkerRunLoop() { }
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/platform/WebCanvasCaptureHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698