| Index: Source/core/dom/Element.h
|
| diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
|
| index 221c8aeec54020548e849dbeca693885cb853535..b5028cf7499c3f4d140de69f81711d6f72de5291 100644
|
| --- a/Source/core/dom/Element.h
|
| +++ b/Source/core/dom/Element.h
|
| @@ -61,6 +61,7 @@ class MutableStylePropertySet;
|
| class PropertySetCSSStyleDeclaration;
|
| class PseudoElement;
|
| class ScrollState;
|
| +class ScrollStateCallback;
|
| class ScrollToOptions;
|
| class ShadowRoot;
|
| class ShadowRootInit;
|
| @@ -169,9 +170,6 @@ public:
|
| void scrollIntoView(bool alignToTop = true);
|
| void scrollIntoViewIfNeeded(bool centerIfNeeded = true);
|
|
|
| - void distributeScroll(ScrollState&);
|
| - void applyScroll(ScrollState&);
|
| -
|
| int offsetLeft();
|
| int offsetTop();
|
| int offsetWidth();
|
| @@ -369,6 +367,17 @@ public:
|
| virtual void focus(bool restorePreviousSelection = true, WebFocusType = WebFocusTypeNone);
|
| virtual void updateFocusAppearance(bool restorePreviousSelection);
|
| virtual void blur();
|
| +
|
| + void setDistributeScroll(ScrollStateCallback*);
|
| + ScriptValue distributeScroll(ScriptState*);
|
| + void nativeDistributeScroll(ScrollState&);
|
| + void setApplyScroll(ScrollStateCallback*);
|
| + ScriptValue applyScroll(ScriptState*);
|
| + void nativeApplyScroll(ScrollState&);
|
| +
|
| + void callDistributeScroll(ScrollState&);
|
| + void callApplyScroll(ScrollState&);
|
| +
|
| // Whether this element can receive focus at all. Most elements are not
|
| // focusable but some elements, such as form controls and links, are. Unlike
|
| // layoutObjectIsFocusable(), this method may be called when layout is not up to
|
|
|