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

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

Issue 2935813002: "Find" scrolling should be smoothly animated. (Closed)
Patch Set: Rebase and set ScrollRectToVisibleRecursive() to private. 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 9bccd21192a0b541172769db47c5eb40d013a712..3efee73ca59493d3e45a6a28fe1c22ba6abc6165 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -1575,6 +1575,13 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
const Length& margin_logical_bottom,
LogicalExtentComputedValues&) const;
+ void ScrollRectToVisibleRecursive(const LayoutRect&,
+ const ScrollAlignment& align_x,
+ const ScrollAlignment& align_y,
+ ScrollType = kProgrammaticScroll,
+ bool make_visible_in_visual_viewport = true,
+ ScrollBehavior = kScrollBehaviorAuto);
+
LayoutUnit FillAvailableMeasure(LayoutUnit available_logical_width) const;
LayoutUnit FillAvailableMeasure(LayoutUnit available_logical_width,
LayoutUnit& margin_start,
« no previous file with comments | « third_party/WebKit/Source/core/editing/Editor.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698