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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h

Issue 2869183002: Initial implementation of WorkletAnimation (Closed)
Patch Set: Use CheckCanStartAnimationOnCompositor Created 3 years, 6 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: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
index 608f736ac5c07bcf7d9c3c5ff36942d17d24a5cb..408780fbff8845794cca6d732985a0811ddb1c63 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
@@ -13,6 +13,7 @@
namespace blink {
class DictionarySequenceOrDictionary;
+class CompositorAnimationPlayer;
class Element;
class ExceptionState;
class ExecutionContext;
@@ -65,7 +66,8 @@ class CORE_EXPORT KeyframeEffectReadOnly : public AnimationEffectReadOnly {
void StartAnimationOnCompositor(int group,
double start_time,
double time_offset,
- double animation_playback_rate);
+ double animation_playback_rate,
+ CompositorAnimationPlayer*);
bool HasActiveAnimationsOnCompositor() const;
bool HasActiveAnimationsOnCompositor(const PropertyHandle&) const;
bool CancelAnimationOnCompositor();

Powered by Google App Engine
This is Rietveld 408576698