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 3 // found in the LICENSE file. 4 5 #ifndef VideoPainter_h 6 #define VideoPainter_h 7 8 namespace blink { 9 10 class GraphicsContext; 11 struct PaintInfo; 12 class LayoutPoint; 13 class LayoutRect; 14 class RenderVideo; 15 16 class VideoPainter { 17 public: VideoPainter(RenderVideo & renderVideo)18 VideoPainter(RenderVideo& renderVideo) : m_renderVideo(renderVideo) { } 19 20 void paintReplaced(PaintInfo&, const LayoutPoint&); 21 22 private: 23 24 RenderVideo& m_renderVideo; 25 }; 26 27 } // namespace blink 28 29 #endif // VideoPainter_h 30