diff options
author | dtapuska <dtapuska@chromium.org> | 2016-02-18 09:08:10 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-18 17:09:22 +0000 |
commit | 0bd451acef1d65d36b09a60ffef3e8a6515434a6 (patch) | |
tree | 52ef74c53da589db9b5c791c81460fb87997a678 /blimp | |
parent | 55f9999801dbde105cc8276cf81fe7ffa5b04291 (diff) | |
download | chromium_src-0bd451acef1d65d36b09a60ffef3e8a6515434a6.zip chromium_src-0bd451acef1d65d36b09a60ffef3e8a6515434a6.tar.gz chromium_src-0bd451acef1d65d36b09a60ffef3e8a6515434a6.tar.bz2 |
Plumb firing passive event listeners.
Detect whether passive event listeners exist when handling wheel
and touch events. If the events can be handled on the compositor thread
and an event posted to main thread dispatch that. Add an event queue
for wheel and touch so that we can coalesce pending events for the main
thread.
BUG=489802
Review URL: https://codereview.chromium.org/1631963002
Cr-Commit-Position: refs/heads/master@{#376182}
Diffstat (limited to 'blimp')
-rw-r--r-- | blimp/client/feature/compositor/blimp_input_handler_wrapper.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/blimp/client/feature/compositor/blimp_input_handler_wrapper.cc b/blimp/client/feature/compositor/blimp_input_handler_wrapper.cc index 4716b58..5e38f33 100644 --- a/blimp/client/feature/compositor/blimp_input_handler_wrapper.cc +++ b/blimp/client/feature/compositor/blimp_input_handler_wrapper.cc @@ -51,6 +51,7 @@ void BlimpInputHandlerWrapper::HandleWebGestureEvent( case ui::InputHandlerProxy::EventDisposition::DROP_EVENT: consumed = true; break; + case ui::InputHandlerProxy::EventDisposition::DID_HANDLE_NON_BLOCKING: case ui::InputHandlerProxy::EventDisposition::DID_NOT_HANDLE: consumed = false; break; |