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

Issue 1766053002: Clean LayerImpl's scroll offset callers in unit tests. (Closed)

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

Clean LayerImpl's scroll offset callers in unit tests. The getter ScrollDelta is left because it is called by property tree builder. LayerImpl is now not aware of the internal logic of synced property. BUG=568830 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/b7e79438b4ba2ccba51235a0fc2bf13b7f173709 Cr-Commit-Position: refs/heads/master@{#380217}

Patch Set 1 #

Patch Set 2 : Track changes #

Patch Set 3 : Fix tests #

Patch Set 4 : Rebase #

Total comments: 22

Patch Set 5 : Resolve comments #

Patch Set 6 : Remove ScrollDelta #

Total comments: 3

Patch Set 7 : Rebase #

Patch Set 8 : Force disallow source_to_parent update when building property trees for testing #

Patch Set 9 : Resolve source_to_parent update issue #

Total comments: 1

Patch Set 10 : Remove transform tree update setting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+512 lines, -279 lines) Patch
M cc/layers/layer.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -9 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -37 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 2 3 4 5 6 11 chunks +63 lines, -38 lines 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 2 3 4 29 chunks +41 lines, -32 lines 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 2 2 chunks +10 lines, -4 lines 0 comments Download
M cc/test/layer_tree_host_common_test.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 6 7 8 9 10 chunks +41 lines, -19 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 47 chunks +177 lines, -66 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_animation_timelines.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 2 3 4 5 18 chunks +119 lines, -67 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -1 line 0 comments Download
M cc/trees/property_tree.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M cc/trees/property_tree.cc View 1 2 2 chunks +29 lines, -0 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
sunxd
4 years, 9 months ago (2016-03-07 18:14:32 UTC) #4
ajuma
https://codereview.chromium.org/1766053002/diff/60001/cc/layers/layer_impl_unittest.cc File cc/layers/layer_impl_unittest.cc (left): https://codereview.chromium.org/1766053002/diff/60001/cc/layers/layer_impl_unittest.cc#oldcode339 cc/layers/layer_impl_unittest.cc:339: gfx::ScrollOffset(arbitrary_vector2d))); For these removed lines, do we have equivalent ...
4 years, 9 months ago (2016-03-07 19:10:19 UTC) #5
sunxd
https://codereview.chromium.org/1766053002/diff/60001/cc/layers/layer_impl_unittest.cc File cc/layers/layer_impl_unittest.cc (left): https://codereview.chromium.org/1766053002/diff/60001/cc/layers/layer_impl_unittest.cc#oldcode339 cc/layers/layer_impl_unittest.cc:339: gfx::ScrollOffset(arbitrary_vector2d))); On 2016/03/07 19:10:19, ajuma wrote: > For these ...
4 years, 9 months ago (2016-03-09 01:51:21 UTC) #6
ajuma
https://codereview.chromium.org/1766053002/diff/100001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1766053002/diff/100001/cc/trees/layer_tree_host_common_unittest.cc#newcode7179 cc/trees/layer_tree_host_common_unittest.cc:7179: ->transform_tree.set_source_to_parent_updates_allowed(false); This is really something that should always be ...
4 years, 9 months ago (2016-03-09 16:05:17 UTC) #7
sunxd
https://codereview.chromium.org/1766053002/diff/100001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1766053002/diff/100001/cc/trees/layer_tree_host_common_unittest.cc#newcode7179 cc/trees/layer_tree_host_common_unittest.cc:7179: ->transform_tree.set_source_to_parent_updates_allowed(false); On 2016/03/09 16:05:17, ajuma wrote: > This is ...
4 years, 9 months ago (2016-03-09 16:41:24 UTC) #8
ajuma
https://codereview.chromium.org/1766053002/diff/100001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1766053002/diff/100001/cc/trees/layer_tree_host_common_unittest.cc#newcode7179 cc/trees/layer_tree_host_common_unittest.cc:7179: ->transform_tree.set_source_to_parent_updates_allowed(false); On 2016/03/09 16:41:24, sunxd wrote: > On 2016/03/09 ...
4 years, 9 months ago (2016-03-09 16:48:41 UTC) #9
sunxd
4 years, 9 months ago (2016-03-09 18:24:30 UTC) #10
sunxd
4 years, 9 months ago (2016-03-09 18:45:37 UTC) #11
ajuma
Thanks, lgtm with one nit: https://codereview.chromium.org/1766053002/diff/160001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1766053002/diff/160001/cc/trees/layer_tree_host_common_unittest.cc#newcode7170 cc/trees/layer_tree_host_common_unittest.cc:7170: true); This line shouldn't ...
4 years, 9 months ago (2016-03-09 18:53:51 UTC) #12
sunxd
4 years, 9 months ago (2016-03-09 19:39:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766053002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766053002/180001
4 years, 9 months ago (2016-03-09 19:40:15 UTC) #16
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 9 months ago (2016-03-09 21:13:53 UTC) #18
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 21:15:08 UTC) #20
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/b7e79438b4ba2ccba51235a0fc2bf13b7f173709
Cr-Commit-Position: refs/heads/master@{#380217}

Powered by Google App Engine
This is Rietveld 408576698