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