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 26bc75568a1abc63ad0ecde58bbe045a0772e818..78cd43ba47fff7c7fe4a94db590cafe39267fd16 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -1257,6 +1257,22 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject { |
TransformState::TransformAccumulation, |
VisualRectFlags = kDefaultVisualRectFlags) const; |
+ // Applies the box clip. This is like mapScrollingContentsRectToBoxSpace, |
+ // except it does not apply scroll. |
+ bool ApplyBoxClips(TransformState&, |
+ TransformState::TransformAccumulation, |
+ VisualRectFlags) const; |
+ |
+ // Maps the visual rect state |transformState| from this box into its |
+ // container, applying adjustments for the given container offset, |
+ // scrolling, container clipping, and transform (including container |
+ // perspective). |
+ bool MapVisualRectToContainer(const LayoutObject* container_bject, |
+ const LayoutPoint& container_offset, |
+ const LayoutObject* ancestor, |
+ VisualRectFlags, |
+ TransformState&) const; |
+ |
virtual bool HasRelativeLogicalWidth() const; |
virtual bool HasRelativeLogicalHeight() const; |