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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/animation/element_animations.cc » ('j') | cc/proto/property_tree.proto » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/element_animations.h
diff --git a/cc/animation/element_animations.h b/cc/animation/element_animations.h
index 04e68c26a4fc4634a12f25f42607c761dc1f2517..90d945c01cd9389e77972d5154980334f6974f60 100644
--- a/cc/animation/element_animations.h
+++ b/cc/animation/element_animations.h
@@ -229,6 +229,8 @@ class CC_EXPORT ElementAnimations : public base::RefCounted<ElementAnimations> {
void UpdatePotentiallyAnimatingTransform();
+ bool AllOpacityAnimationsEnded();
+
void OnFilterAnimated(ElementListType list_type,
const FilterOperations& filters);
void OnOpacityAnimated(ElementListType list_type, float opacity);
@@ -239,6 +241,7 @@ class CC_EXPORT ElementAnimations : public base::RefCounted<ElementAnimations> {
void OnAnimationWaitingForDeletion();
void OnTransformIsPotentiallyAnimatingChanged(ElementListType list_type,
bool is_animating);
+ void OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating);
gfx::ScrollOffset ScrollOffsetForAnimation() const;
void NotifyPlayersAnimationStarted(base::TimeTicks monotonic_time,
« no previous file with comments | « no previous file | cc/animation/element_animations.cc » ('j') | cc/proto/property_tree.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698