[Multipaste] Select Item asynchronously after the menu shows
After showing the multipaste menu, the first menu item should be selected. Now the item is selected in the synchronous way. However, the synthesized mouse event may cancel the selection. It can happen when launching the multipaste menu from a context menu. To solve this problem, this CL selects the item asynchronously after the menu shows. In addition, it also adapts the test code to this change. Bug: 1164604 Change-Id: I59e141462c2968e0a4271b33f5a4107ee01f6298 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2619079Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
David Black <dmblack@google.com> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/master@{#842244}
Showing
Please register or sign in to comment