summaryrefslogtreecommitdiffstats
path: root/cc/input_handler.h
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-29 00:06:29 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-29 00:06:29 +0000
commit30faac90dedf380f50bb2beab7234662c11ea1d0 (patch)
tree592e74095ae0d91503bc260f184134d6e18e522b /cc/input_handler.h
parent0d7498e4e1f0bfdd2639d1e3e4dd501a2f0be479 (diff)
downloadchromium_src-30faac90dedf380f50bb2beab7234662c11ea1d0.zip
chromium_src-30faac90dedf380f50bb2beab7234662c11ea1d0.tar.gz
chromium_src-30faac90dedf380f50bb2beab7234662c11ea1d0.tar.bz2
Remove WTF::currentTime() / WTF::monotonicallyIncreasingTime() uses from cc
These are implemented on top of WebKit::Platform via webkit_wtf_support and need to go. BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11191068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/input_handler.h')
-rw-r--r--cc/input_handler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/cc/input_handler.h b/cc/input_handler.h
index 0e1e44c..def6c39 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() { }