Index: Source/core/paint/MultiColumnSetPainter.h |
diff --git a/Source/core/paint/MultiColumnSetPainter.h b/Source/core/paint/MultiColumnSetPainter.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cf557b068a591d911c6a18ea90ebf5e71d09e2ba |
--- /dev/null |
+++ b/Source/core/paint/MultiColumnSetPainter.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef MultiColumnSetPainter_h |
+#define MultiColumnSetPainter_h |
+ |
+namespace blink { |
+ |
+struct PaintInfo; |
+class LayoutPoint; |
+class RenderMultiColumnSet; |
+ |
+class MultiColumnSetPainter { |
+public: |
+ MultiColumnSetPainter(RenderMultiColumnSet& renderMultiColumnSet) : m_renderMultiColumnSet(renderMultiColumnSet) { } |
+ void paintObject(PaintInfo&, const LayoutPoint& paintOffset); |
+ |
+private: |
+ void paintColumnRules(PaintInfo&, const LayoutPoint& paintOffset); |
+ |
+ RenderMultiColumnSet& m_renderMultiColumnSet; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // MultiColumnSetPainter_h |