| 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 CanvasCaptureMediaStreamTrack_h | 5 #ifndef CanvasCaptureMediaStreamTrack_h |
| 6 #define CanvasCaptureMediaStreamTrack_h | 6 #define CanvasCaptureMediaStreamTrack_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/html/canvas/CanvasDrawListener.h" | 9 #include "core/html/canvas/CanvasDrawListener.h" |
| 9 #include "modules/mediastream/MediaStreamTrack.h" | 10 #include "modules/mediastream/MediaStreamTrack.h" |
| 10 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 11 #include <memory> | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class HTMLCanvasElement; | 15 class HTMLCanvasElement; |
| 16 class WebCanvasCaptureHandler; | 16 class WebCanvasCaptureHandler; |
| 17 | 17 |
| 18 class CanvasCaptureMediaStreamTrack final : public MediaStreamTrack { | 18 class CanvasCaptureMediaStreamTrack final : public MediaStreamTrack { |
| 19 DEFINE_WRAPPERTYPEINFO(); | 19 DEFINE_WRAPPERTYPEINFO(); |
| 20 | 20 |
| 21 public: | 21 public: |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 std::unique_ptr<WebCanvasCaptureHandler>, | 47 std::unique_ptr<WebCanvasCaptureHandler>, |
| 48 double frameRate); | 48 double frameRate); |
| 49 | 49 |
| 50 Member<HTMLCanvasElement> m_canvasElement; | 50 Member<HTMLCanvasElement> m_canvasElement; |
| 51 Member<CanvasDrawListener> m_drawListener; | 51 Member<CanvasDrawListener> m_drawListener; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace blink | 54 } // namespace blink |
| 55 | 55 |
| 56 #endif | 56 #endif |
| OLD | NEW |