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

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

Issue 2006103004: Send takeover msg from MT to CC using the animation path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jbroman nits 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/trees/layer_tree_host_unittest_animation.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 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
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_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698