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

Unified Diff: Source/platform/exported/WebActiveGestureAnimation.h

Issue 321373003: Changing animate to beginFrame and use struct rather than naked double to allow extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing Adam+Shane's feedback. Created 6 years, 6 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
Index: Source/platform/exported/WebActiveGestureAnimation.h
diff --git a/Source/platform/exported/WebActiveGestureAnimation.h b/Source/platform/exported/WebActiveGestureAnimation.h
index 289c6aa8feae8fd4f42d8f0c20cd186b506045f2..b6458484c9438298064578789fd86805de9a5b63 100644
--- a/Source/platform/exported/WebActiveGestureAnimation.h
+++ b/Source/platform/exported/WebActiveGestureAnimation.h
@@ -27,6 +27,7 @@
#define WebActiveGestureAnimation_h
#include "platform/PlatformExport.h"
+#include "public/platform/WebFrameTime.h"
#include "wtf/Noncopyable.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -47,7 +48,7 @@ public:
static PassOwnPtr<WebActiveGestureAnimation> createWithTimeOffset(PassOwnPtr<WebGestureCurve>, WebGestureCurveTarget*, double startTime);
~WebActiveGestureAnimation();
- bool animate(double time);
+ bool animate(WebFrameTime);
private:
// Assumes a valid WebGestureCurveTarget that outlives the animation.

Powered by Google App Engine
This is Rietveld 408576698