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

Issue 2592243002: Perform direct routing of mouse events when the pointer is locked. (Closed)

Created:
4 years ago by lfg
Modified:
3 years, 10 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, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Perform direct routing of mouse events when the pointer is locked. BUG=618460 Review-Url: https://codereview.chromium.org/2592243002 Cr-Commit-Position: refs/heads/master@{#451031} Committed: https://chromium.googlesource.com/chromium/src/+/84763c90521d17f4b30d3abaa8af472b579a63ff

Patch Set 1 #

Total comments: 6

Patch Set 2 : transform event, add tests #

Total comments: 14

Patch Set 3 : addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+450 lines, -7 lines) Patch
A content/browser/pointer_lock_browsertest.h View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A content/browser/pointer_lock_browsertest.cc View 1 2 1 chunk +275 lines, -0 lines 0 comments Download
A content/browser/pointer_lock_browsertest_mac.mm View 1 1 chunk +53 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 1 2 2 chunks +28 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_event_handler.cc View 1 2 chunks +14 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 3 chunks +15 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_mac.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_mac.mm View 1 3 chunks +15 lines, -2 lines 0 comments Download
M content/test/BUILD.gn View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (21 generated)
lfg
Ken, please take a look.
4 years ago (2016-12-21 23:04:23 UTC) #4
kenrb
Thanks for putting this together. This needs a test, and other than that just a ...
4 years ago (2016-12-22 15:14:16 UTC) #7
lfg
Sorry for the delay, adding the test was a bit tricky. Please take another look. ...
3 years, 10 months ago (2017-02-13 20:16:07 UTC) #14
kenrb
https://codereview.chromium.org/2592243002/diff/1/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/2592243002/diff/1/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode176 content/browser/renderer_host/render_widget_host_input_event_router.cc:176: if (root_view->IsMouseLocked()) { On 2017/02/13 20:16:07, lfg wrote: > ...
3 years, 10 months ago (2017-02-14 19:58:49 UTC) #15
lfg
https://codereview.chromium.org/2592243002/diff/1/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/2592243002/diff/1/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode176 content/browser/renderer_host/render_widget_host_input_event_router.cc:176: if (root_view->IsMouseLocked()) { On 2017/02/14 19:58:49, kenrb wrote: > ...
3 years, 10 months ago (2017-02-15 20:12:03 UTC) #16
kenrb
Thanks for looking into that. lgtm
3 years, 10 months ago (2017-02-15 20:46:14 UTC) #17
lfg
Charlie, can you take a look?
3 years, 10 months ago (2017-02-15 20:56:54 UTC) #19
Charlie Reis
Thanks-- LGTM with nits. https://codereview.chromium.org/2592243002/diff/40001/content/browser/pointer_lock_browsertest.cc File content/browser/pointer_lock_browsertest.cc (right): https://codereview.chromium.org/2592243002/diff/40001/content/browser/pointer_lock_browsertest.cc#newcode21 content/browser/pointer_lock_browsertest.cc:21: #if defined(OS_LINUX) || defined(OS_CHROMEOS) || ...
3 years, 10 months ago (2017-02-15 21:38:49 UTC) #20
lfg
https://codereview.chromium.org/2592243002/diff/40001/content/browser/pointer_lock_browsertest.cc File content/browser/pointer_lock_browsertest.cc (right): https://codereview.chromium.org/2592243002/diff/40001/content/browser/pointer_lock_browsertest.cc#newcode21 content/browser/pointer_lock_browsertest.cc:21: #if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_WIN) On 2017/02/15 21:38:49, ...
3 years, 10 months ago (2017-02-15 22:02:48 UTC) #23
lfg
Avi, can you do a pass on *mac* files?
3 years, 10 months ago (2017-02-15 22:03:15 UTC) #25
Avi (use Gerrit)
mac stuff lgtm
3 years, 10 months ago (2017-02-15 22:18:09 UTC) #26
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/2592243002/60001
3 years, 10 months ago (2017-02-16 17:36:14 UTC) #31
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 18:55:59 UTC) #34
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/84763c90521d17f4b30d3abaa8af...

Powered by Google App Engine
This is Rietveld 408576698