send mousemove instead of leave after context menu
This CL changes mac SetShowingContextMenu to send a MouseMove instead of MouseLeave. And add kRelativeMotionEvent flag in the modifier to avoid sending the event to DOM. Sending MouseLeave will cause hover/active state be cleared when open contextmenu. Bug: 803844 Change-Id: I38f2864b108f95a51c6e93536a1b410333fdf50e Reviewed-on: https://chromium-review.googlesource.com/888092Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Ella Ge <eirage@chromium.org> Cr-Commit-Position: refs/heads/master@{#532931}
Showing
Please register or sign in to comment