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

Issue 2451183002: Add sticky nodes affected by inner and outer viewport bounds deltas. (Closed)

Created:
4 years, 1 month ago by flackr
Modified:
4 years, 1 month ago
Reviewers:
ajuma
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add sticky nodes affected by inner and outer viewport bounds deltas. We need to additionally add sticky nodes affected by the outer viewport bounds, which is the common case on Android. Sticky nodes are not moved unconditionally by viewport bounds deltas though since they have constraints on their movement. BUG=649111 TEST=LayerTreeHostCommonTest.StickyPositionBottomInnerViewportDelta,LayerTreeHostCommonTest.StickyPositionBottomOuterViewportDelta CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/a283bedb5251108878e9cd71539464641eeec21b Cr-Commit-Position: refs/heads/master@{#428708}

Patch Set 1 #

Patch Set 2 : Add to nodes affected by inner/outer viewport only, improve test coverage. #

Total comments: 2

Patch Set 3 : Rename affected_by_*_bounds_delta_* to moved_by_*_bounds_delta_* and add comment. #

Patch Set 4 : Merge with master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -92 lines) Patch
M cc/proto/property_tree.proto View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 28 chunks +144 lines, -37 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 2 chunks +21 lines, -11 lines 0 comments Download
M cc/trees/property_tree_unittest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M cc/trees/transform_node.h View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M cc/trees/transform_node.cc View 1 2 3 4 chunks +28 lines, -28 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
flackr
Hey, Can you take a look? This removes including the top control delta when computing ...
4 years, 1 month ago (2016-10-26 14:36:25 UTC) #3
ajuma
On 2016/10/26 14:36:25, flackr wrote: > Hey, > > Can you take a look? This ...
4 years, 1 month ago (2016-10-26 14:44:49 UTC) #4
flackr
Hey, As we discussed, I realized we still have to handle the bounds adjustment differently ...
4 years, 1 month ago (2016-10-28 16:49:08 UTC) #6
ajuma
Thanks, lgtm https://codereview.chromium.org/2451183002/diff/20001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/2451183002/diff/20001/cc/trees/property_tree_builder.cc#newcode712 cc/trees/property_tree_builder.cc:712: .AddNodeAffectedByInnerViewportBoundsDelta(node->id); As discussed, please rename TransformNode::affected_by_.... to ...
4 years, 1 month ago (2016-10-28 17:10:41 UTC) #7
flackr
https://codereview.chromium.org/2451183002/diff/20001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/2451183002/diff/20001/cc/trees/property_tree_builder.cc#newcode712 cc/trees/property_tree_builder.cc:712: .AddNodeAffectedByInnerViewportBoundsDelta(node->id); On 2016/10/28 at 17:10:41, ajuma wrote: > As ...
4 years, 1 month ago (2016-10-28 17:24:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451183002/40001
4 years, 1 month ago (2016-10-28 17:25:17 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/95867) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 1 month ago (2016-10-28 17:27:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451183002/60001
4 years, 1 month ago (2016-10-28 18:10:14 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/326854)
4 years, 1 month ago (2016-10-28 20:24:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451183002/60001
4 years, 1 month ago (2016-10-31 13:55:15 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-31 14:50:12 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 14:52:01 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a283bedb5251108878e9cd71539464641eeec21b
Cr-Commit-Position: refs/heads/master@{#428708}

Powered by Google App Engine
This is Rietveld 408576698