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

Side by Side Diff: cc/animation/element_animations.h

Issue 1957533002: cc : Track opacity animation changes on effect tree (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 | « no previous file | cc/animation/element_animations.cc » ('j') | cc/animation/element_animations.cc » ('J')
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_ELEMENT_ANIMATIONS_H_ 5 #ifndef CC_ANIMATION_ELEMENT_ANIMATIONS_H_
6 #define CC_ANIMATION_ELEMENT_ANIMATIONS_H_ 6 #define CC_ANIMATION_ELEMENT_ANIMATIONS_H_
7 7
8 #include <bitset> 8 #include <bitset>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 bool notify_pending_elements); 222 bool notify_pending_elements);
223 223
224 void NotifyClientAnimationWaitingForDeletion(); 224 void NotifyClientAnimationWaitingForDeletion();
225 225
226 void NotifyClientTransformIsPotentiallyAnimatingChanged( 226 void NotifyClientTransformIsPotentiallyAnimatingChanged(
227 bool notify_active_elements, 227 bool notify_active_elements,
228 bool notify_pending_elements); 228 bool notify_pending_elements);
229 229
230 void UpdatePotentiallyAnimatingTransform(); 230 void UpdatePotentiallyAnimatingTransform();
231 231
232 bool AllOpacityAnimationsEnded();
233
232 void OnFilterAnimated(ElementListType list_type, 234 void OnFilterAnimated(ElementListType list_type,
233 const FilterOperations& filters); 235 const FilterOperations& filters);
234 void OnOpacityAnimated(ElementListType list_type, float opacity); 236 void OnOpacityAnimated(ElementListType list_type, float opacity);
235 void OnTransformAnimated(ElementListType list_type, 237 void OnTransformAnimated(ElementListType list_type,
236 const gfx::Transform& transform); 238 const gfx::Transform& transform);
237 void OnScrollOffsetAnimated(ElementListType list_type, 239 void OnScrollOffsetAnimated(ElementListType list_type,
238 const gfx::ScrollOffset& scroll_offset); 240 const gfx::ScrollOffset& scroll_offset);
239 void OnAnimationWaitingForDeletion(); 241 void OnAnimationWaitingForDeletion();
240 void OnTransformIsPotentiallyAnimatingChanged(ElementListType list_type, 242 void OnTransformIsPotentiallyAnimatingChanged(ElementListType list_type,
241 bool is_animating); 243 bool is_animating);
244 void OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating);
242 gfx::ScrollOffset ScrollOffsetForAnimation() const; 245 gfx::ScrollOffset ScrollOffsetForAnimation() const;
243 246
244 void NotifyPlayersAnimationStarted(base::TimeTicks monotonic_time, 247 void NotifyPlayersAnimationStarted(base::TimeTicks monotonic_time,
245 TargetProperty::Type target_property, 248 TargetProperty::Type target_property,
246 int group); 249 int group);
247 void NotifyPlayersAnimationFinished(base::TimeTicks monotonic_time, 250 void NotifyPlayersAnimationFinished(base::TimeTicks monotonic_time,
248 TargetProperty::Type target_property, 251 TargetProperty::Type target_property,
249 int group); 252 int group);
250 void NotifyPlayersAnimationAborted(base::TimeTicks monotonic_time, 253 void NotifyPlayersAnimationAborted(base::TimeTicks monotonic_time,
251 TargetProperty::Type target_property, 254 TargetProperty::Type target_property,
(...skipping 25 matching lines...) Expand all
277 280
278 bool potentially_animating_transform_for_active_elements_; 281 bool potentially_animating_transform_for_active_elements_;
279 bool potentially_animating_transform_for_pending_elements_; 282 bool potentially_animating_transform_for_pending_elements_;
280 283
281 DISALLOW_COPY_AND_ASSIGN(ElementAnimations); 284 DISALLOW_COPY_AND_ASSIGN(ElementAnimations);
282 }; 285 };
283 286
284 } // namespace cc 287 } // namespace cc
285 288
286 #endif // CC_ANIMATION_ELEMENT_ANIMATIONS_H_ 289 #endif // CC_ANIMATION_ELEMENT_ANIMATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/animation/element_animations.cc » ('j') | cc/animation/element_animations.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698