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

Unified Diff: content/renderer/input/input_handler_wrapper.h

Issue 1251323002: Plumb smooth scrolling in Chromium compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: content/renderer/input/input_handler_wrapper.h
diff --git a/content/renderer/input/input_handler_wrapper.h b/content/renderer/input/input_handler_wrapper.h
index 5c925d0515bea1f713d9fc15e65c14896982f2f3..8e34050e87557a10e532a5492741c3ad4fd47449 100644
--- a/content/renderer/input/input_handler_wrapper.h
+++ b/content/renderer/input/input_handler_wrapper.h
@@ -35,6 +35,13 @@ class InputHandlerWrapper : public InputHandlerProxyClient {
blink::WebGestureDevice deviceSource,
const blink::WebFloatPoint& velocity,
const blink::WebSize& cumulativeScroll) override;
+ blink::WebGestureCurve* CreateSmoothScrollAnimationCurve(
+ blink::WebGestureDevice deviceSource,
+ float start_x,
+ float start_y,
+ float dx,
+ float dy,
+ long duration) override;
void DidOverscroll(const DidOverscrollParams& params) override;
void DidStopFlinging() override;
void DidAnimateForInput() override;

Powered by Google App Engine
This is Rietveld 408576698