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

Issue 1646663002: Refactor Scroll Customization to share cc::ScrollStateData with blink. (Closed)

Created:
4 years, 11 months ago by tdresser
Modified:
4 years, 10 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, cc-bugs_chromium.org, chromium-reviews, dglazkov+blink, kenneth.christiansen, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor Scroll Customization to share cc::ScrollStateData with blink. This will make it easier for Scroll Customization on the compositor worker to pass ScrollState objects back and forth between main and the compositor. BUG=505851 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/ebe6e34c371190558db374f42a12893e525cc081 Cr-Commit-Position: refs/heads/master@{#374691}

Patch Set 1 #

Patch Set 2 : Fix main thread scroll customization. #

Patch Set 3 : More fixing main thread scroll customization. #

Patch Set 4 : Fix linking issues. #

Patch Set 5 : Fix linking more. #

Total comments: 2

Patch Set 6 : Clean up constructors. #

Patch Set 7 : Fix linking. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -390 lines) Patch
M cc/input/scroll_state.h View 1 2 3 4 5 2 chunks +2 lines, -26 lines 0 comments Download
M cc/input/scroll_state.cc View 1 2 3 4 5 1 chunk +0 lines, -25 lines 0 comments Download
M cc/input/scroll_state_data.h View 1 2 3 4 5 4 chunks +25 lines, -15 lines 0 comments Download
M cc/input/scroll_state_data.cc View 1 2 3 4 5 1 chunk +38 lines, -39 lines 0 comments Download
M cc/input/scroll_state_unittest.cc View 1 2 3 4 5 2 chunks +43 lines, -39 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 2 chunks +8 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 2 chunks +19 lines, -10 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 2 3 4 5 1 chunk +17 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-basic.html View 1 2 3 4 5 1 chunk +32 lines, -21 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-consume-deltas.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-consume-deltas-throw.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/touch-scroll-customization.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/core.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 4 5 3 chunks +24 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollState.h View 1 2 3 4 5 4 chunks +25 lines, -43 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollState.cpp View 1 2 3 4 5 2 chunks +33 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollState.idl View 1 2 3 4 5 1 chunk +11 lines, -14 lines 0 comments Download
A third_party/WebKit/Source/core/page/scrolling/ScrollStateInit.idl View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollStateTest.cpp View 1 2 3 4 5 4 chunks +19 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/scroll/ScrollStateData.h View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/web.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/blink_headers.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/public/platform/WebScrollStateData.h View 1 chunk +0 lines, -68 lines 0 comments Download
M ui/events/blink/input_handler_proxy.cc View 1 2 3 4 5 5 chunks +44 lines, -27 lines 0 comments Download

Messages

Total messages: 50 (22 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646663002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646663002/1
4 years, 11 months ago (2016-01-27 20:26:29 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/148670) mac_chromium_compile_dbg_ng on ...
4 years, 11 months ago (2016-01-27 20:49:35 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646663002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646663002/20001
4 years, 10 months ago (2016-01-29 16:06:42 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/14866) linux_chromium_chromeos_compile_dbg_ng on ...
4 years, 10 months ago (2016-01-29 16:26:22 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646663002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646663002/40001
4 years, 10 months ago (2016-02-01 18:16:37 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/150501)
4 years, 10 months ago (2016-02-01 18:39:37 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646663002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646663002/60001
4 years, 10 months ago (2016-02-03 18:17:23 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/140404)
4 years, 10 months ago (2016-02-03 19:58:42 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646663002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646663002/80001
4 years, 10 months ago (2016-02-04 14:50:58 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-04 16:28:49 UTC) #21
tdresser
PTAL
4 years, 10 months ago (2016-02-04 16:31:52 UTC) #23
tdresser
Ping.
4 years, 10 months ago (2016-02-08 15:43:51 UTC) #24
tdresser
4 years, 10 months ago (2016-02-08 16:02:34 UTC) #26
jbroman
core.gyp lgtm https://codereview.chromium.org/1646663002/diff/80001/third_party/WebKit/Source/core/core.gyp File third_party/WebKit/Source/core/core.gyp (right): https://codereview.chromium.org/1646663002/diff/80001/third_party/WebKit/Source/core/core.gyp#newcode662 third_party/WebKit/Source/core/core.gyp:662: '<(DEPTH)/cc/cc.gyp:cc', Yeah, looks like this is necessary ...
4 years, 10 months ago (2016-02-08 16:09:30 UTC) #27
Ian Vollick
https://codereview.chromium.org/1646663002/diff/80001/third_party/WebKit/Source/core/page/scrolling/ScrollState.idl File third_party/WebKit/Source/core/page/scrolling/ScrollState.idl (right): https://codereview.chromium.org/1646663002/diff/80001/third_party/WebKit/Source/core/page/scrolling/ScrollState.idl#newcode20 third_party/WebKit/Source/core/page/scrolling/ScrollState.idl:20: optional double deltaGranularity = 0), nit: Could we pass ...
4 years, 10 months ago (2016-02-08 18:30:35 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646663002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646663002/100001
4 years, 10 months ago (2016-02-09 18:23:14 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/154372) linux_chromium_compile_dbg_32_ng on ...
4 years, 10 months ago (2016-02-09 18:44:20 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646663002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646663002/120001
4 years, 10 months ago (2016-02-09 21:39:04 UTC) #34
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-09 23:12:01 UTC) #36
tdresser
PTAL. This is currently a bit loose with the is_ending bit (with respect to fling) ...
4 years, 10 months ago (2016-02-10 14:14:35 UTC) #37
Ian Vollick
On 2016/02/10 14:14:35, tdresser wrote: > PTAL. > > This is currently a bit loose ...
4 years, 10 months ago (2016-02-10 14:24:42 UTC) #38
tdresser
+bokan@ for third_party/WebKit/Source/web/web.gyp. This change is needed for the same reason as the core.gyp change, ...
4 years, 10 months ago (2016-02-10 14:37:22 UTC) #40
tdresser
+dcheng@ for real.
4 years, 10 months ago (2016-02-10 14:37:43 UTC) #42
bokan
third_party/WebKit/Source/web/web.gyp lgtm
4 years, 10 months ago (2016-02-10 16:46:26 UTC) #43
dcheng
rs lgtm for third_party/WebKit/public changes
4 years, 10 months ago (2016-02-10 18:17:32 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646663002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646663002/120001
4 years, 10 months ago (2016-02-10 18:37:10 UTC) #47
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 10 months ago (2016-02-10 18:46:21 UTC) #48
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 18:47:47 UTC) #50
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ebe6e34c371190558db374f42a12893e525cc081
Cr-Commit-Position: refs/heads/master@{#374691}

Powered by Google App Engine
This is Rietveld 408576698