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

Side by Side Diff: cc/animation/animation_host.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/animation/animation_events.cc ('k') | cc/animation/animation_host.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_ANIMATION_ANIMATION_HOST_H_ 5 #ifndef CC_ANIMATION_ANIMATION_HOST_H_
6 #define CC_ANIMATION_ANIMATION_HOST_H_ 6 #define CC_ANIMATION_ANIMATION_HOST_H_
7 7
8 #include <unordered_map> 8 #include <unordered_map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 bool IsAnimatingTransformProperty(int layer_id, 103 bool IsAnimatingTransformProperty(int layer_id,
104 LayerTreeType tree_type) const; 104 LayerTreeType tree_type) const;
105 105
106 bool HasPotentiallyRunningFilterAnimation(int layer_id, 106 bool HasPotentiallyRunningFilterAnimation(int layer_id,
107 LayerTreeType tree_type) const; 107 LayerTreeType tree_type) const;
108 bool HasPotentiallyRunningOpacityAnimation(int layer_id, 108 bool HasPotentiallyRunningOpacityAnimation(int layer_id,
109 LayerTreeType tree_type) const; 109 LayerTreeType tree_type) const;
110 bool HasPotentiallyRunningTransformAnimation(int layer_id, 110 bool HasPotentiallyRunningTransformAnimation(int layer_id,
111 LayerTreeType tree_type) const; 111 LayerTreeType tree_type) const;
112 112
113 bool HasAnyAnimationTargetingProperty( 113 bool HasAnyAnimationTargetingProperty(int layer_id,
114 int layer_id, 114 TargetProperty::Type property) const;
115 Animation::TargetProperty property) const;
116 115
117 bool FilterIsAnimatingOnImplOnly(int layer_id) const; 116 bool FilterIsAnimatingOnImplOnly(int layer_id) const;
118 bool OpacityIsAnimatingOnImplOnly(int layer_id) const; 117 bool OpacityIsAnimatingOnImplOnly(int layer_id) const;
119 bool TransformIsAnimatingOnImplOnly(int layer_id) const; 118 bool TransformIsAnimatingOnImplOnly(int layer_id) const;
120 119
121 bool HasFilterAnimationThatInflatesBounds(int layer_id) const; 120 bool HasFilterAnimationThatInflatesBounds(int layer_id) const;
122 bool HasTransformAnimationThatInflatesBounds(int layer_id) const; 121 bool HasTransformAnimationThatInflatesBounds(int layer_id) const;
123 bool HasAnimationThatInflatesBounds(int layer_id) const; 122 bool HasAnimationThatInflatesBounds(int layer_id) const;
124 123
125 bool FilterAnimationBoundsForBox(int layer_id, 124 bool FilterAnimationBoundsForBox(int layer_id,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 scoped_ptr<ScrollOffsetAnimations> scroll_offset_animations_; 178 scoped_ptr<ScrollOffsetAnimations> scroll_offset_animations_;
180 179
181 const ThreadInstance thread_instance_; 180 const ThreadInstance thread_instance_;
182 181
183 DISALLOW_COPY_AND_ASSIGN(AnimationHost); 182 DISALLOW_COPY_AND_ASSIGN(AnimationHost);
184 }; 183 };
185 184
186 } // namespace cc 185 } // namespace cc
187 186
188 #endif // CC_ANIMATION_ANIMATION_HOST_H_ 187 #endif // CC_ANIMATION_ANIMATION_HOST_H_
OLDNEW
« no previous file with comments | « cc/animation/animation_events.cc ('k') | cc/animation/animation_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698