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

Issue 1971473002: Move touch hit testing to PointerEventManager (Closed)

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

Description

Move touch hit testing to PointerEventManager Move touch hit testing to PointerEventManager class to separate pointer event hit testing from touch event hit testing. Now touch events use the pointer event hit testing result if they were in the touch capturing iframe otherwise they do another hit testing. BUG=606822 Committed: https://crrev.com/5ce73f6e13fdb838a6c92430ca39538ed7e8a452 Cr-Commit-Position: refs/heads/master@{#394802}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Applying comments #

Total comments: 2

Patch Set 3 : Remove stale code #

Total comments: 20

Patch Set 4 : Applying comments #

Patch Set 5 : Rebased #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Messages

Total messages: 30 (7 generated)
Navid Zolghadr
Dave, following this link on how to run performance bots: https://www.chromium.org/developers/telemetry/performance-try-bots Is there a particular ...
4 years, 7 months ago (2016-05-10 19:21:02 UTC) #2
mustaq
https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode464 third_party/WebKit/Source/core/input/PointerEventManager.cpp:464: // TODO(crbug.com/608394): The adjustedPagePoint should be converted Isn't adjustedPagePoint ...
4 years, 7 months ago (2016-05-11 14:30:55 UTC) #3
Navid Zolghadr
https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode464 third_party/WebKit/Source/core/input/PointerEventManager.cpp:464: // TODO(crbug.com/608394): The adjustedPagePoint should be converted On 2016/05/11 ...
4 years, 7 months ago (2016-05-11 16:43:42 UTC) #4
Navid Zolghadr
On 2016/05/11 16:43:42, Navid Zolghadr wrote: > https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp > File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): > > https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode464 ...
4 years, 7 months ago (2016-05-13 16:24:32 UTC) #5
dtapuska
On 2016/05/10 19:21:02, Navid Zolghadr wrote: > Dave, following this link on how to run ...
4 years, 7 months ago (2016-05-13 16:36:21 UTC) #6
dtapuska
https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode440 third_party/WebKit/Source/core/input/PointerEventManager.cpp:440: TouchAction effectiveTouchAction = Is this correct to do here? ...
4 years, 7 months ago (2016-05-13 16:51:36 UTC) #7
Navid Zolghadr
https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode440 third_party/WebKit/Source/core/input/PointerEventManager.cpp:440: TouchAction effectiveTouchAction = On 2016/05/13 16:51:36, dtapuska wrote: > ...
4 years, 7 months ago (2016-05-13 17:27:55 UTC) #8
mustaq
https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode440 third_party/WebKit/Source/core/input/PointerEventManager.cpp:440: TouchAction effectiveTouchAction = On 2016/05/13 17:27:55, Navid Zolghadr wrote: ...
4 years, 7 months ago (2016-05-13 19:18:01 UTC) #9
mustaq
https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt (right): https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt#newcode10 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt:10: *** First touch down in innerFrame and move *** ...
4 years, 7 months ago (2016-05-13 20:03:16 UTC) #10
Navid Zolghadr
ptal. https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt (right): https://codereview.chromium.org/1971473002/diff/1/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt#newcode10 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt:10: *** First touch down in innerFrame and move ...
4 years, 7 months ago (2016-05-16 20:01:50 UTC) #11
dtapuska
lgtm
4 years, 7 months ago (2016-05-16 20:04:47 UTC) #12
mustaq
LGTM... https://codereview.chromium.org/1971473002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe.html (right): https://codereview.chromium.org/1971473002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe.html#newcode102 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe.html:102: function scenario1() { I guess this is stale ...
4 years, 7 months ago (2016-05-16 20:44:04 UTC) #13
Navid Zolghadr
https://codereview.chromium.org/1971473002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe.html (right): https://codereview.chromium.org/1971473002/diff/20001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe.html#newcode102 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe.html:102: function scenario1() { On 2016/05/16 20:44:04, mustaq wrote: > ...
4 years, 7 months ago (2016-05-16 20:53:06 UTC) #15
Rick Byers
https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt (right): https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt#newcode21 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt:21: outerFrame recieved pointerdown nit: can you please add the ...
4 years, 7 months ago (2016-05-17 14:20:01 UTC) #16
mustaq
https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode476 third_party/WebKit/Source/core/input/PointerEventManager.cpp:476: touchInfos.append(touchInfo); > Is this preserving the existing behavior though? ...
4 years, 7 months ago (2016-05-17 14:40:14 UTC) #17
Rick Byers
On 2016/05/17 14:40:14, mustaq wrote: > https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/Source/core/input/PointerEventManager.cpp > File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): > > https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode476 > ...
4 years, 7 months ago (2016-05-17 16:01:30 UTC) #18
Navid Zolghadr
ptal. https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt (right): https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt#newcode21 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt:21: outerFrame recieved pointerdown On 2016/05/17 14:20:01, Rick Byers ...
4 years, 7 months ago (2016-05-17 16:40:44 UTC) #19
Rick Byers
LGTM https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/1971473002/diff/40001/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode279 third_party/WebKit/Source/core/input/TouchEventManager.cpp:279: if (m_touchSequenceDocument->frame()) { On 2016/05/17 16:40:44, Navid Zolghadr ...
4 years, 7 months ago (2016-05-18 21:44:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971473002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971473002/140001
4 years, 7 months ago (2016-05-19 13:39:55 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/216570)
4 years, 7 months ago (2016-05-19 15:53:09 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971473002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971473002/140001
4 years, 7 months ago (2016-05-19 15:55:18 UTC) #27
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-05-19 17:23:55 UTC) #28
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 17:25:18 UTC) #30
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/5ce73f6e13fdb838a6c92430ca39538ed7e8a452
Cr-Commit-Position: refs/heads/master@{#394802}

Powered by Google App Engine
This is Rietveld 408576698