Implement new overlay scrollbar specs
commit534236bc91432c5d4c18e0c07477399d0e6aa928
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Oct 2013 21:19:20 +0000 (25 21:19 +0000)
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Oct 2013 21:19:20 +0000 (25 21:19 +0000)
tree893800b3abc4f838f33630a7443f42a8d8053ac6
parente3e6f91a6234c552eaa915a2c6e1cab9f28d4dd7
Implement new overlay scrollbar specs

Make overlay scrollbars thicken only on mouse movement (not scrolling).
Keep the bars thick as long as the mouse is near them.
Thicken and darken the bars through an animation.
Make the distance to thicken the bars 25 dips (instead of 100).

BUG=299046,274010
R=enne@chromium.org, enne, tony

Review URL: https://codereview.chromium.org/40603006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231118 0039d316-1c4b-4281-b951-d872f2087c98
cc/animation/scrollbar_animation_controller_thinning.cc
cc/animation/scrollbar_animation_controller_thinning.h
cc/animation/scrollbar_animation_controller_thinning_unittest.cc
cc/layers/scrollbar_layer_impl_base.cc
cc/layers/scrollbar_layer_impl_base.h
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_impl_unittest.cc