| Index: ui/events/blink/input_handler_proxy_client.h
|
| diff --git a/ui/events/blink/input_handler_proxy_client.h b/ui/events/blink/input_handler_proxy_client.h
|
| index ee1b2600962fd6794e505a2f1d204abbe4d6c02b..2e10430f8212e405df68a8a8720cbc2de70529c8 100644
|
| --- a/ui/events/blink/input_handler_proxy_client.h
|
| +++ b/ui/events/blink/input_handler_proxy_client.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_
|
| #define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_
|
|
|
| +#include "ui/events/blink/scoped_web_input_event.h"
|
| +
|
| namespace blink {
|
| class WebGestureCurve;
|
| struct WebActiveWheelFlingParameters;
|
| @@ -25,6 +27,14 @@ class InputHandlerProxyClient {
|
| virtual void TransferActiveWheelFlingAnimation(
|
| const blink::WebActiveWheelFlingParameters& params) = 0;
|
|
|
| + // Dispatch a non blocking event to the main thread. This is used when a
|
| + // gesture fling from a touchpad is processed and the target only has
|
| + // passive event listeners. If the target has blocking event listeners
|
| + // |TransferActiveWheelFlingAnimation| will be used instead.
|
| + virtual void DispatchNonBlockingEventToMainThread(
|
| + ui::ScopedWebInputEvent event,
|
| + const ui::LatencyInfo& latency_info) = 0;
|
| +
|
| // Creates a new fling animation curve instance for device |device_source|
|
| // with |velocity| and already scrolled |cumulative_scroll| pixels.
|
| virtual blink::WebGestureCurve* CreateFlingAnimationCurve(
|
|
|