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

Unified Diff: Source/core/frame/DOMWindow.h

Issue 1043903003: rAF: Introduce FrameRequestCallbackCollection for managing rAF callbacks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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/core/dom/ScriptedAnimationController.cpp ('k') | Source/core/frame/LocalDOMWindow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindow.h
diff --git a/Source/core/frame/DOMWindow.h b/Source/core/frame/DOMWindow.h
index 43d83667594f98a0033d07dbb4f2cbdac8550296..ed347e7f4eff11b94ce837a3f23534109f634f3f 100644
--- a/Source/core/frame/DOMWindow.h
+++ b/Source/core/frame/DOMWindow.h
@@ -26,11 +26,11 @@ class DOMWindowCSS;
class Document;
class Element;
class Frame;
+class FrameRequestCallback;
class History;
class LocalDOMWindow;
class MediaQueryList;
class Navigator;
-class RequestAnimationFrameCallback;
class Screen;
class ScrollToOptions;
class SerializedScriptValue;
@@ -167,8 +167,8 @@ public:
virtual PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const String& pseudoElt) const = 0;
// WebKit animation extensions
- virtual int requestAnimationFrame(RequestAnimationFrameCallback*) = 0;
- virtual int webkitRequestAnimationFrame(RequestAnimationFrameCallback*) = 0;
+ virtual int requestAnimationFrame(FrameRequestCallback*) = 0;
+ virtual int webkitRequestAnimationFrame(FrameRequestCallback*) = 0;
virtual void cancelAnimationFrame(int id) = 0;
void captureEvents() { }
« no previous file with comments | « Source/core/dom/ScriptedAnimationController.cpp ('k') | Source/core/frame/LocalDOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698