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

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

Issue 1700653002: CC Animation: Expose TargetProperty enum to be aliased in Blink Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 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_timelines.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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 TargetProperty::Type 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 554
556 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 555 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
557 556
558 private: 557 private:
559 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 558 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
560 }; 559 };
561 560
562 } // namespace cc 561 } // namespace cc
563 562
564 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 563 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation_timelines.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698