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

Issue 2085853003: cc: Make custom scrollbar scroll on main thread (Closed)

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

Description

cc: Make custom scrollbar scroll on main thread The compositor hit testing needs to let the main thread deal with scrolling on a scrollbar layer. However some webpages on high-DPI screen have a custom scrollbar. The compositor cannot figure out if a layer is a custom scrollbar as it is only a GraphicsLayer in blink. This CL forces custom scrollbars scroll on main thread so that gestures on scrollbars can be correctly processed. BUG=618183 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/599a0d9d885bae01856dc0c716bf851389fe3330 Cr-Commit-Position: refs/heads/master@{#401891}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add webkit unit test #

Patch Set 3 : Update ScrollingCoordinatorTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -2 lines) Patch
M cc/input/main_thread_scrolling_reason.h View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp View 1 2 2 chunks +36 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/custom_scrollbar.html View 1 2 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2085853003/1
4 years, 6 months ago (2016-06-21 17:59:08 UTC) #5
sunxd
This fixes the bug. But I'm wondering if there can be any test added.
4 years, 6 months ago (2016-06-21 17:59:38 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-21 21:03:43 UTC) #8
ajuma
Please add a ScrollingCoordinatorTest for this (see the tests in that file that check for ...
4 years, 6 months ago (2016-06-22 14:41:41 UTC) #9
sunxd
4 years, 6 months ago (2016-06-24 00:45:42 UTC) #10
ajuma
Thanks, lgtm
4 years, 6 months ago (2016-06-24 13:42:00 UTC) #11
bokan
lgtm
4 years, 6 months ago (2016-06-24 14:16:41 UTC) #12
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/2085853003/40001
4 years, 6 months ago (2016-06-24 14:35:09 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-24 17:34:39 UTC) #19
commit-bot: I haz the power
4 years, 6 months ago (2016-06-24 17:35:58 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/599a0d9d885bae01856dc0c716bf851389fe3330
Cr-Commit-Position: refs/heads/master@{#401891}

Powered by Google App Engine
This is Rietveld 408576698