Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Issue 2095143002: Send synthetic GestureTapDown to focus BrowserPlugin (Closed)

Created:
4 years, 6 months ago by wjmaclean
Modified:
4 years, 5 months ago
Reviewers:
Charlie Reis, tdresser
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2743
Target Ref:
refs/pending/branch-heads/2743
Project:
chromium
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : Fix DCHECK and return value. #

Patch Set 3 : Convert tests to send Gestures directly to guest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -12 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 4 chunks +6 lines, -10 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 chunk +19 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 1 chunk +8 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2095143002/40001
4 years, 5 months ago (2016-06-27 15:42:51 UTC) #5
commit-bot: I haz the power
Dry run: CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in ...
4 years, 5 months ago (2016-06-27 15:42:53 UTC) #7
wjmaclean
creis@ - small CL, please take a look? This is to fix a regression that ...
4 years, 5 months ago (2016-06-27 15:44:26 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2095143002/40001
4 years, 5 months ago (2016-06-27 16:48:07 UTC) #10
commit-bot: I haz the power
Dry run: CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in ...
4 years, 5 months ago (2016-06-27 16:48:09 UTC) #12
wjmaclean
On 2016/06/27 16:48:09, commit-bot: I haz the power wrote: > Dry run: CLs for remote ...
4 years, 5 months ago (2016-06-27 17:14:16 UTC) #13
tdresser
I'm holding off on review until you've fixed the source of flake.
4 years, 5 months ago (2016-06-28 14:22:36 UTC) #14
wjmaclean
4 years, 5 months ago (2016-06-28 18:19:13 UTC) #15
Message was sent while issue was closed.
On 2016/06/28 14:22:36, tdresser wrote:
> I'm holding off on review until you've fixed the source of flake.

I've closed this issue, and moved discussion over to
https://codereview.chromium.org/2101663002/ since this issue was originally
created off the master branch, and thus not eligible for dry-runs etc.

Powered by Google App Engine
This is Rietveld 408576698