Send synthetic GestureTapDown to focus BrowserPlugin
Since we now route Gesture events directly to the guest renderer, there is no longer any event to focus the BrowserPlugin in the embedder renderer, meaning that even though touch/gesture events work properly, the guest may not receive keyboard input. This CL provides a temporary fix by sending a synthetic GestureTapDown to the embedder on TouchStarti, in parallel with sending the TouchStart directly to the guest. The synthetic event focuses the BrowserPlugin. This CL also fixes two tests that were still sending Gestures to the embedder. When BrowserPlugin is removed, this code will disappear along with RenderWidgetHostViewGuest. BUG=619906 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2101663002 Cr-Commit-Position: refs/heads/master@{#403308}
Showing
Please register or sign in to comment