VerticalScrollbarMode,
ScrollOrigin,
RequestedScrollPosition,
- CounterScrollingLayer
+ CounterScrollingLayer,
+ HeaderHeight,
+ FooterHeight
};
virtual bool isScrollingNode() OVERRIDE { return true; }
const IntPoint& scrollOrigin() const { return m_scrollOrigin; }
void setScrollOrigin(const IntPoint&);
+ int headerHeight() const { return m_headerHeight; }
+ void setHeaderHeight(int);
+
+ int footerHeight() const { return m_footerHeight; }
+ void setFooterHeight(int);
+
// This is a layer moved in the opposite direction to scrolling, for example for background-attachment:fixed
GraphicsLayer* counterScrollingLayer() const { return m_counterScrollingLayer; }
void setCounterScrollingLayer(GraphicsLayer*);
IntPoint m_requestedScrollPosition;
IntPoint m_scrollOrigin;
+
+ int m_headerHeight;
+ int m_footerHeight;
};
inline ScrollingStateScrollingNode* toScrollingStateScrollingNode(ScrollingStateNode* node)