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

Issue 1689293002: cc: Move TryScroll from LayerImpl to LayerTreeHostImpl (Closed)

Created:
4 years, 10 months ago by sunxd
Modified:
4 years, 10 months ago
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

cc: Move TryScroll from LayerImpl to LayerTreeHostImpl After the move, FindScrollLayerForDeviceViewportPoint no longer depends on LayerImpl, it iterates completely on scroll tree now. BUG=568830 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d1abacf793cbbb9aaf35d82f0964aebe94dcefb8 Cr-Commit-Position: refs/heads/master@{#375675}

Patch Set 1 #

Patch Set 2 : Merge with master branch #

Total comments: 5

Patch Set 3 : ScrollTree::ScreenSpaceTransform returns equivalent value as LayerImpl::ScreenSpaceTransform #

Patch Set 4 : Merge with master and fix unit test failures. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -118 lines) Patch
M cc/layers/layer_impl.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 1 chunk +0 lines, -86 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 2 chunks +13 lines, -4 lines 0 comments Download
M cc/proto/property_tree.proto View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 6 chunks +12 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 chunks +98 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 chunks +7 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 5 chunks +37 lines, -14 lines 0 comments Download
M cc/trees/property_tree.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 5 chunks +29 lines, -2 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
sunxd
4 years, 10 months ago (2016-02-11 22:25:19 UTC) #5
jaydasika
https://codereview.chromium.org/1689293002/diff/20001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/1689293002/diff/20001/cc/trees/property_tree.cc#newcode1286 cc/trees/property_tree.cc:1286: gfx::Transform ScrollTree::ScreenSpaceTransform(int scroll_node_id) const { Question : Is Scroll ...
4 years, 10 months ago (2016-02-11 23:38:56 UTC) #6
sunxd
I think we are ok without referring to offset_to_transform_parent in TryScroll, but this needs to ...
4 years, 10 months ago (2016-02-12 15:33:30 UTC) #7
ajuma
https://codereview.chromium.org/1689293002/diff/20001/cc/trees/layer_tree_host_impl.h File cc/trees/layer_tree_host_impl.h (right): https://codereview.chromium.org/1689293002/diff/20001/cc/trees/layer_tree_host_impl.h#newcode606 cc/trees/layer_tree_host_impl.h:606: InputHandler::ScrollStatus TryScroll(const gfx::PointF& device_viewport_point, screen_space_point https://codereview.chromium.org/1689293002/diff/20001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): ...
4 years, 10 months ago (2016-02-12 17:03:02 UTC) #8
sunxd
4 years, 10 months ago (2016-02-16 18:33:49 UTC) #9
sunxd
Merged with origin/master branch, and fixed one line in TryScroll.
4 years, 10 months ago (2016-02-16 18:57:45 UTC) #10
ajuma
On 2016/02/16 18:57:45, sunxd wrote: > Merged with origin/master branch, and fixed one line in ...
4 years, 10 months ago (2016-02-16 19:42:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689293002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689293002/60001
4 years, 10 months ago (2016-02-16 21:29:51 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-16 22:08:41 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:55:13 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d1abacf793cbbb9aaf35d82f0964aebe94dcefb8
Cr-Commit-Position: refs/heads/master@{#375675}

Powered by Google App Engine
This is Rietveld 408576698