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

Issue 2863153002: Revert of Fade out overlay scrollbar after page load (Closed)

Created:
3 years, 7 months ago by chaopeng
Modified:
3 years, 7 months ago
Reviewers:
weiliangc
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Fade out overlay scrollbar after page load (patchset #1 id:1 of https://codereview.chromium.org/2858973002/ ) Reason for revert: Revert for regression Details: https://bugs.chromium.org/p/chromium/issues/detail?id=718863 Original issue's description: > Fade out overlay scrollbar after page load > > This issue is caused by Aura Overlay Scrollbar is created with > opacity>0. We > used to call SAC::DidScrollUpdate - LTI::UpdateScrollbars to fade out > when RegisterScrollLayer. > > > ``` > #2 0x7f23d0dfe1ea cc::LayerTreeImpl::UpdateScrollbars() > #3 0x7f23d0dfd999 cc::LayerTreeImpl::DidUpdateScrollState() > #4 0x7f23d0e07231 cc::LayerTreeImpl::RegisterScrollLayer() > ``` > > But we remove ScrollbarAnimationController::DidScrollUpdate call in > UpdateScrollbars at > https://crrev.com/697a467f819ce09da5209a3df13b8b92f33e35a4. > Then Overlay Scrollbar can not fade out until we have real scroll. > > In this patch, we apply set_needs_show_scrollbars(true) to the layer in > LayerTreeImpl::RegisterScrollLayer that will let > LTI::HandleScrollbarShowRequestsFromMain pickup and call > SAC::DidScrollUpdate. > > For cc_unittest, remove set_needs_show_scrollbars call in > LayerTreeHostImplTestScrollbarAnimation.* and > LayerTreeHostImplTest.ScrollbarVisibilityChangeCausesRedrawAndCommit. > > BUG=717222 > CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel > > Review-Url: https://codereview.chromium.org/2858973002 > Cr-Commit-Position: refs/heads/master@{#469425} > Committed: https://chromium.googlesource.com/chromium/src/+/b14926c905396fbeb0a77bfc6cce569c8a35fa5f TBR=weiliangc@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=717222 Review-Url: https://codereview.chromium.org/2863153002 Cr-Commit-Position: refs/heads/master@{#469763} Committed: https://chromium.googlesource.com/chromium/src/+/9320fa40f77c26a054be97c9e2c7543e277c3081

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M cc/trees/layer_tree_host_impl_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
chaopeng
Created Revert of Fade out overlay scrollbar after page load
3 years, 7 months ago (2017-05-05 18:06:49 UTC) #2
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/2863153002/1
3 years, 7 months ago (2017-05-05 18:07:20 UTC) #3
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 7 months ago (2017-05-05 18:07:22 UTC) #5
chaopeng
weiliangc@ Please stamp for revert. Thank you.
3 years, 7 months ago (2017-05-05 18:08:31 UTC) #6
weiliangc
lgtm
3 years, 7 months ago (2017-05-05 20:05:45 UTC) #8
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/2863153002/1
3 years, 7 months ago (2017-05-05 20:06:37 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 20:07:18 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/9320fa40f77c26a054be97c9e2c7...

Powered by Google App Engine
This is Rietveld 408576698