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

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

Issue 2553133002: Better isPageLogicalHeightKnown() implementation. (Closed)
Patch Set: Created 4 years 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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 2be975e3b7eea761eb65ffe6e9d9d9c499f84b83..76046f4458d40ee2af54b3e78345c67c9d5d5cad 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -779,6 +779,7 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
// exactly at a page or column boundary.
enum PageBoundaryRule { AssociateWithFormerPage, AssociateWithLatterPage };
LayoutUnit pageLogicalHeightForOffset(LayoutUnit) const;
+ bool isPageLogicalHeightKnown() const;
LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit,
PageBoundaryRule) const;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.h ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698