DescriptionShow the drop down menu on the screen the mouse cursor is on
A browser window might be positioned over the edge between two screens. In that
case we try to show the drop down menu on the screen the mouse cursor is on, but
this does not work as expected on Windows. To achieve this, we obtain the bounds
of the screen the mouse cursor is on, and then adjust the position of the drop
down menu so that the menu stays within that bounds. But on Windows, we use the
bounding rectangle of all display monitors instead of a specific monitor, and
this leads to a different outcome than we expected. This CL fixes this problem.
BUG=713690
Review-Url: https://codereview.chromium.org/2831323002
Cr-Commit-Position: refs/heads/master@{#466866}
Committed: https://chromium.googlesource.com/chromium/src/+/4b19ed9075339cea26ea01d00de0d8e8c1035884
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|