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

Issue 988823003: Use scroll customization primitives for touch scrolling (behind REF). (Closed)

Created:
5 years, 9 months ago by tdresser
Modified:
5 years, 9 months ago
Reviewers:
Rick Byers
CC:
blink-reviews, kenneth.christiansen, arv+blink, blink-reviews-events_chromium.org, vivekg, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, vivekg_samsung, Inactive, rwlbuis, skobes, bokan
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Use scroll customization primitives for touch scrolling (behind REF). With the ScrollCustomization runtime enabled feature on, use scrolling built on top of applyScroll, distributeScroll, and the ScrollState object. This is part of landing https://codereview.chromium.org/850443002/. A follow up patch will expose the applyScroll and distributeScroll methods to JS. BUG=410974 TEST=scroll_customization virtual test suite. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192688

Patch Set 1 #

Total comments: 4

Patch Set 2 : Clean up. #

Patch Set 3 : Cleanup. #

Patch Set 4 : Fix nullptr dereference. #

Total comments: 44

Patch Set 5 : Address rbyers' feedback. #

Total comments: 1

Patch Set 6 : Merge. #

Patch Set 7 : Minor clean up. #

Patch Set 8 : Address rbyers' nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+403 lines, -85 lines) Patch
A LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-propagated-diagonally.html View 1 2 3 4 1 chunk +73 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-propagated-diagonally-expected.txt View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-basic.html View 1 2 chunks +4 lines, -1 line 0 comments Download
M Source/core/dom/Element.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 2 3 4 5 6 7 2 chunks +73 lines, -0 lines 0 comments Download
M Source/core/frame/LocalFrame.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 1 2 3 4 5 6 7 1 chunk +49 lines, -0 lines 0 comments Download
M Source/core/page/EventHandler.h View 1 2 3 4 5 6 7 5 chunks +17 lines, -1 line 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 3 4 5 6 7 11 chunks +115 lines, -68 lines 0 comments Download
M Source/core/page/scrolling/ScrollState.h View 1 2 3 4 5 chunks +26 lines, -11 lines 0 comments Download
M Source/core/page/scrolling/ScrollState.cpp View 1 2 2 chunks +12 lines, -4 lines 0 comments Download
M Source/core/page/scrolling/ScrollState.idl View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollStateTest.cpp View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
tdresser
https://codereview.chromium.org/988823003/diff/1/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (right): https://codereview.chromium.org/988823003/diff/1/Source/core/page/EventHandler.cpp#newcode2586 Source/core/page/EventHandler.cpp:2586: // FIXME - check if its an element. This ...
5 years, 9 months ago (2015-03-06 20:38:11 UTC) #1
tdresser
https://codereview.chromium.org/988823003/diff/1/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (right): https://codereview.chromium.org/988823003/diff/1/Source/core/page/EventHandler.cpp#newcode2586 Source/core/page/EventHandler.cpp:2586: // FIXME - check if its an element. On ...
5 years, 9 months ago (2015-03-09 17:02:56 UTC) #2
tdresser
PTAL. The patch after this will expose applyScroll and distributeScroll to JS.
5 years, 9 months ago (2015-03-09 20:48:55 UTC) #4
Rick Byers
/cc skobes and bokan incase they're interested Looks reasonable, thanks! Do you think the existing ...
5 years, 9 months ago (2015-03-11 02:22:19 UTC) #5
tdresser
Failures in the virtual test suite were extremely useful during development. I think test coverage ...
5 years, 9 months ago (2015-03-20 18:00:38 UTC) #6
Rick Byers
LGTM with nit https://codereview.chromium.org/988823003/diff/60001/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (right): https://codereview.chromium.org/988823003/diff/60001/Source/core/dom/Element.cpp#newcode496 Source/core/dom/Element.cpp:496: && scrollState.deltaConsumedForScrollSequence() On 2015/03/20 18:00:36, tdresser ...
5 years, 9 months ago (2015-03-26 21:22:49 UTC) #7
tdresser
https://codereview.chromium.org/988823003/diff/60001/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (right): https://codereview.chromium.org/988823003/diff/60001/Source/core/page/EventHandler.cpp#newcode2532 Source/core/page/EventHandler.cpp:2532: if (!RuntimeEnabledFeatures::scrollCustomizationEnabled()) { On 2015/03/26 21:22:49, Rick Byers wrote: ...
5 years, 9 months ago (2015-03-27 15:28:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/988823003/140001
5 years, 9 months ago (2015-03-27 15:46:06 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 16:49:19 UTC) #12
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192688

Powered by Google App Engine
This is Rietveld 408576698