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 BlockPainter_h | 5 #ifndef BlockPainter_h |
6 #define BlockPainter_h | 6 #define BlockPainter_h |
7 | 7 |
8 #include "core/rendering/RenderBlock.h" | |
chrishtr
2014/09/22 22:39:49
Just some include dependency cleanup.
| |
9 | |
10 namespace blink { | 8 namespace blink { |
11 | 9 |
12 struct PaintInfo; | 10 struct PaintInfo; |
13 class LayoutPoint; | 11 class LayoutPoint; |
12 class LayoutRect; | |
13 class RenderBlock; | |
14 class RenderBox; | |
15 class RenderObject; | |
14 | 16 |
15 class BlockPainter { | 17 class BlockPainter { |
16 public: | 18 public: |
17 BlockPainter(RenderBlock& block) : m_renderBlock(block) { } | 19 BlockPainter(RenderBlock& block) : m_renderBlock(block) { } |
18 | 20 |
19 void paint(PaintInfo&, const LayoutPoint& paintOffset); | 21 void paint(PaintInfo&, const LayoutPoint& paintOffset); |
20 void paintObject(PaintInfo&, const LayoutPoint&); | 22 void paintObject(PaintInfo&, const LayoutPoint&); |
21 void paintChildren(PaintInfo&, const LayoutPoint&); | 23 void paintChildren(PaintInfo&, const LayoutPoint&); |
22 void paintChildAsInlineBlock(RenderBox*, PaintInfo&, const LayoutPoint&); | 24 void paintChildAsInlineBlock(RenderBox*, PaintInfo&, const LayoutPoint&); |
23 | 25 |
(...skipping 12 matching lines...) Expand all Loading... | |
36 void paintChild(RenderBox*, PaintInfo&, const LayoutPoint&); | 38 void paintChild(RenderBox*, PaintInfo&, const LayoutPoint&); |
37 void paintSelection(PaintInfo&, const LayoutPoint&); | 39 void paintSelection(PaintInfo&, const LayoutPoint&); |
38 void paintContinuationOutlines(PaintInfo&, const LayoutPoint&); | 40 void paintContinuationOutlines(PaintInfo&, const LayoutPoint&); |
39 | 41 |
40 RenderBlock& m_renderBlock; | 42 RenderBlock& m_renderBlock; |
41 }; | 43 }; |
42 | 44 |
43 } // namespace blink | 45 } // namespace blink |
44 | 46 |
45 #endif // BlockPainter_h | 47 #endif // BlockPainter_h |
OLD | NEW |