| 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 bool IsAnimatingOpacityProperty(const LayerImpl* layer) const; | 439 bool IsAnimatingOpacityProperty(const LayerImpl* layer) const; |
| 440 bool IsAnimatingTransformProperty(const LayerImpl* layer) const; | 440 bool IsAnimatingTransformProperty(const LayerImpl* layer) const; |
| 441 | 441 |
| 442 bool HasPotentiallyRunningFilterAnimation(const LayerImpl* layer) const; | 442 bool HasPotentiallyRunningFilterAnimation(const LayerImpl* layer) const; |
| 443 bool HasPotentiallyRunningOpacityAnimation(const LayerImpl* layer) const; | 443 bool HasPotentiallyRunningOpacityAnimation(const LayerImpl* layer) const; |
| 444 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; | 444 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; |
| 445 | 445 |
| 446 bool HasAnyAnimationTargetingProperty(const LayerImpl* layer, | 446 bool HasAnyAnimationTargetingProperty(const LayerImpl* layer, |
| 447 TargetProperty::Type property) const; | 447 TargetProperty::Type property) const; |
| 448 | 448 |
| 449 bool ScrollOffsetIsAnimatingOnImplOnly(const LayerImpl* layer) const; | |
| 450 | |
| 451 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; | 449 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; |
| 452 bool HasOnlyTranslationTransforms(const LayerImpl* layer) const; | 450 bool HasOnlyTranslationTransforms(const LayerImpl* layer) const; |
| 453 | 451 |
| 454 bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const; | 452 bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const; |
| 455 bool AnimationStartScale(const LayerImpl* layer, float* start_scale) const; | 453 bool AnimationStartScale(const LayerImpl* layer, float* start_scale) const; |
| 456 | 454 |
| 457 bool HasFilterAnimationThatInflatesBounds(const LayerImpl* layer) const; | 455 bool HasFilterAnimationThatInflatesBounds(const LayerImpl* layer) const; |
| 458 bool HasTransformAnimationThatInflatesBounds(const LayerImpl* layer) const; | 456 bool HasTransformAnimationThatInflatesBounds(const LayerImpl* layer) const; |
| 459 bool HasAnimationThatInflatesBounds(const LayerImpl* layer) const; | 457 bool HasAnimationThatInflatesBounds(const LayerImpl* layer) const; |
| 460 | 458 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 | 586 |
| 589 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 587 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 590 | 588 |
| 591 private: | 589 private: |
| 592 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 590 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 593 }; | 591 }; |
| 594 | 592 |
| 595 } // namespace cc | 593 } // namespace cc |
| 596 | 594 |
| 597 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 595 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |