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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Created 3 years, 11 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/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index cef8ef1a279f3757243cf20cc8e294f15cd80a5c..3dfb99073e1eb2245e80d2b1e9bb2f7bdab9e5ad 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -276,7 +276,8 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
const ScrollAlignment& alignX = ScrollAlignment::alignCenterIfNeeded,
const ScrollAlignment& alignY = ScrollAlignment::alignCenterIfNeeded,
ScrollType = ProgrammaticScroll,
- bool makeVisibleInVisualViewport = true);
+ bool makeVisibleInVisualViewport = true,
+ ScrollBehavior = ScrollBehaviorAuto);
// Convenience function for getting to the nearest enclosing box of a
// LayoutObject.

Powered by Google App Engine
This is Rietveld 408576698