| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
|
| index bf6aace83d6c02d6d0e361c36ba41e5f74df2be6..36678a2e9335df42dac6e0dba53b10120b08795d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
|
| @@ -63,6 +63,7 @@ enum ContentChangeType {
|
| };
|
|
|
| class InlineFlowBox;
|
| +class StickyPositionViewportConstraints;
|
|
|
| // This class is the base class for all CSS objects.
|
| //
|
| @@ -141,6 +142,12 @@ public:
|
| LayoutSize relativePositionOffset() const;
|
| LayoutSize relativePositionLogicalOffset() const { return style()->isHorizontalWritingMode() ? relativePositionOffset() : relativePositionOffset().transposedSize(); }
|
|
|
| + // Populates StickyPositionConstraints, setting the sticky box rect, containing block rect and updating
|
| + // the constraint offsets according to the available space.
|
| + void computeStickyPositionConstraints(StickyPositionViewportConstraints&, const FloatRect& constrainingRect) const;
|
| + FloatRect computeStickyConstrainingRect() const;
|
| + LayoutSize stickyPositionOffset() const;
|
| +
|
| LayoutSize offsetForInFlowPosition() const;
|
|
|
| // IE extensions. Used to calculate offsetWidth/Height. Overridden by inlines (LayoutFlow)
|
|
|