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

Issue 2229463004: Generate MouseEnter/MouseLeave events between processes. (Closed)

Created:
4 years, 4 months ago by kenrb
Modified:
4 years, 3 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Generate MouseEnter/MouseLeave events between processes. As the mouse cursor moves across OOPIF boundaries, elements in other processes that have certain mouse event handlers might require notification in order to fire those handlers. An example is MouseLeave, which is not currently fired when the MouseMove is directed to a parent frame. This CL tracks the last RenderWidgetHostView to receive a mouse event and sends appropriate events to other renderers when that changes. BUG=632035 Committed: https://crrev.com/89ed0412083300318a04a2d4302a77f4d8b76cc9 Cr-Commit-Position: refs/heads/master@{#418629}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase again #

Patch Set 4 : Working CL, without test #

Patch Set 5 : Fixed a merge error #

Patch Set 6 : Attempt at fixing red try bots #

Patch Set 7 : Test added #

Patch Set 8 : Bug fix #

Patch Set 9 : Testing something #

Patch Set 10 : Tweak #

Patch Set 11 : Rebase #

Patch Set 12 : Attempting a test fix #

Patch Set 13 : Experiment #

Patch Set 14 : Next fix attempt #

Total comments: 6

Patch Set 15 : Review comments addressed #

Patch Set 16 : Fix test breakages from last PS #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -1 line) Patch
M content/browser/renderer_host/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.h View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +137 lines, -1 line 1 comment Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +113 lines, -0 lines 0 comments Download

Messages

Total messages: 65 (56 generated)
kenrb
nzolghadr: PTAL? This CL implements what we discussed a few weeks ago, dispatching mouse events ...
4 years, 3 months ago (2016-09-08 20:02:18 UTC) #45
Navid Zolghadr
https://codereview.chromium.org/2229463004/diff/260001/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/2229463004/diff/260001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode75 content/browser/renderer_host/render_widget_host_input_event_router.cc:75: } When do we call this destructor? Is it ...
4 years, 3 months ago (2016-09-09 14:27:41 UTC) #46
kenrb
Thanks for the review. https://codereview.chromium.org/2229463004/diff/260001/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/2229463004/diff/260001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode75 content/browser/renderer_host/render_widget_host_input_event_router.cc:75: } On 2016/09/09 14:27:41, Navid ...
4 years, 3 months ago (2016-09-12 17:44:47 UTC) #48
Navid Zolghadr
lgtm https://codereview.chromium.org/2229463004/diff/300001/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/2229463004/diff/300001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode78 content/browser/renderer_host/render_widget_host_input_event_router.cc:78: static_cast<RenderWidgetHostViewChildFrame*>(last_mouse_move_target_) nit: I guess the ideal solution is ...
4 years, 3 months ago (2016-09-14 14:51:46 UTC) #56
kenrb
avi: PTAL for content owner review?
4 years, 3 months ago (2016-09-14 17:56:45 UTC) #58
Avi (use Gerrit)
lgtm
4 years, 3 months ago (2016-09-14 18:01:03 UTC) #59
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/2229463004/300001
4 years, 3 months ago (2016-09-14 18:08:18 UTC) #61
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 3 months ago (2016-09-14 19:06:14 UTC) #63
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 19:09:28 UTC) #65
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/89ed0412083300318a04a2d4302a77f4d8b76cc9
Cr-Commit-Position: refs/heads/master@{#418629}

Powered by Google App Engine
This is Rietveld 408576698