summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderRegion.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RenderRegion.h')
-rw-r--r--Source/WebCore/rendering/RenderRegion.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/WebCore/rendering/RenderRegion.h b/Source/WebCore/rendering/RenderRegion.h
index ee04ecc6d..3d9d5a8a2 100644
--- a/Source/WebCore/rendering/RenderRegion.h
+++ b/Source/WebCore/rendering/RenderRegion.h
@@ -78,8 +78,6 @@ public:
void deleteAllRenderBoxRegionInfo();
- LayoutUnit offsetFromLogicalTopOfFirstPage() const;
-
bool isFirstRegion() const;
bool isLastRegion() const;
@@ -104,6 +102,13 @@ public:
virtual LayoutUnit minPreferredLogicalWidth() const OVERRIDE;
virtual LayoutUnit maxPreferredLogicalWidth() const OVERRIDE;
+ LayoutUnit logicalTopOfFlowThreadContentRect(const LayoutRect&) const;
+ LayoutUnit logicalBottomOfFlowThreadContentRect(const LayoutRect&) const;
+ LayoutUnit logicalTopForFlowThreadContent() const { return logicalTopOfFlowThreadContentRect(flowThreadPortionRect()); };
+ LayoutUnit logicalBottomForFlowThreadContent() const { return logicalBottomOfFlowThreadContentRect(flowThreadPortionRect()); };
+
+ void getRanges(Vector<RefPtr<Range> >&) const;
+
// This method represents the logical height of the entire flow thread portion used by the region or set.
// For RenderRegions it matches logicalPaginationHeight(), but for sets it is the height of all the pages
// or columns added together.