Index: third_party/WebKit/Source/modules/mediacapturefromelement/HTMLCanvasElementCapture.h |
diff --git a/third_party/WebKit/Source/modules/mediacapturefromelement/HTMLCanvasElementCapture.h b/third_party/WebKit/Source/modules/mediacapturefromelement/HTMLCanvasElementCapture.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..08f8dde2bd15ba3e68d95ac77c19b734363e4fcf |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/mediacapturefromelement/HTMLCanvasElementCapture.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef HTMLCanvasElementCapture_h |
+#define HTMLCanvasElementCapture_h |
+ |
+#include "core/html/HTMLCanvasElement.h" |
+#include "platform/heap/Handle.h" |
+#include "wtf/Allocator.h" |
+ |
+namespace blink { |
+ |
+class CanvasCaptureMediaStream; |
+class ExceptionState; |
+ |
+class HTMLCanvasElementCapture : public NoBaseWillBeGarbageCollectedFinalized<HTMLCanvasElementCapture>, public HTMLCanvasElement { |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLCanvasElementCapture); |
+public: |
+ static CanvasCaptureMediaStream* captureStream(HTMLCanvasElement&, ExceptionState&); |
+ DEFINE_INLINE_VIRTUAL_TRACE() { HTMLCanvasElement::trace(visitor); }; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif |