| Index: third_party/WebKit/Source/core/dom/Element.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
|
| index b1d8247167de927328c63ad63f1763a4f38fb5f0..395fd28ecb039c3901e37a396c644f1d1489c4be 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.h
|
| +++ b/third_party/WebKit/Source/core/dom/Element.h
|
| @@ -65,6 +65,8 @@ class ElementIntersectionObserverData;
|
| class PseudoElement;
|
| class ResizeObservation;
|
| class ResizeObserver;
|
| +class ScrollIntoViewOptions;
|
| +class ScrollIntoViewOptionsOrBoolean;
|
| class ScrollState;
|
| class ScrollStateCallback;
|
| class ScrollToOptions;
|
| @@ -217,7 +219,9 @@ class CORE_EXPORT Element : public ContainerNode {
|
| // attributes.
|
| AttributeCollection attributesWithoutUpdate() const;
|
|
|
| - void scrollIntoView(bool alignToTop = true);
|
| + void scrollIntoView(ExceptionState&);
|
| + void scrollIntoView(ScrollIntoViewOptionsOrBoolean, ExceptionState&);
|
| + void scrollIntoViewWithOptions(const ScrollIntoViewOptions&);
|
| void scrollIntoViewIfNeeded(bool centerIfNeeded = true);
|
|
|
| int offsetLeft();
|
|
|