#ifndef PageAnimator_h
#define PageAnimator_h
namespace WebCore {
class Page;
class PageAnimator {
public:
explicit PageAnimator(Page*);
void scheduleVisualUpdate();
void serviceScriptedAnimations(double monotonicAnimationStartTime);
void setAnimationFramePending() { m_animationFramePending = true; }
bool isServicingAnimations() const { return m_servicingAnimations; }
void updateLayoutAndStyleForPainting();
private:
Page* m_page;
bool m_animationFramePending;
bool m_servicingAnimations;
bool m_updatingLayoutAndStyleForPainting;
};
}
#endif