Use screen coordinates for WebUI tab strip auto-close logic

Previously, the event's root location was compared with a View's
window-relative bounds. The root location is in screen coordinates in
some (but not all) cases.

(cherry picked from commit ccffa58d56f271d1cbf51dc8d36cce052401373e)

Fixed: 1033679
Change-Id: I3921b24333751010a9b51d1ee6b05eb7ddc8960f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1965938
Commit-Queue: Collin Baker <[email protected]>
Auto-Submit: Collin Baker <[email protected]>
Reviewed-by: Peter Boström <[email protected]>
Cr-Original-Commit-Position: refs/heads/master@{#724744}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1970073
Cr-Commit-Position: refs/branch-heads/3987@{#211}
Cr-Branched-From: c4e8da9871cc266be74481e212f3a5252972509d-refs/heads/master@{#722274}
1 file changed