Change scroll deltas to floats.
This converts the remaining scroll delta fields to floats so that we no
longer lose precision due to DIP conversion.
This will land after the WebKit side at:
https://bugs.webkit.org/show_bug.cgi?id=111465
NOTRY=true
BUG=180331
Review URL: https://chromiumcodereview.appspot.com/12477003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186611 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/input_handler.h b/cc/input_handler.h
index 64ccf157..712fa608 100644
--- a/cc/input_handler.h
+++ b/cc/input_handler.h
@@ -13,6 +13,7 @@
class Point;
class PointF;
class Vector2d;
+class Vector2dF;
}
namespace cc {
@@ -46,7 +47,7 @@
// direction at all, then false is returned. If any layer is moved, then
// true is returned.
// Should only be called if scrollBegin() returned ScrollStarted.
- virtual bool scrollBy(const gfx::Point&, const gfx::Vector2d&) = 0;
+ virtual bool scrollBy(const gfx::Point&, const gfx::Vector2dF&) = 0;
// Stop scrolling the selected layer. Should only be called if scrollBegin()
// returned ScrollStarted.