WebUI Tab Strip: Show context menu on right click
The default contextmenu event is prevented because touch drag and drop on Windows does not interact well with the contextmenu events. Since on Windows, a mouse can be attached to a tablet and have the UI still be in tablet mode, a pointerup event is added to determine if a user actually right-clicks on a tab to invoke the context menu. Bug: 1134282 Change-Id: I92dca4d194905437b6396f42a7be1b6a272ea9e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2447091Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Commit-Queue: John Lee <johntlee@chromium.org> Cr-Commit-Position: refs/heads/master@{#814043}
Showing
Please register or sign in to comment