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

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

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Fixed nits. Created 3 years, 6 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 17fa1d7f6a4c9ab527069de8c58479fb23305039..e896074c771bc126d1261a6779d12418335b188c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -280,7 +280,8 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
const ScrollAlignment& align_x = ScrollAlignment::kAlignCenterIfNeeded,
const ScrollAlignment& align_y = ScrollAlignment::kAlignCenterIfNeeded,
ScrollType = kProgrammaticScroll,
- bool make_visible_in_visual_viewport = true);
+ bool make_visible_in_visual_viewport = true,
+ ScrollBehavior = kScrollBehaviorAuto);
// Convenience function for getting to the nearest enclosing box of a
// LayoutObject.

Powered by Google App Engine
This is Rietveld 408576698