Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1080)

Unified Diff: Source/core/paint/LineBoxListPainter.h

Issue 585943004: Move painting code from RenderLineBoxList to LineBoxListPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/paint/InlinePainter.cpp ('k') | Source/core/paint/LineBoxListPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/LineBoxListPainter.h
diff --git a/Source/core/paint/LineBoxListPainter.h b/Source/core/paint/LineBoxListPainter.h
new file mode 100644
index 0000000000000000000000000000000000000000..1f6134f77bbfc8eb9545aa97bcc50ae0022b0390
--- /dev/null
+++ b/Source/core/paint/LineBoxListPainter.h
@@ -0,0 +1,29 @@
+// 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 LineBoxListPainter_h
+#define LineBoxListPainter_h
+
+#include "core/rendering/style/RenderStyleConstants.h"
+
+namespace blink {
+
+class LayoutPoint;
+struct PaintInfo;
+class RenderBoxModelObject;
+class RenderLineBoxList;
+
+class LineBoxListPainter {
+public:
+ LineBoxListPainter(RenderLineBoxList& renderLineBoxList) : m_renderLineBoxList(renderLineBoxList) { }
+
+ void paint(RenderBoxModelObject*, PaintInfo&, const LayoutPoint&) const;
+
+private:
+ RenderLineBoxList& m_renderLineBoxList;
+};
+
+} // namespace blink
+
+#endif // LineBoxListPainter_h
« no previous file with comments | « Source/core/paint/InlinePainter.cpp ('k') | Source/core/paint/LineBoxListPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698