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
Patch Set 1 #Patch Set 2 : Fix DCHECK and return value. #Patch Set 3 : Convert tests to send Gestures directly to guest. #
Messages
Total messages: 15 (7 generated)
|
|||||||||||||||||||||||||||||||||||||