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

Issue 737883002: Allow perfect scroll bubbling between outer/inner viewports (Closed)

Created:
6 years, 1 month ago by jdduke (slow)
Modified:
6 years, 1 month ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Allow perfect scroll bubbling between outer/inner viewports The current compositor scroll bubbling logic is not a respecter of layer types. That is, when bubbling, it will always try to truncate and/or project the remaining scroll delta before bubbling to the parent scroll layer. Such truncation is inappropriate when bubbling between outer and inner viewport layers, as their movement should appear seamless to the user. Make an exception for this case, allowing perfect bubbling. BUG=429326 Committed: https://crrev.com/a7173dd75978963be1f007a7d18bf9bb4dbdb1c5 Cr-Commit-Position: refs/heads/master@{#304898}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Restore layer locking logic #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -17 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +26 lines, -17 lines 2 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
jdduke (slow)
bokan@, does this also address crbug.com/420208?
6 years, 1 month ago (2014-11-18 21:18:20 UTC) #2
jdduke (slow)
https://codereview.chromium.org/737883002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/737883002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2644 cc/trees/layer_tree_host_impl.cc:2644: did_lock_scrolling_layer_ = true; Hmm, this is wrong and needs ...
6 years, 1 month ago (2014-11-18 21:29:55 UTC) #3
jdduke (slow)
https://codereview.chromium.org/737883002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/737883002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2644 cc/trees/layer_tree_host_impl.cc:2644: did_lock_scrolling_layer_ = true; On 2014/11/18 21:29:55, jdduke wrote: > ...
6 years, 1 month ago (2014-11-18 21:34:16 UTC) #4
bokan
lgtm, thanks! (I'll check if this fixes crbug.com/420208 when I get back to the office ...
6 years, 1 month ago (2014-11-19 00:58:34 UTC) #5
bokan
On 2014/11/19 00:58:34, bokan wrote: > lgtm, thanks! (I'll check if this fixes crbug.com/420208 when ...
6 years, 1 month ago (2014-11-19 14:37:36 UTC) #6
jdduke (slow)
+aelias for owner review. https://codereview.chromium.org/737883002/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/737883002/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode2658 cc/trees/layer_tree_host_impl.cc:2658: pending_delta = gfx::Vector2dF(); On 2014/11/19 ...
6 years, 1 month ago (2014-11-19 16:20:14 UTC) #8
aelias_OOO_until_Jul13
lgtm
6 years, 1 month ago (2014-11-19 19:33:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/737883002/20001
6 years, 1 month ago (2014-11-19 20:39:14 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-11-19 22:05:37 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-11-19 22:06:14 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a7173dd75978963be1f007a7d18bf9bb4dbdb1c5
Cr-Commit-Position: refs/heads/master@{#304898}

Powered by Google App Engine
This is Rietveld 408576698