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

Issue 105393003: Always fall back to root scroll layer for otherwise ignored scrolls (Closed)

Created:
7 years ago by jdduke (slow)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, jam, darin-cc_chromium.org, mkosiba (inactive)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Always fall back to root scroll layer for otherwise ignored scrolls Rather than special case when the scrolling layer should default to the root layer upon an ignored ScrollBegin, always set it to the root layer. This avoids platform differences and eliminates corner case logic for setting the currently scrolling layer. BUG=299126 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244043

Patch Set 1 #

Patch Set 2 : Comments #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Updates #

Total comments: 2

Patch Set 8 : Use max scroll offset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -18 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -13 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
jdduke (slow)
aelias@: Is this about what you had in mind?
7 years ago (2013-12-05 17:25:20 UTC) #1
mkosiba (inactive)
cool! Thanks Jared! I'm happy as long as the tests continue to pass :)
7 years ago (2013-12-09 16:20:11 UTC) #2
aelias_OOO_until_Jul13
Sorry for the review delay. https://codereview.chromium.org/105393003/diff/110001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/105393003/diff/110001/cc/trees/layer_tree_host_impl.cc#newcode2154 cc/trees/layer_tree_host_impl.cc:2154: gfx::ScalePoint(viewport_point, device_scale_factor_); This would ...
6 years, 12 months ago (2013-12-26 20:38:00 UTC) #3
jdduke (slow)
https://codereview.chromium.org/105393003/diff/110001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/105393003/diff/110001/cc/trees/layer_tree_host_impl.cc#newcode2154 cc/trees/layer_tree_host_impl.cc:2154: gfx::ScalePoint(viewport_point, device_scale_factor_); On 2013/12/26 20:38:00, aelias wrote: > This ...
6 years, 11 months ago (2014-01-09 20:37:28 UTC) #4
aelias_OOO_until_Jul13
lgtm
6 years, 11 months ago (2014-01-09 22:21:42 UTC) #5
jdduke (slow)
piman@: Review for content/renderer/gpu/? Thanks.
6 years, 11 months ago (2014-01-09 22:40:56 UTC) #6
piman
lgtm
6 years, 11 months ago (2014-01-09 23:14:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/105393003/270001
6 years, 11 months ago (2014-01-09 23:20:28 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=111376
6 years, 11 months ago (2014-01-10 01:23:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/105393003/270001
6 years, 11 months ago (2014-01-10 01:46:47 UTC) #10
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 02:13:57 UTC) #11
Message was sent while issue was closed.
Change committed as 244043

Powered by Google App Engine
This is Rietveld 408576698