cc: Disallow scroll offset animations when impl-scrolling isn't supported
commit5d8bec73db031fb0cd49a413d412b2aad9a6be63
authorajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 3 Jul 2014 03:03:11 +0000 (3 03:03 +0000)
committerajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 3 Jul 2014 03:03:11 +0000 (3 03:03 +0000)
tree71cad131c3ea47d0b7f44a37880620cd00f436d9
parent7c5015180b89b698222a796084ce2bf07473217e
cc: Disallow scroll offset animations when impl-scrolling isn't supported

SingleThreadProxy doesn't support directly changing scroll offsets on
the impl layer tree (since it doesn't send scroll deltas from the impl
side back to the main-thread side). This means that scroll offset
animations should be disallowed by cc when using SingleThreadProxy.

BUG=243871

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281140 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed:
cc/animation/animation_registrar.cc
cc/animation/animation_registrar.h
cc/layers/layer.cc
cc/test/fake_proxy.cc
cc/test/fake_proxy.h
cc/trees/layer_tree_host.cc
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_unittest_animation.cc
cc/trees/proxy.h
cc/trees/single_thread_proxy.cc
cc/trees/single_thread_proxy.h
cc/trees/thread_proxy.cc
cc/trees/thread_proxy.h