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

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

Issue 2387883002: Use float for scroll offset. (Closed)
Patch Set: Fix README.md Created 4 years, 2 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 58d3b4edf69285957504a56ccfb92024e8aa921c..5f7342514bc73938d6554e0aed2a47e672e03522 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -563,9 +563,9 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
virtual void setScrollLeft(LayoutUnit);
virtual void setScrollTop(LayoutUnit);
- void scrollToOffset(const DoubleSize&,
- ScrollBehavior = ScrollBehaviorInstant);
- void scrollByRecursively(const DoubleSize& delta);
+ void scrollToPosition(const FloatPoint&,
+ ScrollBehavior = ScrollBehaviorInstant);
+ void scrollByRecursively(const ScrollOffset& delta);
// If makeVisibleInVisualViewport is set, the visual viewport will be scrolled
// if required to make the rect visible.
void scrollRectToVisible(const LayoutRect&,
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.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