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

Unified Diff: cc/trees/mutator_host_client.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 | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/mutator_host_client.h
diff --git a/cc/trees/mutator_host_client.h b/cc/trees/mutator_host_client.h
index 1e1ec5e15012bfc2df7d01aa14770c3ea25a870c..b14871b2ee3a3c3dbf2297f5d84d5eba119150f2 100644
--- a/cc/trees/mutator_host_client.h
+++ b/cc/trees/mutator_host_client.h
@@ -18,6 +18,8 @@ using ElementId = int;
enum class ElementListType { ACTIVE, PENDING };
+enum class AnimationChangeType { POTENTIAL, RUNNING, BOTH };
+
class MutatorHostClient {
public:
virtual bool IsElementInList(ElementId element_id,
@@ -45,6 +47,11 @@ class MutatorHostClient {
ElementListType list_type,
bool is_animating) = 0;
+ virtual void ElementOpacityIsAnimatingChanged(ElementId element_id,
+ ElementListType list_type,
+ AnimationChangeType change_type,
+ bool is_animating) = 0;
+
virtual void ScrollOffsetAnimationFinished() = 0;
virtual gfx::ScrollOffset GetScrollOffsetForAnimation(
ElementId element_id) const = 0;
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698