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

Unified Diff: cc/input_handler.h

Issue 11191068: Remove WTF::currentTime() / WTF::monotonicallyIncreasingTime() uses from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 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 | « cc/gl_renderer.cc ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input_handler.h
diff --git a/cc/input_handler.h b/cc/input_handler.h
index 0e1e44cbd72112c51374a10fa0bc171ec1445bcc..def6c394f6b1f3865eafbf4bc1a3d0d8d26126bf 100644
--- a/cc/input_handler.h
+++ b/cc/input_handler.h
@@ -6,6 +6,7 @@
#define CCInputHandler_h
#include "base/basictypes.h"
+#include "base/time.h"
namespace cc {
@@ -52,8 +53,8 @@ public:
virtual void startPageScaleAnimation(const IntSize& targetPosition,
bool anchorPoint,
float pageScale,
- double startTime,
- double duration) = 0;
+ base::TimeTicks startTime,
+ base::TimeDelta duration) = 0;
// Request another callback to InputHandler::animate().
virtual void scheduleAnimation() = 0;
@@ -71,7 +72,7 @@ public:
virtual ~InputHandler() { }
virtual void bindToClient(InputHandlerClient*) = 0;
- virtual void animate(double monotonicTime) = 0;
+ virtual void animate(base::TimeTicks time) = 0;
protected:
InputHandler() { }
« no previous file with comments | « cc/gl_renderer.cc ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698