Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: cc/trees/layer_tree_impl.h

Issue 1981283005: cc : Delete Opacity/Transform/FilterIsAnimatingOnImplOnly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 FilterIsAnimatingOnImplOnly(const LayerImpl* layer) const;
450 bool OpacityIsAnimatingOnImplOnly(const LayerImpl* layer) const;
451 bool ScrollOffsetIsAnimatingOnImplOnly(const LayerImpl* layer) const; 449 bool ScrollOffsetIsAnimatingOnImplOnly(const LayerImpl* layer) const;
452 bool TransformIsAnimatingOnImplOnly(const LayerImpl* layer) const;
453 450
454 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; 451 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const;
455 bool HasOnlyTranslationTransforms(const LayerImpl* layer) const; 452 bool HasOnlyTranslationTransforms(const LayerImpl* layer) const;
456 453
457 bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const; 454 bool MaximumTargetScale(const LayerImpl* layer, float* max_scale) const;
458 bool AnimationStartScale(const LayerImpl* layer, float* start_scale) const; 455 bool AnimationStartScale(const LayerImpl* layer, float* start_scale) const;
459 456
460 bool HasFilterAnimationThatInflatesBounds(const LayerImpl* layer) const; 457 bool HasFilterAnimationThatInflatesBounds(const LayerImpl* layer) const;
461 bool HasTransformAnimationThatInflatesBounds(const LayerImpl* layer) const; 458 bool HasTransformAnimationThatInflatesBounds(const LayerImpl* layer) const;
462 bool HasAnimationThatInflatesBounds(const LayerImpl* layer) const; 459 bool HasAnimationThatInflatesBounds(const LayerImpl* layer) const;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 588
592 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 589 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
593 590
594 private: 591 private:
595 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 592 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
596 }; 593 };
597 594
598 } // namespace cc 595 } // namespace cc
599 596
600 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 597 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698