| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef HTMLCanvasElementCapture_h | 5 #ifndef HTMLCanvasElementCapture_h |
| 6 #define HTMLCanvasElementCapture_h | 6 #define HTMLCanvasElementCapture_h |
| 7 | 7 |
| 8 #include "core/html/HTMLCanvasElement.h" | 8 #include "core/html/HTMLCanvasElement.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "wtf/Allocator.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CanvasCaptureMediaStream; | 14 class MediaStream; |
| 15 class ExceptionState; | 15 class ExceptionState; |
| 16 | 16 |
| 17 class HTMLCanvasElementCapture { | 17 class HTMLCanvasElementCapture { |
| 18 STATIC_ONLY(HTMLCanvasElementCapture); | 18 STATIC_ONLY(HTMLCanvasElementCapture); |
| 19 public: | 19 public: |
| 20 static CanvasCaptureMediaStream* captureStream(HTMLCanvasElement&, Exception
State&); | 20 static MediaStream* captureStream(HTMLCanvasElement&, ExceptionState&); |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 } // namespace blink | 23 } // namespace blink |
| 24 | 24 |
| 25 #endif | 25 #endif |
| OLD | NEW |