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

Issue 2118773002: Respect main thread scrolling reasons for fallback to root layer scrolling. (Closed)

Created:
4 years, 5 months ago by Eric Seckler
Modified:
4 years, 5 months ago
Reviewers:
bokan, ajuma, ymalik
CC:
chromium-reviews, blink-layers+watch_chromium.org, kenneth.christiansen, cc-bugs_chromium.org, blink-reviews, Sami
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Respect main thread scrolling reasons for fallback to root layer scrolling. For this purpose, ScrollingCoordinator now also commits the main thread scrolling reasons to the visual viewport scroll layer. We can thus simply check for main thread scrolling reasons on the final layer selected for scrolling in LayerTreeHostImpl::FindScrollLayerForDeviceViewportPoint. BUG=625100 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/59eeb0282913e575a4409c257ce13f6de8e03d69 Cr-Commit-Position: refs/heads/master@{#403765}

Patch Set 1 #

Patch Set 2 : Fix test failures, add additional unit tests. #

Patch Set 3 : gclient sync to fix compile issue. #

Total comments: 11

Patch Set 4 : Address reviewer comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -13 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 2 3 5 chunks +33 lines, -13 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 1 chunk +72 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp View 1 3 chunks +11 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 29 (13 generated)
Eric Seckler
Here's a first try. I think an alternative would be to fall back to the ...
4 years, 5 months ago (2016-07-01 10:30:25 UTC) #3
Eric Seckler
On 2016/07/01 10:30:25, Eric Seckler wrote: > Here's a first try. I think an alternative ...
4 years, 5 months ago (2016-07-01 15:55:56 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2118773002/20001
4 years, 5 months ago (2016-07-01 15:57:23 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/90705)
4 years, 5 months ago (2016-07-01 16:11:43 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2118773002/40001
4 years, 5 months ago (2016-07-01 17:12:23 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-01 18:24:24 UTC) #12
bokan
This approach looks fine to me. Re: integration test, unfortunately we don't have a good ...
4 years, 5 months ago (2016-07-01 19:02:29 UTC) #13
bokan
oops. Actually +ymalik@, see animation question above
4 years, 5 months ago (2016-07-01 19:44:41 UTC) #16
Eric Seckler
Thanks for the speedy review, David! https://codereview.chromium.org/2118773002/diff/40001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2118773002/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode2554 cc/trees/layer_tree_host_impl.cc:2554: *scroll_on_main_thread = true; ...
4 years, 5 months ago (2016-07-04 08:33:26 UTC) #18
ymalik
https://codereview.chromium.org/2118773002/diff/40001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2118773002/diff/40001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode685 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:685: visualViewportScrollLayer->addMainThreadScrollingReasons(mainThreadScrollingReasons); On 2016/07/04 08:33:26, Eric Seckler wrote: > On ...
4 years, 5 months ago (2016-07-04 13:52:07 UTC) #19
bokan
lgtm
4 years, 5 months ago (2016-07-04 21:20:06 UTC) #20
bokan
+ajuma@ for CC OWNER
4 years, 5 months ago (2016-07-04 21:21:31 UTC) #22
ajuma
cc lgtm
4 years, 5 months ago (2016-07-04 21:36:07 UTC) #23
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/2118773002/60001
4 years, 5 months ago (2016-07-05 08:36:21 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-05 10:45:31 UTC) #27
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 10:47:40 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/59eeb0282913e575a4409c257ce13f6de8e03d69
Cr-Commit-Position: refs/heads/master@{#403765}

Powered by Google App Engine
This is Rietveld 408576698