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 LineBoxListPainter_h | 5 #ifndef LineBoxListPainter_h |
6 #define LineBoxListPainter_h | 6 #define LineBoxListPainter_h |
7 | 7 |
8 #include "core/layout/style/LayoutStyleConstants.h" | 8 #include "core/layout/style/ComputedStyleConstants.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class LayoutPoint; | 12 class LayoutPoint; |
13 struct PaintInfo; | 13 struct PaintInfo; |
14 class LayoutBoxModelObject; | 14 class LayoutBoxModelObject; |
15 class LineBoxList; | 15 class LineBoxList; |
16 | 16 |
17 class LineBoxListPainter { | 17 class LineBoxListPainter { |
18 public: | 18 public: |
19 LineBoxListPainter(LineBoxList& lineBoxList) : m_lineBoxList(lineBoxList) {
} | 19 LineBoxListPainter(LineBoxList& lineBoxList) : m_lineBoxList(lineBoxList) {
} |
20 | 20 |
21 void paint(LayoutBoxModelObject*, const PaintInfo&, const LayoutPoint&) cons
t; | 21 void paint(LayoutBoxModelObject*, const PaintInfo&, const LayoutPoint&) cons
t; |
22 | 22 |
23 private: | 23 private: |
24 LineBoxList& m_lineBoxList; | 24 LineBoxList& m_lineBoxList; |
25 }; | 25 }; |
26 | 26 |
27 } // namespace blink | 27 } // namespace blink |
28 | 28 |
29 #endif // LineBoxListPainter_h | 29 #endif // LineBoxListPainter_h |
OLD | NEW |