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

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: Ensure only high precision scroll begins are used 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
« no previous file with comments | « third_party/WebKit/public/web/WebInputEvent.h ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2da4bc9022399dbeb1356b88a5c429d6e0c59225 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_precise_scroll_deltas) const;
+
+ // 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
« no previous file with comments | « third_party/WebKit/public/web/WebInputEvent.h ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698