• 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 MultiColumnSetPainter_h
6 #define MultiColumnSetPainter_h
7 
8 namespace blink {
9 
10 struct PaintInfo;
11 class LayoutPoint;
12 class RenderMultiColumnSet;
13 
14 class MultiColumnSetPainter {
15 public:
MultiColumnSetPainter(RenderMultiColumnSet & renderMultiColumnSet)16     MultiColumnSetPainter(RenderMultiColumnSet& renderMultiColumnSet) : m_renderMultiColumnSet(renderMultiColumnSet) { }
17     void paintObject(PaintInfo&, const LayoutPoint& paintOffset);
18 
19 private:
20     void paintColumnRules(PaintInfo&, const LayoutPoint& paintOffset);
21 
22     RenderMultiColumnSet& m_renderMultiColumnSet;
23 };
24 
25 } // namespace blink
26 
27 #endif // MultiColumnSetPainter_h
28