| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 VideoPainter_h | 5 #ifndef VideoPainter_h |
| 6 #define VideoPainter_h | 6 #define VideoPainter_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 class GraphicsContext; | |
| 11 struct PaintInfo; | 10 struct PaintInfo; |
| 12 class LayoutPoint; | 11 class LayoutPoint; |
| 13 class LayoutRect; | |
| 14 class RenderVideo; | 12 class RenderVideo; |
| 15 | 13 |
| 16 class VideoPainter { | 14 class VideoPainter { |
| 17 public: | 15 public: |
| 18 VideoPainter(RenderVideo& renderVideo) : m_renderVideo(renderVideo) { } | 16 VideoPainter(RenderVideo& renderVideo) : m_renderVideo(renderVideo) { } |
| 19 | 17 |
| 20 void paintReplaced(PaintInfo&, const LayoutPoint&); | 18 void paintReplaced(PaintInfo&, const LayoutPoint&); |
| 21 | 19 |
| 22 private: | 20 private: |
| 23 | 21 |
| 24 RenderVideo& m_renderVideo; | 22 RenderVideo& m_renderVideo; |
| 25 }; | 23 }; |
| 26 | 24 |
| 27 } // namespace blink | 25 } // namespace blink |
| 28 | 26 |
| 29 #endif // VideoPainter_h | 27 #endif // VideoPainter_h |
| OLD | NEW |