Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Fixed the comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
index 4f779245a461f7f5866b6839330b95ee067edf20..33eb4ebed4089bbb3ae3587cb71f73feee794e5e 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
@@ -195,6 +195,7 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
// FIXME: ScrollBehaviorSmooth is currently unsupported in VisualViewport.
// crbug.com/434497
+ void scrollHelper(ScrollableArea*, const ScrollOffset&, ScrollBehavior) const;
void scrollBy(double x, double y, ScrollBehavior = kScrollBehaviorAuto) const;
void scrollBy(const ScrollToOptions&) const;
void scrollTo(double x, double y) const;

Powered by Google App Engine
This is Rietveld 408576698