Index: Source/WebCore/dom/Document.h |
=================================================================== |
--- Source/WebCore/dom/Document.h (revision 78732) |
+++ Source/WebCore/dom/Document.h (working copy) |
@@ -148,6 +148,7 @@ |
#if ENABLE(REQUEST_ANIMATION_FRAME) |
class RequestAnimationFrameCallback; |
+class ScriptedAnimationController; |
#endif |
typedef int ExceptionCode; |
@@ -938,6 +939,9 @@ |
virtual void addMessage(MessageSource, MessageType, MessageLevel, const String& message, unsigned lineNumber, const String& sourceURL, PassRefPtr<ScriptCallStack>); |
virtual void postTask(PassOwnPtr<Task>); // Executes the task on context's thread asynchronously. |
+ virtual void suspendScriptedAnimationControllerCallbacks(); |
+ virtual void resumeScriptedAnimationControllerCallbacks(); |
+ |
#if USE(JSC) |
typedef JSC::WeakGCMap<WebCore::Node*, JSNode*> JSWrapperCache; |
typedef HashMap<DOMWrapperWorld*, JSWrapperCache*> JSWrapperCacheMap; |
@@ -1405,9 +1409,7 @@ |
RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; |
#if ENABLE(REQUEST_ANIMATION_FRAME) |
- typedef Vector<RefPtr<RequestAnimationFrameCallback> > RequestAnimationFrameCallbackList; |
- OwnPtr<RequestAnimationFrameCallbackList> m_requestAnimationFrameCallbacks; |
- int m_nextRequestAnimationFrameCallbackId; |
+ OwnPtr<ScriptedAnimationController> m_scriptedAnimationController; |
#endif |
}; |