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

Unified Diff: Source/core/dom/ScriptedAnimationController.h

Issue 369793003: Make the web-animations engine use the passed in blink::WebFrameTime values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing remaining usages of -1 in the code. Created 6 years, 5 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/Document.cpp ('k') | Source/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptedAnimationController.h
diff --git a/Source/core/dom/ScriptedAnimationController.h b/Source/core/dom/ScriptedAnimationController.h
index 751deee8f0b02a6e2a01e9a84fad8d8244b3726d..b72b32095d5627c477f0953d97a3c4f4f03e6898 100644
--- a/Source/core/dom/ScriptedAnimationController.h
+++ b/Source/core/dom/ScriptedAnimationController.h
@@ -27,6 +27,7 @@
#define ScriptedAnimationController_h
#include "platform/heap/Handle.h"
+#include "public/platform/WebFrameTime.h"
#include "wtf/ListHashSet.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
@@ -55,7 +56,7 @@ public:
int registerCallback(PassOwnPtr<RequestAnimationFrameCallback>);
void cancelCallback(CallbackId);
- void serviceScriptedAnimations(double monotonicTimeNow);
+ void serviceScriptedAnimations(blink::WebFrameTime);
void enqueueEvent(PassRefPtrWillBeRawPtr<Event>);
void enqueuePerFrameEvent(PassRefPtrWillBeRawPtr<Event>);
@@ -70,7 +71,7 @@ private:
void scheduleAnimationIfNeeded();
void dispatchEvents();
- void executeCallbacks(double monotonicTimeNow);
+ void executeCallbacks(blink::WebFrameTime monotonicTimeNow);
void callMediaQueryListListeners();
typedef Vector<OwnPtr<RequestAnimationFrameCallback> > CallbackList;
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698