chromeos: make events blocked by a modal target the window manager

Desktop / Chromium - Scott Violet [chromium.org] - 8 August 2017 12:47 EDT

Currently pointer events that are blocked by a modal are not sent to the window manager. This patch makes them be sent to the window manager.

BUG=692282 TEST=covered by tests

Change-Id: Ia119c8edefe18d43bf0ae4710072d215ad5fde35 Reviewed-on: https://chromium-review.googlesource.com/604754

587cad8 chromeos: make events blocked by a modal target the window manager
services/ui/service.cc | 2 +-
services/ui/ws/event_dispatcher.cc | 5 +++--
services/ui/ws/event_dispatcher.h | 9 ---------
services/ui/ws/event_dispatcher_delegate.h | 7 +++++++
services/ui/ws/event_dispatcher_unittest.cc | 15 ++++++++++++---
services/ui/ws/window_manager_state.cc | 7 +++++++
services/ui/ws/window_manager_state.h | 2 ++
7 files changed, 32 insertions(+), 15 deletions(-)

Upstream: git.chromium.org


  • Share