Account for DPI/Screen coordinate discrepancy for find in page selection box.
On systems that use-zoom-for-dsf with HiDPI find bar would shift incorrectly when obscuring search results due to WebKit returning selection box in screen coordinates without converting them to display coords. In order to write a proper test, we'd have to check if find bar still overlapped the selection box, but there is no way to know where the box is without somehow using FindReply message, which was sending wrong coordinates. Bug: 755958 Change-Id: Ifb1c1615aa019c876c3c9488b659b060ca8f8116 Reviewed-on: https://chromium-review.googlesource.com/620652 Commit-Queue: Trent Apted <tapted@chromium.org> Reviewed-by:Nasko Oskov <nasko@chromium.org> Reviewed-by:
Ken Buchanan <kenrb@chromium.org> Reviewed-by:
Mitsuru Oshima <oshima@chromium.org> Reviewed-by:
Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#501246}
Showing
Please register or sign in to comment