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

Unified Diff: ui/events/blink/input_handler_proxy.h

Issue 1749343004: Implement Wheel Gesture Scrolling on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: ui/events/blink/input_handler_proxy.h
diff --git a/ui/events/blink/input_handler_proxy.h b/ui/events/blink/input_handler_proxy.h
index 32c0efc25311e463777f1c2bdc0bdcc0e21d0b4f..729061d9cc5866393d79ec771d6c88bc749f4eb8 100644
--- a/ui/events/blink/input_handler_proxy.h
+++ b/ui/events/blink/input_handler_proxy.h
@@ -138,7 +138,12 @@ class InputHandlerProxy
const cc::InputHandlerScrollResult& scroll_result);
// Whether to use a smooth scroll animation for this event.
- bool ShouldAnimate(const blink::WebMouseWheelEvent& event) const;
+ bool ShouldAnimate(bool has_coarse_scroll_pixels) const;
tdresser 2016/03/08 14:28:53 Can we pass has_precise_scroll_deltas? It would be
dtapuska 2016/03/08 20:31:49 done; although for the gesture case; it is a doubl
+
+ // Update the elastic overscroll controller with |gesture_event|.
+ void HandleScrollElasticityOverscroll(
+ const blink::WebGestureEvent& gesture_event,
+ const cc::InputHandlerScrollResult& scroll_result);
scoped_ptr<blink::WebGestureCurve> fling_curve_;
// Parameters for the active fling animation, stored in case we need to

Powered by Google App Engine
This is Rietveld 408576698