| 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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 void DidUpdateScrollState(int layer_id); | 405 void DidUpdateScrollState(int layer_id); |
| 406 | 406 |
| 407 bool IsAnimatingFilterProperty(const LayerImpl* layer) const; | 407 bool IsAnimatingFilterProperty(const LayerImpl* layer) const; |
| 408 bool IsAnimatingOpacityProperty(const LayerImpl* layer) const; | 408 bool IsAnimatingOpacityProperty(const LayerImpl* layer) const; |
| 409 bool IsAnimatingTransformProperty(const LayerImpl* layer) const; | 409 bool IsAnimatingTransformProperty(const LayerImpl* layer) const; |
| 410 | 410 |
| 411 bool HasPotentiallyRunningFilterAnimation(const LayerImpl* layer) const; | 411 bool HasPotentiallyRunningFilterAnimation(const LayerImpl* layer) const; |
| 412 bool HasPotentiallyRunningOpacityAnimation(const LayerImpl* layer) const; | 412 bool HasPotentiallyRunningOpacityAnimation(const LayerImpl* layer) const; |
| 413 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; | 413 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; |
| 414 | 414 |
| 415 bool HasAnyAnimationTargetingProperty( | 415 bool HasAnyAnimationTargetingProperty(const LayerImpl* layer, |
| 416 const LayerImpl* layer, | 416 AnimationTargetProperty property) const; |
| 417 Animation::TargetProperty property) const; | |
| 418 | 417 |
| 419 bool FilterIsAnimatingOnImplOnly(const LayerImpl* layer) const; | 418 bool FilterIsAnimatingOnImplOnly(const LayerImpl* layer) const; |
| 420 bool OpacityIsAnimatingOnImplOnly(const LayerImpl* layer) const; | 419 bool OpacityIsAnimatingOnImplOnly(const LayerImpl* layer) const; |
| 421 bool TransformIsAnimatingOnImplOnly(const LayerImpl* layer) const; | 420 bool TransformIsAnimatingOnImplOnly(const LayerImpl* layer) const; |
| 422 | 421 |
| 423 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; | 422 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; |
| 424 bool HasOnlyTranslationTransforms(const LayerImpl* layer) const; | 423 bool HasOnlyTranslationTransforms(const LayerImpl* layer) const; |
| 425 | 424 |
| 426 bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const; | 425 bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const; |
| 427 bool AnimationStartScale(const LayerImpl* layer, float* start_scale) const; | 426 bool AnimationStartScale(const LayerImpl* layer, float* start_scale) const; |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 | 555 |
| 557 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 556 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 558 | 557 |
| 559 private: | 558 private: |
| 560 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 559 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 561 }; | 560 }; |
| 562 | 561 |
| 563 } // namespace cc | 562 } // namespace cc |
| 564 | 563 |
| 565 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 564 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |