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

Unified Diff: Source/core/rendering/RenderMultiColumnSet.h

Issue 601623002: Move paint code from RenderMultiColumnSet to MultiColumnSetPainter. (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/MultiColumnSetPainter.cpp ('k') | Source/core/rendering/RenderMultiColumnSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderMultiColumnSet.h
diff --git a/Source/core/rendering/RenderMultiColumnSet.h b/Source/core/rendering/RenderMultiColumnSet.h
index c09e482d166a8f0c834eb36c2c0a78627c40c0c9..a1deccd2bf19b9f1c442ab376b0e37e9833cc073 100644
--- a/Source/core/rendering/RenderMultiColumnSet.h
+++ b/Source/core/rendering/RenderMultiColumnSet.h
@@ -127,6 +127,11 @@ public:
void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRect);
+ LayoutUnit columnGap() const;
+
+ // The "CSS actual" value of column-count. This includes overflowing columns, if any.
+ unsigned actualColumnCount() const;
+
private:
RenderMultiColumnSet(RenderFlowThread*);
@@ -141,14 +146,9 @@ private:
virtual const char* renderName() const OVERRIDE;
- void paintColumnRules(PaintInfo&, const LayoutPoint& paintOffset);
-
LayoutUnit calculateMaxColumnHeight() const;
- LayoutUnit columnGap() const;
LayoutRect columnRectAt(unsigned index) const;
- // The "CSS actual" value of column-count. This includes overflowing columns, if any.
- unsigned actualColumnCount() const;
LayoutRect flowThreadPortionRectAt(unsigned index) const;
LayoutRect flowThreadPortionOverflowRect(const LayoutRect& flowThreadPortion, unsigned index, unsigned colCount, LayoutUnit colGap) const;
« no previous file with comments | « Source/core/paint/MultiColumnSetPainter.cpp ('k') | Source/core/rendering/RenderMultiColumnSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698