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

Unified Diff: cc/animation/animation_delegate.h

Issue 1734063003: Share animations from compositor to main thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make NotifyAnimationTakeover pure virtual 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 side-by-side diff with in-line comments
Download patch
Index: cc/animation/animation_delegate.h
diff --git a/cc/animation/animation_delegate.h b/cc/animation/animation_delegate.h
index 732e6937ff7221ef028eca23888cb60f2bc87b3b..e571800cfaa7ac59a11202dd8b1c8b9f347e356d 100644
--- a/cc/animation/animation_delegate.h
+++ b/cc/animation/animation_delegate.h
@@ -7,6 +7,7 @@
#include "base/time/time.h"
#include "cc/animation/animation.h"
+#include "cc/animation/animation_curve.h"
namespace cc {
@@ -23,6 +24,10 @@ class CC_EXPORT AnimationDelegate {
TargetProperty::Type target_property,
int group) = 0;
+ virtual void NotifyAnimationTakeover(base::TimeTicks monotonic_time,
+ double animation_start_time,
ajuma 2016/02/26 23:56:54 This should include a target property (even if we
ymalik 2016/02/29 16:31:09 Totally. Done thanks!
+ scoped_ptr<AnimationCurve> curve) = 0;
+
protected:
virtual ~AnimationDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698