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

Unified Diff: Source/platform/scroll/ScrollableArea.h

Issue 610423004: Preserve fractional scroll offset for JS scrolling API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « Source/platform/scroll/ScrollView.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollableArea.h
diff --git a/Source/platform/scroll/ScrollableArea.h b/Source/platform/scroll/ScrollableArea.h
index 78b4662ec5adffd721997d590ec1d5c41defe560..89a97d97644acd2bd575dda673981860c8f92c06 100644
--- a/Source/platform/scroll/ScrollableArea.h
+++ b/Source/platform/scroll/ScrollableArea.h
@@ -265,7 +265,8 @@ private:
// call into the IntPoint version. If fractional scroll is needed, one
// can override the DoublePoint version to take advantage of the double
// precision scroll offset.
- // FIXME: Remove the IntPoint version. crbug.com/414283.
+ // FIXME: Remove the IntPoint version. And change the function to
+ // take DoubleSize. crbug.com/414283.
virtual void setScrollOffset(const IntPoint&) = 0;
virtual void setScrollOffset(const DoublePoint& offset)
{
« no previous file with comments | « Source/platform/scroll/ScrollView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698