Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index da6398744a3ed03dff6b28bc1bb058d23a6a2562..3ae69526574dd889e18fe7289936ba259dfbbdfa 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -62,7 +62,6 @@ |
class PropertySetCSSStyleDeclaration; |
class PseudoElement; |
class ScrollState; |
-class ScrollStateCallback; |
class ScrollToOptions; |
class ShadowRoot; |
class ShadowRootInit; |
@@ -171,6 +170,9 @@ |
void scrollIntoView(bool alignToTop = true); |
void scrollIntoViewIfNeeded(bool centerIfNeeded = true); |
+ void distributeScroll(ScrollState&); |
+ void applyScroll(ScrollState&); |
+ |
int offsetLeft(); |
int offsetTop(); |
int offsetWidth(); |
@@ -370,15 +372,6 @@ |
virtual void focus(bool restorePreviousSelection = true, WebFocusType = WebFocusTypeNone); |
virtual void updateFocusAppearance(bool restorePreviousSelection); |
virtual void blur(); |
- |
- void setDistributeScroll(ScrollStateCallback*, String nativeScrollBehavior); |
- void nativeDistributeScroll(ScrollState&); |
- void setApplyScroll(ScrollStateCallback*, String nativeScrollBehavior); |
- 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 |