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

Issue 1996143002: Deprecate use of user gestures during scroll-related touch events (Closed)

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

Description

Deprecate use of user gestures during scroll-related touch events See https://docs.google.com/document/d/1oF1T3O7_E4t1PYHV6gyCwHxOi3ystm0eSL5xZu7nvOg/edit#heading=h.qq59ev3u8fba Intent to deprecate: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/2cvwbgZOZZs This also contains a small tweak to the semantics of the TouchScrollStarted event to trigger it only on the first GestureScrollUpdate (so that it's not triggered when the page consumes all touchmove events). BUG=611981 Committed: https://crrev.com/adbb8a0133bf42306ac4a533a5478529e5d87895 Cr-Commit-Position: refs/heads/master@{#396215}

Patch Set 1 #

Total comments: 9

Patch Set 2 : CR feedback and test fix #

Patch Set 3 : Fix test #

Patch Set 4 : Merge with trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -21 lines) Patch
M content/browser/renderer_host/input/input_router_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 2 chunks +12 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/touch/resources/touch-stale-node-crash.js View 1 2 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.h View 1 3 chunks +11 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 6 chunks +58 lines, -5 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (15 generated)
Rick Byers
Dave / Mustaq PTAL The TouchScrollStarted change arguably could be split into a separate CL ...
4 years, 7 months ago (2016-05-19 20:19:51 UTC) #4
dtapuska
lgtm % nits https://codereview.chromium.org/1996143002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/1996143002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode490 third_party/WebKit/Source/core/input/TouchEventManager.cpp:490: CurrentEventHolder holder(m_currentEvent, event.type()); Can we not ...
4 years, 7 months ago (2016-05-24 14:54:28 UTC) #6
mustaq
LGTM but wanted to highlight the pointercancel delay in case it has some consequences I ...
4 years, 7 months ago (2016-05-24 15:54:06 UTC) #7
Rick Byers
Thanks guys. https://codereview.chromium.org/1996143002/diff/1/content/browser/renderer_host/input/input_router_impl.cc File content/browser/renderer_host/input/input_router_impl.cc (right): https://codereview.chromium.org/1996143002/diff/1/content/browser/renderer_host/input/input_router_impl.cc#newcode174 content/browser/renderer_host/input/input_router_impl.cc:174: touch_event_queue_.PrependTouchScrollNotification(); On 2016/05/24 15:54:05, mustaq wrote: > ...
4 years, 7 months ago (2016-05-24 20:29:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996143002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996143002/40001
4 years, 7 months ago (2016-05-25 17:45:49 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/189720)
4 years, 7 months ago (2016-05-25 17:54:58 UTC) #13
Rick Byers
+tdresser for OWNERS in content/browser/renderer_host/input/ TBR rkaplow for histograms.xml. Robert, I assume it's silly to ...
4 years, 7 months ago (2016-05-25 18:29:18 UTC) #15
rkaplow
On 2016/05/25 18:29:18, Rick Byers wrote: > +tdresser for OWNERS in content/browser/renderer_host/input/ > > TBR ...
4 years, 7 months ago (2016-05-25 18:30:49 UTC) #16
rkaplow
lgtm
4 years, 7 months ago (2016-05-25 18:30:56 UTC) #18
Rick Byers
On 2016/05/25 18:30:49, rkaplow wrote: > On 2016/05/25 18:29:18, Rick Byers wrote: > > +tdresser ...
4 years, 7 months ago (2016-05-25 18:37:36 UTC) #19
tdresser
content/browser/renderer_host/input/ LGTM
4 years, 7 months ago (2016-05-26 15:01:28 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996143002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996143002/40001
4 years, 7 months ago (2016-05-26 15:02:55 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/11896) ios-simulator on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-26 15:04:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996143002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996143002/60001
4 years, 7 months ago (2016-05-26 15:16:45 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-26 17:33:19 UTC) #29
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 17:34:30 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/adbb8a0133bf42306ac4a533a5478529e5d87895
Cr-Commit-Position: refs/heads/master@{#396215}

Powered by Google App Engine
This is Rietveld 408576698