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 LineBoxListPainter_h 6 #define LineBoxListPainter_h 7 8 #include "core/rendering/style/RenderStyleConstants.h" 9 10 namespace blink { 11 12 class LayoutPoint; 13 struct PaintInfo; 14 class RenderBoxModelObject; 15 class RenderLineBoxList; 16 17 class LineBoxListPainter { 18 public: 19 LineBoxListPainter(RenderLineBoxList& renderLineBoxList) : m_renderLineBoxList(renderLineBoxList) { } 20 21 void paint(RenderBoxModelObject*, PaintInfo&, const LayoutPoint&) const; 22 23 private: 24 RenderLineBoxList& m_renderLineBoxList; 25 }; 26 27 } // namespace blink 28 29 #endif // LineBoxListPainter_h 30