[Multipaste] Calculate the anchor rect on the secondary display
The current code assumes that the Multipaste menu shows on the primary display. This CL implements the logic to calculate the menu anchor bounds on the secondary display. Bug: 1117311 Change-Id: Ia42fef183d6bdb16c4a7b3f2b78ac98420de082c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2396599Reviewed-by:David Black <dmblack@google.com> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/master@{#806222}
Showing
Please register or sign in to comment