Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 262dbcbebf6028db64e91fe5be1423c2401a98fa..3635a3ab53aea9abef6145aecb6e546732ab13d1 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -300,6 +300,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
void SetOpacity(float opacity); |
float opacity() const { return opacity_; } |
bool OpacityIsAnimating() const; |
+ bool HasPotentiallyRunningOpacityAnimation() const; |
bool OpacityIsAnimatingOnImplOnly() const; |
void SetBlendMode(SkXfermode::Mode); |
@@ -535,11 +536,25 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
void SetTransform(const gfx::Transform& transform); |
const gfx::Transform& transform() const { return transform_; } |
bool TransformIsAnimating() const; |
+ bool HasPotentiallyRunningTransformAnimation() const; |
bool TransformIsAnimatingOnImplOnly() const; |
+ bool HasOnlyTranslationTransforms() const; |
void SetTransformAndInvertibility(const gfx::Transform& transform, |
bool transform_is_invertible); |
bool transform_is_invertible() const { return transform_is_invertible_; } |
+ bool MaximumTargetScale(float* max_scale) const; |
+ bool AnimationStartScale(float* start_scale) const; |
+ |
+ bool HasFilterAnimationThatInflatesBounds() const; |
+ bool HasTransformAnimationThatInflatesBounds() const; |
+ bool HasAnimationThatInflatesBounds() const; |
+ |
+ bool FilterAnimationBoundsForBox(const gfx::BoxF& box, |
+ gfx::BoxF* bounds) const; |
+ bool TransformAnimationBoundsForBox(const gfx::BoxF& box, |
+ gfx::BoxF* bounds) const; |
+ |
// Note this rect is in layer space (not content space). |
void SetUpdateRect(const gfx::Rect& update_rect); |
gfx::Rect update_rect() const { return update_rect_; } |