void KeyframeAnimation::onAnimationEnd(double elapsedTime) { if (!sendAnimationEvent(eventNames().webkitAnimationEndEvent, elapsedTime)) { // We didn't dispatch an event, which would call endAnimation(), so we'll just call it here. endAnimation(true); } }
void KeyframeAnimation::onAnimationEnd(double elapsedTime) { sendAnimationEvent(eventNames().animationendEvent, elapsedTime); // End the animation if we don't fill forwards. Forward filling // animations are ended properly in the class destructor. if (!m_animation->fillsForwards()) endAnimation(); }
void KeyframeAnimation::onAnimationIteration(double elapsedTime) { sendAnimationEvent(eventNames().webkitAnimationIterationEvent, elapsedTime); }
void KeyframeAnimation::onAnimationStart(double elapsedTime) { sendAnimationEvent(eventNames().animationstartEvent, elapsedTime); }
void KeyframeAnimation::onAnimationEnd(double elapsedTime) { sendAnimationEvent(eventNames().webkitAnimationEndEvent, elapsedTime); endAnimation(true); }