commit | 8ea879dcf2a3b22c83794b5d8de25feeb0cd4945 | [log] [tgz] |
---|---|---|
author | Nick Diego Yamane <nickdiego@igalia.com> | Wed Feb 20 22:38:29 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 20 22:38:29 2019 |
tree | a5aadf641e2421fc3c3b78d67e7a743721862bbd | |
parent | 1d017e16dcef9d45e32664d24f5214d62110c9fc [diff] |
ozone: Fix ScreenOzone::GetWindowAtScreenPoint Screen::GetWindowAtScreenPoint function is supposed to return the NativeWindow under a given screen point. The current ScreenOzone implementation, unlike ScreenAsh, returns the root window instead of the exact window corresponding the that point inside the window hierarchy. This CL fixes that insconsistency, applying a solution similar to the one used in ScreenAsh: it relies on ScreenPositionClient and aura::Window::GetEventHandlerForPoint to get the correct window within window hierarchy under the specified point. Bug: 578890 Change-Id: If3b078fb933006f323425bbcd05d9ccb504b8b61 Reviewed-on: https://chromium-review.googlesource.com/c/1477828 Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Nick Diego Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#633920}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .