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

Issue 1215183004: Arrange compositor scrolling into scroll customization format (Closed)

Created:
5 years, 5 months ago by tdresser
Modified:
5 years, 4 months ago
Reviewers:
Ian Vollick
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Arrange compositor scrolling into scroll customization format (WIP) This splits compositor driven scrolling into applyScroll and distributeScroll methods. Future patches will allow JavaScript on a CompositorWorker to override these methods. BUG=505851 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d9e20147dd5649be4c9b742d3e6984034853715c Cr-Commit-Position: refs/heads/master@{#341323}

Patch Set 1 #

Patch Set 2 : Rebase onto 1223713004. #

Patch Set 3 : Rebase onto master. #

Patch Set 4 : Add tests for ScrollState. #

Patch Set 5 : Fix windows compile. #

Total comments: 9

Patch Set 6 : Rebase onto 1232213003, address vollick's comments. #

Patch Set 7 : Rebase. #

Total comments: 4

Patch Set 8 : Fix nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -70 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A cc/input/scroll_state.h View 1 2 3 4 5 1 chunk +108 lines, -0 lines 0 comments Download
A cc/input/scroll_state.cc View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
A cc/input/scroll_state_unittest.cc View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 2 chunks +25 lines, -0 lines 0 comments Download
M cc/layers/viewport.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 5 chunks +86 lines, -70 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
tdresser
PTAL There's no functional change here, this just reorganizes things to look more like the ...
5 years, 5 months ago (2015-07-09 13:49:01 UTC) #2
Ian Vollick
https://codereview.chromium.org/1215183004/diff/80001/cc/input/scroll_state.h File cc/input/scroll_state.h (right): https://codereview.chromium.org/1215183004/diff/80001/cc/input/scroll_state.h#newcode88 cc/input/scroll_state.h:88: std::list<LayerImpl*> scroll_chain_; I'm a little nervous about the LayerImpl ...
5 years, 5 months ago (2015-07-09 14:03:55 UTC) #3
tdresser
https://codereview.chromium.org/1215183004/diff/80001/cc/input/scroll_state.h File cc/input/scroll_state.h (right): https://codereview.chromium.org/1215183004/diff/80001/cc/input/scroll_state.h#newcode88 cc/input/scroll_state.h:88: std::list<LayerImpl*> scroll_chain_; On 2015/07/09 14:03:55, vollick wrote: > I'm ...
5 years, 5 months ago (2015-07-09 16:07:46 UTC) #4
Ian Vollick
https://codereview.chromium.org/1215183004/diff/80001/cc/input/scroll_state.h File cc/input/scroll_state.h (right): https://codereview.chromium.org/1215183004/diff/80001/cc/input/scroll_state.h#newcode88 cc/input/scroll_state.h:88: std::list<LayerImpl*> scroll_chain_; On 2015/07/09 16:07:45, tdresser wrote: > On ...
5 years, 5 months ago (2015-07-09 16:46:52 UTC) #5
tdresser
https://codereview.chromium.org/1215183004/diff/80001/cc/input/scroll_state.h File cc/input/scroll_state.h (right): https://codereview.chromium.org/1215183004/diff/80001/cc/input/scroll_state.h#newcode88 cc/input/scroll_state.h:88: std::list<LayerImpl*> scroll_chain_; On 2015/07/09 16:46:51, vollick wrote: > On ...
5 years, 5 months ago (2015-07-16 14:04:50 UTC) #6
tdresser
5 years, 4 months ago (2015-07-29 13:59:19 UTC) #7
Ian Vollick
https://codereview.chromium.org/1215183004/diff/120001/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/1215183004/diff/120001/cc/layers/layer_impl.cc#newcode212 cc/layers/layer_impl.cc:212: scroll_state->delta_consumed_for_scroll_sequence() && Hmm, what if we shouldn't propagate, and ...
5 years, 4 months ago (2015-07-30 19:02:25 UTC) #8
tdresser
https://codereview.chromium.org/1215183004/diff/120001/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/1215183004/diff/120001/cc/layers/layer_impl.cc#newcode212 cc/layers/layer_impl.cc:212: scroll_state->delta_consumed_for_scroll_sequence() && On 2015/07/30 19:02:25, vollick (ooo until July ...
5 years, 4 months ago (2015-07-30 20:34:20 UTC) #9
tdresser
https://codereview.chromium.org/1215183004/diff/120001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1215183004/diff/120001/cc/trees/layer_tree_host_impl.cc#newcode2737 cc/trees/layer_tree_host_impl.cc:2737: active_tree_->CurrentlyScrollingLayer()); Just use CurrentlyScrollingLayer.
5 years, 4 months ago (2015-07-30 20:42:16 UTC) #10
Ian Vollick
On 2015/07/30 20:42:16, tdresser wrote: > https://codereview.chromium.org/1215183004/diff/120001/cc/trees/layer_tree_host_impl.cc > File cc/trees/layer_tree_host_impl.cc (right): > > https://codereview.chromium.org/1215183004/diff/120001/cc/trees/layer_tree_host_impl.cc#newcode2737 > ...
5 years, 4 months ago (2015-07-30 20:44:27 UTC) #11
tdresser
https://codereview.chromium.org/1215183004/diff/120001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1215183004/diff/120001/cc/trees/layer_tree_host_impl.cc#newcode2737 cc/trees/layer_tree_host_impl.cc:2737: active_tree_->CurrentlyScrollingLayer()); On 2015/07/30 20:42:16, tdresser wrote: > Just use ...
5 years, 4 months ago (2015-07-31 12:11:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215183004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1215183004/140001
5 years, 4 months ago (2015-07-31 12:11:26 UTC) #15
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 4 months ago (2015-07-31 13:15:17 UTC) #16
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 13:15:46 UTC) #17
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d9e20147dd5649be4c9b742d3e6984034853715c
Cr-Commit-Position: refs/heads/master@{#341323}

Powered by Google App Engine
This is Rietveld 408576698