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

Issue 2354283003: Disable direct routing of mouse events for RenderWidgetHostViewGuest (Closed)

Created:
4 years, 2 months ago by kenrb
Modified:
4 years, 2 months ago
CC:
chromium-reviews, creis+watch_chromium.org, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nasko+codewatch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable direct routing of mouse events for RenderWidgetHostViewGuest When --isolate-extensions became enabled by default, a consequence is that it turned on by default direct browser-side routing of mouse events to webviews, even though RenderWidgetHostViewGuest has not been modified to support that. This has resulted in multiple input-related regressions. This CL disables direct routing to fix those problems. Mouse events will once again be sent to the embedding renderer process and returned to the BrowserPluginGuest to be dispatched to the guest. BUG=648921 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/7dfa73aa45e87390c8d20ca31ac69a1cf5a91e0e Cr-Commit-Position: refs/heads/master@{#420168}

Patch Set 1 #

Patch Set 2 : Style #

Patch Set 3 : Style 2: Style Harder #

Patch Set 4 : Tweak #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -0 lines) Patch
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 1 chunk +8 lines, -0 lines 2 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
kenrb
wjmaclean: Does this look reasonable?
4 years, 2 months ago (2016-09-21 18:04:48 UTC) #13
wjmaclean
One question within, otherwise lgtm. https://codereview.chromium.org/2354283003/diff/60001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2354283003/diff/60001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode199 content/browser/renderer_host/render_widget_host_input_event_router.cc:199: root_view->ProcessMouseEvent(*event, latency); Do we ...
4 years, 2 months ago (2016-09-21 18:34:53 UTC) #16
kenrb
nick: PTAL for owner review? https://codereview.chromium.org/2354283003/diff/60001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2354283003/diff/60001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode199 content/browser/renderer_host/render_widget_host_input_event_router.cc:199: root_view->ProcessMouseEvent(*event, latency); On 2016/09/21 ...
4 years, 2 months ago (2016-09-21 18:56:36 UTC) #18
ncarter (slow)
lgtm
4 years, 2 months ago (2016-09-21 21:02:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2354283003/60001
4 years, 2 months ago (2016-09-21 21:36:34 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-21 21:43:43 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-09-21 21:47:19 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7dfa73aa45e87390c8d20ca31ac69a1cf5a91e0e
Cr-Commit-Position: refs/heads/master@{#420168}

Powered by Google App Engine
This is Rietveld 408576698