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

Unified Diff: components/exo/touch_delegate.h

Issue 1975533002: Change ui::Event::time_stamp from TimeDelta to TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « components/exo/pointer_unittest.cc ('k') | components/exo/touch_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/touch_delegate.h
diff --git a/components/exo/touch_delegate.h b/components/exo/touch_delegate.h
index d51c04cf527f36b1316aefb89f70bc5e1c1224e2..6a65d7704555ad7adb903bd25f07d77cb24c5d3b 100644
--- a/components/exo/touch_delegate.h
+++ b/components/exo/touch_delegate.h
@@ -31,16 +31,16 @@ class TouchDelegate {
// reference this ID. |location| is the initial location of touch point
// relative to the origin of the surface.
virtual void OnTouchDown(Surface* surface,
- base::TimeDelta time_stamp,
+ base::TimeTicks time_stamp,
int id,
const gfx::Point& location) = 0;
// Called when a touch point has disappeared. No further events will be sent
// for this touch point.
- virtual void OnTouchUp(base::TimeDelta time_stamp, int id) = 0;
+ virtual void OnTouchUp(base::TimeTicks time_stamp, int id) = 0;
// Called when a touch point has changed coordinates.
- virtual void OnTouchMotion(base::TimeDelta time_stamp,
+ virtual void OnTouchMotion(base::TimeTicks time_stamp,
int id,
const gfx::Point& location) = 0;
« no previous file with comments | « components/exo/pointer_unittest.cc ('k') | components/exo/touch_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698