summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/public/WebCompositorInputHandlerClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/public/WebCompositorInputHandlerClient.h')
-rw-r--r--Source/WebKit/chromium/public/WebCompositorInputHandlerClient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/public/WebCompositorInputHandlerClient.h b/Source/WebKit/chromium/public/WebCompositorInputHandlerClient.h
index e8bb55598..7c911d8f8 100644
--- a/Source/WebKit/chromium/public/WebCompositorInputHandlerClient.h
+++ b/Source/WebKit/chromium/public/WebCompositorInputHandlerClient.h
@@ -28,6 +28,8 @@
namespace WebKit {
+struct WebActiveWheelFlingParameters;
+
class WebCompositorInputHandlerClient {
public:
// Callbacks invoked from the compositor thread.
@@ -42,6 +44,10 @@ public:
// should be forwarded to the WebWidget associated with this compositor for further processing.
virtual void didNotHandleInputEvent(bool sendToWidget) = 0;
+ // Transfers an active wheel fling animation initiated by a previously handled input event out to the client.
+ // FIXME: Make pure virtual once implementation lands on Chromium side.
+ virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) { }
+
protected:
virtual ~WebCompositorInputHandlerClient() { }
};