Chromium Code Reviews| Index: Source/core/paint/VideoPainter.h |
| diff --git a/Source/core/paint/HTMLCanvasPainter.h b/Source/core/paint/VideoPainter.h |
| similarity index 51% |
| copy from Source/core/paint/HTMLCanvasPainter.h |
| copy to Source/core/paint/VideoPainter.h |
| index 376ab6f2c80d29bb1a47c66607f59cf1ab73d4a5..30d5701281d7abf911be44074309beb7279de5f8 100644 |
| --- a/Source/core/paint/HTMLCanvasPainter.h |
| +++ b/Source/core/paint/VideoPainter.h |
| @@ -2,24 +2,29 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef HTMLCanvasPainter_h |
| -#define HTMLCanvasPainter_h |
| +#ifndef VideoPainter_h |
| +#define VideoPainter_h |
| namespace blink { |
| +class GraphicsContext; |
| struct PaintInfo; |
| class LayoutPoint; |
| -class RenderHTMLCanvas; |
| +class LayoutRect; |
| +class RenderVideo; |
| -class HTMLCanvasPainter { |
| +class VideoPainter { |
| public: |
| - HTMLCanvasPainter(RenderHTMLCanvas& renderHTMLCanvas) : m_renderHTMLCanvas(renderHTMLCanvas) { } |
| + VideoPainter(RenderVideo& renderVideo) : m_renderVideo(renderVideo) { } |
| + |
| + void paint(PaintInfo&, const LayoutPoint&); |
|
Stephen Chennney
2014/09/24 15:08:18
This is never defined as far as I can see. Is it e
chrishtr
2014/09/24 16:30:25
Removed.
|
| void paintReplaced(PaintInfo&, const LayoutPoint&); |
| private: |
| - RenderHTMLCanvas& m_renderHTMLCanvas; |
| + |
| + RenderVideo& m_renderVideo; |
| }; |
| } // namespace blink |
| -#endif // HTMLCanvasPainter_h |
| +#endif // VideoPainter_h |