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

Issue 2696523003: Unify the code paths for handling mouse events when pointer is locked on (Closed)

Created:
3 years, 10 months ago by lfg
Modified:
3 years, 10 months ago
Reviewers:
dcheng
CC:
chromium-reviews, mlamouri+watch-blink_chromium.org, blink-reviews, kinuko+watch, dcheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unify the code paths for handling mouse events when pointer is locked on WebViewImpl and WebFrameWidgetImpl. BUG=618460 Review-Url: https://codereview.chromium.org/2696523003 Cr-Commit-Position: refs/heads/master@{#450791} Committed: https://chromium.googlesource.com/chromium/src/+/9b5618b8aa52feeccbb3203046b56b8e75d9423a

Patch Set 1 #

Total comments: 7

Patch Set 2 : remove null check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -79 lines) Patch
M third_party/WebKit/Source/web/WebFrameWidgetBase.h View 3 chunks +12 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetBase.cpp View 3 chunks +54 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 2 chunks +6 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.cpp View 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 3 chunks +4 lines, -44 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
lfg
Daniel, please take a look.
3 years, 10 months ago (2017-02-13 20:18:43 UTC) #4
dcheng
https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp File third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp#newcode340 third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp:340: if (m_client && m_client->isPointerLocked() && Why would the client ...
3 years, 10 months ago (2017-02-13 23:21:28 UTC) #7
lfg
https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp File third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp#newcode340 third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp:340: if (m_client && m_client->isPointerLocked() && On 2017/02/13 23:21:28, dcheng ...
3 years, 10 months ago (2017-02-14 15:42:49 UTC) #10
dcheng
https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2534 third_party/WebKit/Source/web/WebViewImpl.cpp:2534: mainFrameImpl()->frameWidget()->didLosePointerLock(); On 2017/02/14 15:42:49, lfg wrote: > On 2017/02/13 ...
3 years, 10 months ago (2017-02-14 19:20:28 UTC) #13
lfg
https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2534 third_party/WebKit/Source/web/WebViewImpl.cpp:2534: mainFrameImpl()->frameWidget()->didLosePointerLock(); On 2017/02/14 19:20:28, dcheng wrote: > On 2017/02/14 ...
3 years, 10 months ago (2017-02-14 19:29:03 UTC) #14
dcheng
LGTM https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/2696523003/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2534 third_party/WebKit/Source/web/WebViewImpl.cpp:2534: mainFrameImpl()->frameWidget()->didLosePointerLock(); On 2017/02/14 19:29:03, lfg wrote: > On ...
3 years, 10 months ago (2017-02-14 23:46:10 UTC) #15
lfg
On 2017/02/14 23:46:10, dcheng wrote: > I assume we have a long-term bug for cleaning ...
3 years, 10 months ago (2017-02-15 18:38:09 UTC) #16
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/2696523003/20001
3 years, 10 months ago (2017-02-15 18:39:36 UTC) #18
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 20:44:27 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9b5618b8aa52feeccbb3203046b5...

Powered by Google App Engine
This is Rietveld 408576698