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

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

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Sequenced-smooth-scrolls only happen on main thread for now. 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 ed733a988b011fc8b3b7fa92d08b1ad04fa7553b..cd5d90dc2d54e0f897e81453699eaa1c36f4454c 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