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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h

Issue 2493833004: InitialColumnHeightFinder needs to take all expected rows into account. (Closed)
Patch Set: Code review Created 4 years, 1 month 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
Index: third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h b/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h
index 91e67bbfa3ec91e34540a4f522ef34fc8b0556f7..d92d9735c62f0033389ae67afca5a111720a167c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h
+++ b/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h
@@ -107,6 +107,11 @@ class CORE_EXPORT LayoutMultiColumnSet : public LayoutBlockFlow {
LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit,
PageBoundaryRule) const;
bool isPageLogicalHeightKnown() const;
+
+ // Return true if there's nothing with the current state of column balancing
+ // that prevents us from inserting additional fragmentainer groups, if needed.
+ bool newFragmentainerGroupsAllowed() const;
+
LayoutUnit tallestUnbreakableLogicalHeight() const {
return m_tallestUnbreakableLogicalHeight;
}

Powered by Google App Engine
This is Rietveld 408576698