summaryrefslogtreecommitdiffstats
path: root/cc/layer_impl.h
diff options
context:
space:
mode:
authorvollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-13 16:35:17 +0000
committervollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-13 16:35:17 +0000
commit436158733477a44f6c89b6c0c4035bfba5b83b61 (patch)
tree366b42051b7414de50397c4961b32e7b67ef0953 /cc/layer_impl.h
parent372a3371caca852bcc805cea44a60c90772a40af (diff)
downloadchromium_src-436158733477a44f6c89b6c0c4035bfba5b83b61.zip
chromium_src-436158733477a44f6c89b6c0c4035bfba5b83b61.tar.gz
chromium_src-436158733477a44f6c89b6c0c4035bfba5b83b61.tar.bz2
Do not push properties that are animated on impl only.
We currently avoid pushing properties when the main thread layer indicates that it is animating. This code was incorrectly left behind after we started animating on the main thread. Recently, we've added support for impl-only animations. We should never push during one of these animations. BUG= Review URL: https://chromiumcodereview.appspot.com/12413020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_impl.h')
-rw-r--r--cc/layer_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/layer_impl.h b/cc/layer_impl.h
index b2d6d99..bfd8053 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -150,6 +150,7 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
void SetOpacity(float opacity);
float opacity() const { return opacity_; }
bool OpacityIsAnimating() const;
+ bool OpacityIsAnimatingOnImplOnly() const;
void SetPosition(gfx::PointF position);
gfx::PointF position() const { return position_; }
@@ -327,6 +328,7 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
void SetTransform(const gfx::Transform& transform);
const gfx::Transform& transform() const { return transform_; }
bool TransformIsAnimating() const;
+ bool TransformIsAnimatingOnImplOnly() const;
void set_update_rect(const gfx::RectF& update_rect) {
update_rect_ = update_rect;