class SampledEffect;
class Animation FINAL : public AnimationNode {
+ DEFINE_WRAPPERTYPEINFO();
public:
enum Priority { DefaultPriority, TransitionPriority };
void notifyElementDestroyed();
#endif
- bool isCandidateForAnimationOnCompositor() const;
+ bool isCandidateForAnimationOnCompositor(double playerPlaybackRate) const;
// Must only be called once.
- bool maybeStartAnimationOnCompositor(double startTime);
+ bool maybeStartAnimationOnCompositor(double startTime, double timeOffset);
+ bool maybeStartAnimationOnCompositor(double startTime, double timeOffset, double playerPlaybackRate);
bool hasActiveAnimationsOnCompositor() const;
bool hasActiveAnimationsOnCompositor(CSSPropertyID) const;
void cancelAnimationOnCompositor();
} // namespace blink
-#endif
+#endif // Animation_h