| Index: third_party/WebKit/Source/core/frame/FrameView.h
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
|
| index 2aaeb9b217cfe23dcc1093dbb9a4bc01ff7d7081..b718d2158b0185b3d281527bcd2616d7be297908 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.h
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.h
|
| @@ -201,6 +201,11 @@ public:
|
| const ViewportConstrainedObjectSet* viewportConstrainedObjects() const { return m_viewportConstrainedObjects.get(); }
|
| bool hasViewportConstrainedObjects() const { return m_viewportConstrainedObjects && m_viewportConstrainedObjects->size() > 0; }
|
|
|
| + // Sticky objects.
|
| + void addStickyPositionObject() { ++m_stickyPositionObjectCount; }
|
| + void removeStickyPositionObject() { --m_stickyPositionObjectCount; }
|
| + bool hasStickyPositionObjects() const { return m_stickyPositionObjectCount; }
|
| +
|
| // Objects with background-attachment:fixed.
|
| void addBackgroundAttachmentFixedObject(LayoutObject*);
|
| void removeBackgroundAttachmentFixedObject(LayoutObject*);
|
| @@ -826,6 +831,7 @@ private:
|
| Member<ScrollableAreaSet> m_animatingScrollableAreas;
|
| OwnPtr<ResizerAreaSet> m_resizerAreas;
|
| OwnPtr<ViewportConstrainedObjectSet> m_viewportConstrainedObjects;
|
| + unsigned m_stickyPositionObjectCount;
|
| ViewportConstrainedObjectSet m_backgroundAttachmentFixedObjects;
|
| Member<FrameViewAutoSizeInfo> m_autoSizeInfo;
|
|
|
|
|