OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; | 384 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; |
385 | 385 |
386 bool HasAnyAnimationTargetingProperty( | 386 bool HasAnyAnimationTargetingProperty( |
387 const LayerImpl* layer, | 387 const LayerImpl* layer, |
388 Animation::TargetProperty property) const; | 388 Animation::TargetProperty property) const; |
389 | 389 |
390 bool FilterIsAnimatingOnImplOnly(const LayerImpl* layer) const; | 390 bool FilterIsAnimatingOnImplOnly(const LayerImpl* layer) const; |
391 bool OpacityIsAnimatingOnImplOnly(const LayerImpl* layer) const; | 391 bool OpacityIsAnimatingOnImplOnly(const LayerImpl* layer) const; |
392 bool TransformIsAnimatingOnImplOnly(const LayerImpl* layer) const; | 392 bool TransformIsAnimatingOnImplOnly(const LayerImpl* layer) const; |
393 | 393 |
| 394 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; |
394 bool HasOnlyTranslationTransforms(const LayerImpl* layer) const; | 395 bool HasOnlyTranslationTransforms(const LayerImpl* layer) const; |
395 | 396 |
396 bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const; | 397 bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const; |
397 bool AnimationStartScale(const LayerImpl* layer, float* start_scale) const; | 398 bool AnimationStartScale(const LayerImpl* layer, float* start_scale) const; |
398 | 399 |
399 bool HasFilterAnimationThatInflatesBounds(const LayerImpl* layer) const; | 400 bool HasFilterAnimationThatInflatesBounds(const LayerImpl* layer) const; |
400 bool HasTransformAnimationThatInflatesBounds(const LayerImpl* layer) const; | 401 bool HasTransformAnimationThatInflatesBounds(const LayerImpl* layer) const; |
401 bool HasAnimationThatInflatesBounds(const LayerImpl* layer) const; | 402 bool HasAnimationThatInflatesBounds(const LayerImpl* layer) const; |
402 | 403 |
403 bool FilterAnimationBoundsForBox(const LayerImpl* layer, | 404 bool FilterAnimationBoundsForBox(const LayerImpl* layer, |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 | 502 |
502 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 503 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
503 | 504 |
504 private: | 505 private: |
505 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 506 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
506 }; | 507 }; |
507 | 508 |
508 } // namespace cc | 509 } // namespace cc |
509 | 510 |
510 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 511 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |