[Android]Optimization of scrollbar animation.
commit68d7d9b4b8f1cb8f2924c9809f72e0aada530946
authorsataya.m <sataya.m@samsung.com>
Mon, 22 Sep 2014 16:01:59 +0000 (22 09:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 22 Sep 2014 16:02:10 +0000 (22 16:02 +0000)
tree80fb29c5930f5189afa8dd27c5db77f11c70fb06
parentd69572c0e023bc2637d27999319f7841236020e4
[Android]Optimization of scrollbar animation.

Scrollbar animation is required if scrollbar parameters are changed.
If any of the scrollbar parameters are changed that should trigger the
scrollbar animation. If any of the scrollbar parameter is not changed,
that doesn't require scrollbar animation. Current Patch ensures that
scrollbar is animated only when any of the scrollbar parameter is
changed.

BUG=414238

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

Cr-Commit-Position: refs/heads/master@{#295978}
cc/layers/layer_impl.cc
cc/layers/scrollbar_layer_impl_base.cc
cc/layers/scrollbar_layer_impl_base.h
cc/trees/layer_tree_host_impl_unittest.cc