| Index: blimp/client/input/blimp_input_handler_wrapper.cc
|
| diff --git a/blimp/client/input/blimp_input_handler_wrapper.cc b/blimp/client/input/blimp_input_handler_wrapper.cc
|
| index a06c92bf58b1608642872a83281710336188dccd..233e739a435cb2281255ee6375e1a3801521a286 100644
|
| --- a/blimp/client/input/blimp_input_handler_wrapper.cc
|
| +++ b/blimp/client/input/blimp_input_handler_wrapper.cc
|
| @@ -44,7 +44,17 @@ void BlimpInputHandlerWrapper::HandleWebInputEvent(
|
| ui::InputHandlerProxy::EventDisposition disposition =
|
| input_handler_proxy_->HandleInputEvent(*input_event);
|
|
|
| - bool consumed = disposition == ui::InputHandlerProxy::DID_NOT_HANDLE;
|
| + bool consumed = false;
|
| +
|
| + switch (disposition) {
|
| + case ui::InputHandlerProxy::EventDisposition::DID_HANDLE:
|
| + case ui::InputHandlerProxy::EventDisposition::DROP_EVENT:
|
| + consumed = true;
|
| + break;
|
| + case ui::InputHandlerProxy::EventDisposition::DID_NOT_HANDLE:
|
| + consumed = false;
|
| + break;
|
| + }
|
|
|
| main_task_runner_->PostTask(
|
| FROM_HERE,
|
|
|