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

Unified Diff: cc/input/input_handler.h

Issue 26880010: gfx: Add FrameTime and DisplayTime classes (Closed) Base URL: http://git.chromium.org/chromium/src.git@checkHighResNow4
Patch Set: WIP Created 7 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/debug/frame_rate_counter.cc ('k') | cc/input/top_controls_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 00446b55bb4afa924fea7475ad4c5818a615aea4..89312ce6a40debe37ab1e8d339fcb78b3a079ba6 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -9,6 +9,7 @@
#include "base/time/time.h"
#include "cc/base/cc_export.h"
#include "cc/input/scrollbar.h"
+#include "ui/gfx/frame_time.h"
namespace gfx {
class Point;
@@ -34,7 +35,7 @@ class CC_EXPORT InputHandlerClient {
virtual ~InputHandlerClient() {}
virtual void WillShutdown() = 0;
- virtual void Animate(base::TimeTicks time) = 0;
+ virtual void Animate(gfx::FrameTime time) = 0;
virtual void MainThreadHasStoppedFlinging() = 0;
// Called when scroll deltas reaching the root scrolling layer go unused.
« no previous file with comments | « cc/debug/frame_rate_counter.cc ('k') | cc/input/top_controls_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698