Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 7e0a6aed428024f279980cacd00812c12eaf85ff..0a65eed2bd442972f3c16051edf3a75a2e8ca26e 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -339,6 +339,29 @@ class CC_EXPORT LayerTreeImpl { |
bool IsExternalFlingActive() const; |
void DidUpdateScrollOffset(int layer_id); |
+ bool IsAnimatingFilterProperty(const LayerImpl* layer) const; |
+ bool IsAnimatingOpacityProperty(const LayerImpl* layer) const; |
+ bool IsAnimatingTransformProperty(const LayerImpl* layer) const; |
+ |
+ bool FilterIsAnimatingOnImplOnly(const LayerImpl* layer) const; |
+ bool OpacityIsAnimatingOnImplOnly(const LayerImpl* layer) const; |
+ bool TransformIsAnimatingOnImplOnly(const LayerImpl* layer) const; |
+ |
+ bool HasOnlyTranslationTransforms(const LayerImpl* layer) const; |
+ |
+ bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const; |
+ |
+ bool HasFilterAnimationThatInflatesBounds(const LayerImpl* layer) const; |
+ bool HasTransformAnimationThatInflatesBounds(const LayerImpl* layer) const; |
+ bool HasAnimationThatInflatesBounds(const LayerImpl* layer) const; |
+ |
+ bool FilterAnimationBoundsForBox(const LayerImpl* layer, |
+ const gfx::BoxF& box, |
+ gfx::BoxF* bounds) const; |
+ bool TransformAnimationBoundsForBox(const LayerImpl* layer, |
+ const gfx::BoxF& box, |
+ gfx::BoxF* bounds) const; |
+ |
protected: |
explicit LayerTreeImpl( |
LayerTreeHostImpl* layer_tree_host_impl, |