summaryrefslogtreecommitdiff
path: root/layout/generic/nsIScrollableFrame.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-30 12:24:19 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-30 12:24:19 +0000
commitbdc924d25ee6d0bbe6c780c1d88b60db573562e7 (patch)
tree426c983ca8bb4dd32d4f8db93625a9a07e11367d /layout/generic/nsIScrollableFrame.h
parentb83dd4e5e8b95f61fa2c25b1635793f919e4f101 (diff)
downloaduxp-scroll-anchoring-wip.tar.gz
WIP: basic scroll-anchoring attempt.scroll-anchoring-wip
This is incomplete and won't build due to prerequisites.
Diffstat (limited to 'layout/generic/nsIScrollableFrame.h')
-rw-r--r--layout/generic/nsIScrollableFrame.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/layout/generic/nsIScrollableFrame.h b/layout/generic/nsIScrollableFrame.h
index 4ad45a528d..96b19a1c78 100644
--- a/layout/generic/nsIScrollableFrame.h
+++ b/layout/generic/nsIScrollableFrame.h
@@ -475,6 +475,9 @@ public:
virtual ScrollSnapInfo GetScrollSnapInfo() const = 0;
virtual void SetScrollsClipOnUnscrolledOutOfFlow() = 0;
+
+ virtual void ScrollAnchorWillDestroy() = 0;
+ virtual void ApplyScrollAnchorOffsetAdjustment() = 0;
};
#endif