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

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: fix win trybot failure 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
« no previous file with comments | « cc/animation/animation.cc ('k') | cc/animation/animation_events.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_delegate.h
diff --git a/cc/animation/animation_delegate.h b/cc/animation/animation_delegate.h
index 732e6937ff7221ef028eca23888cb60f2bc87b3b..aee077cd170700b4cfcf0e619d4cbd1bf63cc2fe 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,11 @@ class CC_EXPORT AnimationDelegate {
TargetProperty::Type target_property,
int group) = 0;
+ virtual void NotifyAnimationTakeover(base::TimeTicks monotonic_time,
+ TargetProperty::Type target_property,
+ double animation_start_time,
+ scoped_ptr<AnimationCurve> curve) = 0;
+
protected:
virtual ~AnimationDelegate() {}
};
« no previous file with comments | « cc/animation/animation.cc ('k') | cc/animation/animation_events.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698