oopif: Fix synthesized mouse enter/exit events.
SendMouseEnterOrLeaveEvents() expects the input-event to be in the root-view's coordinate space. But it was actually receiving the event in the target view's coordinate space. As a result, the synthesized mouse move/exit events were being sent to the view's with the wrong coordinates. This change fixes that, by making sure the input-event is still in the root-view's coordinate space when it goes to SendMouseEnterOrLeaveEvents(). BUG=822905 Change-Id: I802c079ea57dabc47184763aad0cfb7026afdb2e Reviewed-on: https://chromium-review.googlesource.com/972671Reviewed-by:Ria Jiang <riajiang@chromium.org> Reviewed-by:
Ken Buchanan <kenrb@chromium.org> Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#544744}
Showing
Please register or sign in to comment