-
Mike Wasserman authored
Use display root windows (not client roots) for highlighting on Chrome OS. Store the screen offset for the layer used for highlighting. Store the pinned and hovered item bounds in screen coordinates. Convert the screen space rects to layer space when painting. These changes fix ui_devtools highlights for SingleProcessMash. They also add partial support for highlighting between roots/displays. (we still only paint to one layer, but should paint to all root/display layers) Bug: 896977 Test: ui_devtools highlights work better on SingleProcessMash and desktop. Change-Id: Ib7cefcad5bd890ac81628c5fd717f7fb42da3f4c Reviewed-on: https://chromium-review.googlesource.com/c/1366787 Commit-Queue: Michael Wasserman <msw@chromium.org> Reviewed-by:
Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/master@{#614844}
91bef92b