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 BlockFlowPainter_h | 5 #ifndef BlockFlowPainter_h |
6 #define BlockFlowPainter_h | 6 #define BlockFlowPainter_h |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 class FloatingObject; | |
11 class LayoutPoint; | 10 class LayoutPoint; |
12 struct PaintInfo; | 11 struct PaintInfo; |
13 class RenderBlockFlow; | 12 class RenderBlockFlow; |
14 | 13 |
15 class BlockFlowPainter { | 14 class BlockFlowPainter { |
16 public: | 15 public: |
17 BlockFlowPainter(RenderBlockFlow& renderBlockFlow) : m_renderBlockFlow(rende
rBlockFlow) { } | 16 BlockFlowPainter(RenderBlockFlow& renderBlockFlow) : m_renderBlockFlow(rende
rBlockFlow) { } |
18 void paintFloats(PaintInfo&, const LayoutPoint&, bool preservePhase); | 17 void paintFloats(PaintInfo&, const LayoutPoint&, bool preservePhase); |
19 | 18 |
20 private: | 19 private: |
21 RenderBlockFlow& m_renderBlockFlow; | 20 RenderBlockFlow& m_renderBlockFlow; |
22 }; | 21 }; |
23 | 22 |
24 } // namespace blink | 23 } // namespace blink |
25 | 24 |
26 #endif // BlockFlowPainter_h | 25 #endif // BlockFlowPainter_h |
OLD | NEW |