Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Issue 1391393002: Fire pointerup/down events for corresponding mouse events. (Closed)

Created:
5 years, 2 months ago by mustaq
Modified:
5 years, 1 month ago
Reviewers:
Rick Byers
CC:
blink-reviews, shans, rjwright, blink-reviews-animation_chromium.org, darktears, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fire pointerup/down events for corresponding mouse events. Includes tests for pointerup/down event properties and for prevent default behavior. Also fixed a crack in eventSender that kept MouseEvent buttons unset. BUG=476571, 541311 Committed: https://crrev.com/8911f4e9580ef8a1ed15cb87c7274184ac831d90 Cr-Commit-Position: refs/heads/master@{#356339}

Patch Set 1 #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : Rebased, addressed comments. #

Patch Set 4 : Start firing ME after the first PE w/o any button #

Patch Set 5 : Fixed test style for console div. #

Patch Set 6 : Fixed mouse-click-event test bad click. #

Patch Set 7 : Skipped the failing test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1422 lines, -108 lines) Patch
M components/test_runner/event_sender.cc View 1 2 3 chunks +31 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/mouse-click-events-expected.txt View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html View 1 2 3 4 5 6 4 chunks +55 lines, -31 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt View 1 2 3 4 1 chunk +339 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-preventdefault.html View 1 2 3 4 1 chunk +90 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-preventdefault-expected.txt View 1 chunk +107 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-transition-events.html View 1 2 3 4 1 chunk +3 lines, -7 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-updown-events.html View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-updown-events-expected.txt View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-events.html View 1 2 3 4 1 chunk +4 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-events-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/script-tests/mouse-click-events.js View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-tap-mouse-events.html View 1 2 3 4 1 chunk +6 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt View 1 6 chunks +477 lines, -34 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-preventdefault-expected.txt View 1 chunk +159 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-updown-events-expected.txt View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 8 chunks +30 lines, -4 lines 0 comments Download

Messages

Total messages: 37 (22 generated)
mustaq
ptal
5 years, 2 months ago (2015-10-20 18:02:21 UTC) #6
Rick Byers
Looks good, just one issue I can see. https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html (right): https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html#newcode75 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html:75: shouldBeEqualToNumber("lastPointerEvent.pointerId", ...
5 years, 2 months ago (2015-10-20 19:09:50 UTC) #8
mustaq
ptal https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html (right): https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html#newcode75 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html:75: shouldBeEqualToNumber("lastPointerEvent.pointerId", 0); On 2015/10/20 19:09:50, Rick Byers wrote: ...
5 years, 2 months ago (2015-10-21 15:17:21 UTC) #9
mustaq
ptal https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1264 third_party/WebKit/Source/core/input/EventHandler.cpp:1264: bool swallowMouseUpEvent = false; On 2015/10/21 15:17:21, mustaq ...
5 years, 2 months ago (2015-10-22 16:42:52 UTC) #11
Rick Byers
LGTM https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html (right): https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html#newcode75 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html:75: shouldBeEqualToNumber("lastPointerEvent.pointerId", 0); On 2015/10/21 15:17:21, mustaq wrote: > ...
5 years, 2 months ago (2015-10-22 21:31:51 UTC) #12
mustaq
https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-updown-events.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-updown-events.html (right): https://codereview.chromium.org/1391393002/diff/100001/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-updown-events.html#newcode11 third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-updown-events.html:11: float: none; On 2015/10/22 21:31:51, Rick Byers wrote: > ...
5 years, 2 months ago (2015-10-23 14:59:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1391393002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1391393002/190001
5 years, 2 months ago (2015-10-23 15:00:06 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/69295)
5 years, 2 months ago (2015-10-23 15:47:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1391393002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1391393002/210001
5 years, 2 months ago (2015-10-23 19:27:47 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/125177)
5 years, 2 months ago (2015-10-23 21:36:50 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1391393002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1391393002/230001
5 years, 1 month ago (2015-10-26 18:47:28 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/125768)
5 years, 1 month ago (2015-10-26 20:59:16 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1391393002/290001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1391393002/290001
5 years, 1 month ago (2015-10-27 16:09:00 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:290001)
5 years, 1 month ago (2015-10-27 18:10:30 UTC) #36
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 18:11:37 UTC) #37
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8911f4e9580ef8a1ed15cb87c7274184ac831d90
Cr-Commit-Position: refs/heads/master@{#356339}

Powered by Google App Engine
This is Rietveld 408576698