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

Unified Diff: Source/core/layout/LayoutPagedFlowThread.h

Issue 1181483005: Avoid stretching the parent of a column spanner. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update unit tests that used to test the container stretching mechanism Created 5 years, 6 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
Index: Source/core/layout/LayoutPagedFlowThread.h
diff --git a/Source/core/layout/LayoutPagedFlowThread.h b/Source/core/layout/LayoutPagedFlowThread.h
index b30d95d9551e3f09c6f5ffd5408a16cf27c14ee7..c01c708bb77883437bc797ba8e6bf0c82dc93f15 100644
--- a/Source/core/layout/LayoutPagedFlowThread.h
+++ b/Source/core/layout/LayoutPagedFlowThread.h
@@ -19,6 +19,9 @@ public:
LayoutBlockFlow* pagedBlockFlow() const { return toLayoutBlockFlow(parent()); }
+ // Return the number of pages. Will never be less than 1.
+ int pageCount();
+
virtual bool isLayoutPagedFlowThread() const override { return true; }
virtual const char* name() const override { return "LayoutPagedFlowThread"; }
virtual bool needsNewWidth() const override;
« no previous file with comments | « Source/core/layout/LayoutMultiColumnFlowThreadTest.cpp ('k') | Source/core/layout/LayoutPagedFlowThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698