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

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

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Add a short comment. Created 3 years, 7 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 40342ab310b85296f878fe2b254f5662e6f09d5f..289e57fb8fd6884bffbe196ccc3803f22745f55c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -588,7 +588,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_;
« no previous file with comments | « third_party/WebKit/Source/core/frame/ScrollIntoViewOptions.idl ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698