Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: Source/WebCore/dom/Document.h

Issue 6537003: Merge 78648 - 2011-02-15 James Robinson <jamesr@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/bindings/js/ScriptDebugServer.cpp ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
};
« no previous file with comments | « Source/WebCore/bindings/js/ScriptDebugServer.cpp ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698