Chromium Code Reviews
DescriptionImplement fade-out animation for Aura overlay scrollbars (CC only).
This change implements the fade out animation in the scroll animation
controller used for Aura overlay scrollbars. It only affects composited
scrollers for now.
This change makes the thinning controller responsible for scheduling two
animations: fading and thinning. It does this by making sure that only one
animation is ever running at a time and making sure to schedule a fade at the
end of a thinning animation if needed.
This patch removes the animated opacity changes between different hover states
since they're no longer part of the specified behavior. It adds a simpler
animated fade out similar to the "linear fade" controller when the scroller is
idle for some time.
It also cleans up the tests for the thinning controller, using constants where
appropriate and making most tests oblivious to animation timing.
BUG=652826
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/6cd8cd30ad46f2ac0f9064289f876c73b050dddd
Cr-Commit-Position: refs/heads/master@{#426711}
Patch Set 1 #Patch Set 2 : More tests and fix for capturing when invisible #Patch Set 3 : Few more fixes #
Total comments: 6
Patch Set 4 : Address aelias@'s feedback #
Messages
Total messages: 16 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||