webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::CSSAnimationController Class Reference

#include <CSSAnimationController.h>

Public Member Functions

 CSSAnimationController (Frame &)
 
 ~CSSAnimationController ()
 
void cancelAnimations (RenderElement &)
 
bool updateAnimations (RenderElement &, const RenderStyle &newStyle, std::unique_ptr< RenderStyle > &animatedStyle)
 
std::unique_ptr< RenderStylegetAnimatedStyleForRenderer (RenderElement &)
 
bool computeExtentOfAnimation (RenderElement &, LayoutRect &) const
 
void notifyAnimationStarted (RenderElement &, double startTime)
 
WEBCORE_EXPORT bool pauseAnimationAtTime (RenderElement *, const AtomicString &name, double t)
 
WEBCORE_EXPORT bool pauseTransitionAtTime (RenderElement *, const String &property, double t)
 
WEBCORE_EXPORT unsigned numberOfActiveAnimations (Document *) const
 
bool isRunningAnimationOnRenderer (RenderElement &, CSSPropertyID, AnimationBase::RunningState) const
 
bool isRunningAcceleratedAnimationOnRenderer (RenderElement &, CSSPropertyID, AnimationBase::RunningState) const
 
WEBCORE_EXPORT bool isSuspended () const
 
WEBCORE_EXPORT void suspendAnimations ()
 
WEBCORE_EXPORT void resumeAnimations ()
 
void serviceAnimations ()
 
void updateThrottlingState ()
 
WEBCORE_EXPORT Seconds animationInterval () const
 
WEBCORE_EXPORT void suspendAnimationsForDocument (Document *)
 
WEBCORE_EXPORT void resumeAnimationsForDocument (Document *)
 
WEBCORE_EXPORT bool animationsAreSuspendedForDocument (Document *)
 
void detachFromDocument (Document *)
 
void startAnimationsIfNotSuspended (Document *)
 
void beginAnimationUpdate ()
 
void endAnimationUpdate ()
 
WEBCORE_EXPORT bool allowsNewAnimationsWhileSuspended () const
 
WEBCORE_EXPORT void setAllowsNewAnimationsWhileSuspended (bool)
 
bool hasAnimations () const
 
 CSSAnimationController (Frame &)
 
 ~CSSAnimationController ()
 
void cancelAnimations (RenderElement &)
 
bool updateAnimations (RenderElement &, const RenderStyle &newStyle, std::unique_ptr< RenderStyle > &animatedStyle)
 
std::unique_ptr< RenderStylegetAnimatedStyleForRenderer (RenderElement &)
 
bool computeExtentOfAnimation (RenderElement &, LayoutRect &) const
 
void notifyAnimationStarted (RenderElement &, double startTime)
 
WEBCORE_EXPORT bool pauseAnimationAtTime (RenderElement *, const AtomicString &name, double t)
 
WEBCORE_EXPORT bool pauseTransitionAtTime (RenderElement *, const String &property, double t)
 
WEBCORE_EXPORT unsigned numberOfActiveAnimations (Document *) const
 
bool isRunningAnimationOnRenderer (RenderElement &, CSSPropertyID, AnimationBase::RunningState) const
 
bool isRunningAcceleratedAnimationOnRenderer (RenderElement &, CSSPropertyID, AnimationBase::RunningState) const
 
WEBCORE_EXPORT bool isSuspended () const
 
WEBCORE_EXPORT void suspendAnimations ()
 
WEBCORE_EXPORT void resumeAnimations ()
 
void serviceAnimations ()
 
void updateThrottlingState ()
 
WEBCORE_EXPORT Seconds animationInterval () const
 
WEBCORE_EXPORT void suspendAnimationsForDocument (Document *)
 
WEBCORE_EXPORT void resumeAnimationsForDocument (Document *)
 
WEBCORE_EXPORT bool animationsAreSuspendedForDocument (Document *)
 
void detachFromDocument (Document *)
 
void startAnimationsIfNotSuspended (Document *)
 
void beginAnimationUpdate ()
 
void endAnimationUpdate ()
 
WEBCORE_EXPORT bool allowsNewAnimationsWhileSuspended () const
 
WEBCORE_EXPORT void setAllowsNewAnimationsWhileSuspended (bool)
 
bool hasAnimations () const
 

Static Public Member Functions

static bool supportsAcceleratedAnimationOfProperty (CSSPropertyID)
 
static bool supportsAcceleratedAnimationOfProperty (CSSPropertyID)
 

Constructor & Destructor Documentation

◆ CSSAnimationController() [1/2]

WebCore::CSSAnimationController::CSSAnimationController ( Frame frame)
explicit

◆ ~CSSAnimationController() [1/2]

WebCore::CSSAnimationController::~CSSAnimationController ( )

◆ CSSAnimationController() [2/2]

WebCore::CSSAnimationController::CSSAnimationController ( Frame )
explicit

◆ ~CSSAnimationController() [2/2]

WebCore::CSSAnimationController::~CSSAnimationController ( )

Member Function Documentation

◆ allowsNewAnimationsWhileSuspended() [1/2]

bool WebCore::CSSAnimationController::allowsNewAnimationsWhileSuspended ( ) const

◆ allowsNewAnimationsWhileSuspended() [2/2]

WEBCORE_EXPORT bool WebCore::CSSAnimationController::allowsNewAnimationsWhileSuspended ( ) const

◆ animationInterval() [1/2]

WEBCORE_EXPORT Seconds WebCore::CSSAnimationController::animationInterval ( ) const

◆ animationInterval() [2/2]

Seconds WebCore::CSSAnimationController::animationInterval ( ) const

◆ animationsAreSuspendedForDocument() [1/2]

bool WebCore::CSSAnimationController::animationsAreSuspendedForDocument ( Document document)

◆ animationsAreSuspendedForDocument() [2/2]

WEBCORE_EXPORT bool WebCore::CSSAnimationController::animationsAreSuspendedForDocument ( Document )

◆ beginAnimationUpdate() [1/2]

void WebCore::CSSAnimationController::beginAnimationUpdate ( )

◆ beginAnimationUpdate() [2/2]

void WebCore::CSSAnimationController::beginAnimationUpdate ( )

◆ cancelAnimations() [1/2]

void WebCore::CSSAnimationController::cancelAnimations ( RenderElement renderer)

◆ cancelAnimations() [2/2]

void WebCore::CSSAnimationController::cancelAnimations ( RenderElement )

◆ computeExtentOfAnimation() [1/2]

bool WebCore::CSSAnimationController::computeExtentOfAnimation ( RenderElement renderer,
LayoutRect bounds 
) const

◆ computeExtentOfAnimation() [2/2]

bool WebCore::CSSAnimationController::computeExtentOfAnimation ( RenderElement ,
LayoutRect  
) const

◆ detachFromDocument() [1/2]

void WebCore::CSSAnimationController::detachFromDocument ( Document document)

◆ detachFromDocument() [2/2]

void WebCore::CSSAnimationController::detachFromDocument ( Document )

◆ endAnimationUpdate() [1/2]

void WebCore::CSSAnimationController::endAnimationUpdate ( )

◆ endAnimationUpdate() [2/2]

void WebCore::CSSAnimationController::endAnimationUpdate ( )

◆ getAnimatedStyleForRenderer() [1/2]

std::unique_ptr< RenderStyle > WebCore::CSSAnimationController::getAnimatedStyleForRenderer ( RenderElement renderer)

◆ getAnimatedStyleForRenderer() [2/2]

std::unique_ptr<RenderStyle> WebCore::CSSAnimationController::getAnimatedStyleForRenderer ( RenderElement )

◆ hasAnimations() [1/2]

bool WebCore::CSSAnimationController::hasAnimations ( ) const

◆ hasAnimations() [2/2]

bool WebCore::CSSAnimationController::hasAnimations ( ) const

◆ isRunningAcceleratedAnimationOnRenderer() [1/2]

bool WebCore::CSSAnimationController::isRunningAcceleratedAnimationOnRenderer ( RenderElement ,
CSSPropertyID  ,
AnimationBase::RunningState   
) const

◆ isRunningAcceleratedAnimationOnRenderer() [2/2]

bool WebCore::CSSAnimationController::isRunningAcceleratedAnimationOnRenderer ( RenderElement renderer,
CSSPropertyID  property,
AnimationBase::RunningState  runningState 
) const

◆ isRunningAnimationOnRenderer() [1/2]

bool WebCore::CSSAnimationController::isRunningAnimationOnRenderer ( RenderElement renderer,
CSSPropertyID  property,
AnimationBase::RunningState  runningState 
) const

◆ isRunningAnimationOnRenderer() [2/2]

bool WebCore::CSSAnimationController::isRunningAnimationOnRenderer ( RenderElement ,
CSSPropertyID  ,
AnimationBase::RunningState   
) const

◆ isSuspended() [1/2]

WEBCORE_EXPORT bool WebCore::CSSAnimationController::isSuspended ( ) const

◆ isSuspended() [2/2]

bool WebCore::CSSAnimationController::isSuspended ( ) const

◆ notifyAnimationStarted() [1/2]

void WebCore::CSSAnimationController::notifyAnimationStarted ( RenderElement ,
double  startTime 
)

◆ notifyAnimationStarted() [2/2]

void WebCore::CSSAnimationController::notifyAnimationStarted ( RenderElement renderer,
double  startTime 
)

◆ numberOfActiveAnimations() [1/2]

WEBCORE_EXPORT unsigned WebCore::CSSAnimationController::numberOfActiveAnimations ( Document ) const

◆ numberOfActiveAnimations() [2/2]

unsigned WebCore::CSSAnimationController::numberOfActiveAnimations ( Document document) const

◆ pauseAnimationAtTime() [1/2]

WEBCORE_EXPORT bool WebCore::CSSAnimationController::pauseAnimationAtTime ( RenderElement ,
const AtomicString name,
double  t 
)

◆ pauseAnimationAtTime() [2/2]

bool WebCore::CSSAnimationController::pauseAnimationAtTime ( RenderElement renderer,
const AtomicString name,
double  t 
)

◆ pauseTransitionAtTime() [1/2]

WEBCORE_EXPORT bool WebCore::CSSAnimationController::pauseTransitionAtTime ( RenderElement ,
const String property,
double  t 
)

◆ pauseTransitionAtTime() [2/2]

bool WebCore::CSSAnimationController::pauseTransitionAtTime ( RenderElement renderer,
const String property,
double  t 
)

◆ resumeAnimations() [1/2]

WEBCORE_EXPORT void WebCore::CSSAnimationController::resumeAnimations ( )

◆ resumeAnimations() [2/2]

void WebCore::CSSAnimationController::resumeAnimations ( )

◆ resumeAnimationsForDocument() [1/2]

void WebCore::CSSAnimationController::resumeAnimationsForDocument ( Document document)

◆ resumeAnimationsForDocument() [2/2]

WEBCORE_EXPORT void WebCore::CSSAnimationController::resumeAnimationsForDocument ( Document )

◆ serviceAnimations() [1/2]

void WebCore::CSSAnimationController::serviceAnimations ( )

◆ serviceAnimations() [2/2]

void WebCore::CSSAnimationController::serviceAnimations ( )

◆ setAllowsNewAnimationsWhileSuspended() [1/2]

WEBCORE_EXPORT void WebCore::CSSAnimationController::setAllowsNewAnimationsWhileSuspended ( bool  )

◆ setAllowsNewAnimationsWhileSuspended() [2/2]

void WebCore::CSSAnimationController::setAllowsNewAnimationsWhileSuspended ( bool  allowed)

◆ startAnimationsIfNotSuspended() [1/2]

void WebCore::CSSAnimationController::startAnimationsIfNotSuspended ( Document document)

◆ startAnimationsIfNotSuspended() [2/2]

void WebCore::CSSAnimationController::startAnimationsIfNotSuspended ( Document )

◆ supportsAcceleratedAnimationOfProperty() [1/2]

static bool WebCore::CSSAnimationController::supportsAcceleratedAnimationOfProperty ( CSSPropertyID  )
static

◆ supportsAcceleratedAnimationOfProperty() [2/2]

bool WebCore::CSSAnimationController::supportsAcceleratedAnimationOfProperty ( CSSPropertyID  property)
static

◆ suspendAnimations() [1/2]

WEBCORE_EXPORT void WebCore::CSSAnimationController::suspendAnimations ( )

◆ suspendAnimations() [2/2]

void WebCore::CSSAnimationController::suspendAnimations ( )

◆ suspendAnimationsForDocument() [1/2]

void WebCore::CSSAnimationController::suspendAnimationsForDocument ( Document document)

◆ suspendAnimationsForDocument() [2/2]

WEBCORE_EXPORT void WebCore::CSSAnimationController::suspendAnimationsForDocument ( Document )

◆ updateAnimations() [1/2]

bool WebCore::CSSAnimationController::updateAnimations ( RenderElement renderer,
const RenderStyle newStyle,
std::unique_ptr< RenderStyle > &  animatedStyle 
)

◆ updateAnimations() [2/2]

bool WebCore::CSSAnimationController::updateAnimations ( RenderElement ,
const RenderStyle newStyle,
std::unique_ptr< RenderStyle > &  animatedStyle 
)

◆ updateThrottlingState() [1/2]

void WebCore::CSSAnimationController::updateThrottlingState ( )

◆ updateThrottlingState() [2/2]

void WebCore::CSSAnimationController::updateThrottlingState ( )

The documentation for this class was generated from the following files: