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