Chromium Code Reviews
DescriptionSend 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}
(cherry picked from commit 347f2466211ae7ebbbc0a01f0f564274dc5fa3c2)
Committed: https://chromium.googlesource.com/chromium/src/+/5f87571138ba5e85759984e956efcb6691cf3770
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||