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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 0e4c826a7b00961f34acd3b9a640a062624ff13a..c44a646e11f309c65e5f02e06d4348738e4dc849 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -592,7 +592,8 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
const ScrollAlignment& align_x,
const ScrollAlignment& align_y,
ScrollType = kProgrammaticScroll,
- bool make_visible_in_visual_viewport = true);
+ bool make_visible_in_visual_viewport = true,
+ ScrollBehavior = kScrollBehaviorAuto);
LayoutRectOutsets MarginBoxOutsets() const override {
return margin_box_outsets_;

Powered by Google App Engine
This is Rietveld 408576698