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

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

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Added SimTest. Created 3 years, 10 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 889c6d388be1d9f08cecee4b1bcd5c3dab2690c8..1f39ca51b0e55c88ad75b433176edc67941d42fa 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -274,7 +274,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