cros: Window cycle event filter checks whether cycle view exists.
With the changes to make the window cycle list more interactive, the window cycle event filter checks whether mouse events occur within the window cycle view. However, if the cycle view does not exist, it will crash. This CL makes it so IsEventInCycleView() returns false if the cycle view does not exist. MouseEventWhenCycleViewDoesNotExist Test: InteractiveWindowCycleControllerTest. Bug: 1067327 Change-Id: I9eae1f60c2a58e5c5e8b3eba751f003249358a77 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2380551 Commit-Queue: Jeremy Chinsen <chinsenj@chromium.org> Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Cr-Commit-Position: refs/heads/master@{#803296}
Showing
Please register or sign in to comment