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

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

Issue 364233005: [New Multicolumn] Support for paged overflow. (By mstensho). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Run fast/pagination in virtual/regionbasedmulticol. Created 6 years, 5 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/core.gypi ('k') | Source/core/rendering/RenderBlockFlow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderBlockFlow.h
diff --git a/Source/core/rendering/RenderBlockFlow.h b/Source/core/rendering/RenderBlockFlow.h
index 6c52afaa07c006ae2063b13f1d14bb56e6fd4fc3..1c77a074c2737aba5c19754a684393a65fd7267a 100644
--- a/Source/core/rendering/RenderBlockFlow.h
+++ b/Source/core/rendering/RenderBlockFlow.h
@@ -291,7 +291,18 @@ private:
virtual RootInlineBox* createRootInlineBox(); // Subclassed by SVG
- void createOrDestroyMultiColumnFlowThreadIfNeeded();
+ bool isPagedOverflow(const RenderStyle*);
+
+ enum FlowThreadType {
+ NoFlowThread,
+ MultiColumnFlowThread,
+ PagedFlowThread
+ };
+
+ FlowThreadType flowThreadType(const RenderStyle*);
+
+ RenderMultiColumnFlowThread* createMultiColumnFlowThread(FlowThreadType);
+ void createOrDestroyMultiColumnFlowThreadIfNeeded(const RenderStyle* oldStyle);
void updateLogicalWidthForAlignment(const ETextAlign&, const RootInlineBox*, BidiRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float& availableLogicalWidth, unsigned expansionOpportunityCount);
void checkForPaginationLogicalHeightChange(LayoutUnit& pageLogicalHeight, bool& pageLogicalHeightChanged, bool& hasSpecifiedPageLogicalHeight);
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/rendering/RenderBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698