Chromium Code Reviews| 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 9bccd21192a0b541172769db47c5eb40d013a712..5e553df951ad42d40cf2d9791eb869820a75e4b3 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
| @@ -588,6 +588,13 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject { |
| void ScrollByRecursively(const ScrollOffset& delta); |
| // If makeVisibleInVisualViewport is set, the visual viewport will be scrolled |
| // if required to make the rect visible. |
| + void ScrollRectToVisibleRecursive(const LayoutRect&, |
|
bokan
2017/06/13 17:58:51
This should be private
|
| + const ScrollAlignment& align_x, |
| + const ScrollAlignment& align_y, |
| + ScrollType = kProgrammaticScroll, |
| + bool make_visible_in_visual_viewport = true, |
| + ScrollBehavior = kScrollBehaviorAuto); |
| + |
| void ScrollRectToVisible(const LayoutRect&, |
| const ScrollAlignment& align_x, |
| const ScrollAlignment& align_y, |