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

Issue 2042333006: Reset drag state variables on mouse up (Closed)

Created:
4 years, 6 months ago by Navid Zolghadr
Modified:
4 years, 5 months ago
Reviewers:
dtapuska, mustaq, bokan
CC:
chromium-reviews, blink-reviews, nzolghadr+blinkwatch_chromium.org, dtapuska+blinkwatch_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset drag state variables on mouse up We need to reset the drag related variables on regerdless of whether the mouse up was preventDefaulted or not. Because after mouse up there is no drag until the next mouse down. BUG=308989 Committed: https://crrev.com/b28500a5befe6dd43b3ada37bee3a13d67b9f733 Cr-Commit-Position: refs/heads/master@{#403694}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Applying comments #

Patch Set 4 : Add comments #

Total comments: 8

Patch Set 5 : Applying the comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -7 lines) Patch
A third_party/WebKit/LayoutTests/fast/events/mouse-up-preventDefault-dragstate.html View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 4 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 28 (8 generated)
Navid Zolghadr
4 years, 6 months ago (2016-06-09 20:53:51 UTC) #2
dtapuska
https://codereview.chromium.org/2042333006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2042333006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1205 third_party/WebKit/Source/core/input/EventHandler.cpp:1205: clearMouseDragState(); what about the code path for gesture tap ...
4 years, 6 months ago (2016-06-09 21:18:58 UTC) #3
mustaq
https://codereview.chromium.org/2042333006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2042333006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1205 third_party/WebKit/Source/core/input/EventHandler.cpp:1205: clearMouseDragState(); On 2016/06/09 21:18:58, dtapuska wrote: > what about ...
4 years, 6 months ago (2016-06-10 15:44:04 UTC) #4
Navid Zolghadr
https://codereview.chromium.org/2042333006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2042333006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1205 third_party/WebKit/Source/core/input/EventHandler.cpp:1205: clearMouseDragState(); On 2016/06/10 15:44:04, mustaq wrote: > On 2016/06/09 ...
4 years, 6 months ago (2016-06-10 19:19:55 UTC) #5
mustaq
lgtm https://codereview.chromium.org/2042333006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2042333006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1205 third_party/WebKit/Source/core/input/EventHandler.cpp:1205: clearMouseDragState(); On 2016/06/10 19:19:55, Navid Zolghadr wrote: > ...
4 years, 6 months ago (2016-06-10 19:30:17 UTC) #6
dtapuska
On 2016/06/10 19:30:17, mustaq wrote: > lgtm > > https://codereview.chromium.org/2042333006/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp > File third_party/WebKit/Source/core/input/EventHandler.cpp (right): > ...
4 years, 6 months ago (2016-06-10 19:31:58 UTC) #7
Navid Zolghadr
On 2016/06/10 19:31:58, dtapuska wrote: > On 2016/06/10 19:30:17, mustaq wrote: > > lgtm > ...
4 years, 6 months ago (2016-06-10 20:02:42 UTC) #8
Navid Zolghadr
On 2016/06/10 20:02:42, Navid Zolghadr(OOO til Jun 29) wrote: > On 2016/06/10 19:31:58, dtapuska wrote: ...
4 years, 5 months ago (2016-06-29 15:27:43 UTC) #9
dtapuska
On 2016/06/29 15:27:43, Navid Zolghadr wrote: > On 2016/06/10 20:02:42, Navid Zolghadr(OOO til Jun 29) ...
4 years, 5 months ago (2016-06-29 15:40:13 UTC) #10
Navid Zolghadr
ptal
4 years, 5 months ago (2016-06-30 16:13:47 UTC) #11
dtapuska
On 2016/06/30 16:13:47, Navid Zolghadr wrote: > ptal lgtm
4 years, 5 months ago (2016-06-30 16:15:02 UTC) #12
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/2042333006/60001
4 years, 5 months ago (2016-06-30 18:48:08 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/210700)
4 years, 5 months ago (2016-06-30 18:58:03 UTC) #17
Navid Zolghadr
bokan@chromium.org: Please review changes in third_party/WebKit/Source/core/input/EventHandler.*
4 years, 5 months ago (2016-06-30 19:02:30 UTC) #19
bokan
Few nits in the test but lgtm otherwise https://codereview.chromium.org/2042333006/diff/60001/third_party/WebKit/LayoutTests/fast/events/mouse-up-preventDefault-dragstate.html File third_party/WebKit/LayoutTests/fast/events/mouse-up-preventDefault-dragstate.html (right): https://codereview.chromium.org/2042333006/diff/60001/third_party/WebKit/LayoutTests/fast/events/mouse-up-preventDefault-dragstate.html#newcode4 third_party/WebKit/LayoutTests/fast/events/mouse-up-preventDefault-dragstate.html:4: <body ...
4 years, 5 months ago (2016-07-01 19:27:29 UTC) #20
Navid Zolghadr
done. https://codereview.chromium.org/2042333006/diff/60001/third_party/WebKit/LayoutTests/fast/events/mouse-up-preventDefault-dragstate.html File third_party/WebKit/LayoutTests/fast/events/mouse-up-preventDefault-dragstate.html (right): https://codereview.chromium.org/2042333006/diff/60001/third_party/WebKit/LayoutTests/fast/events/mouse-up-preventDefault-dragstate.html#newcode4 third_party/WebKit/LayoutTests/fast/events/mouse-up-preventDefault-dragstate.html:4: <body onload="runTest()"> On 2016/07/01 19:27:29, bokan wrote: > ...
4 years, 5 months ago (2016-07-04 14:58:11 UTC) #21
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/2042333006/80001
4 years, 5 months ago (2016-07-04 15:11:04 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-04 16:46:35 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-04 16:46:37 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-04 16:49:02 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b28500a5befe6dd43b3ada37bee3a13d67b9f733
Cr-Commit-Position: refs/heads/master@{#403694}

Powered by Google App Engine
This is Rietveld 408576698