Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 2cfa04082ef703f3d0bd15ab54481fa7b6239614..64981482db12fe549bdbfc48ba1b40f8d5b94a23 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -489,10 +489,22 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
const gfx::Transform& transform() const { return transform_; } |
bool TransformIsAnimating() 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 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_; } |