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

Unified Diff: ui/events/ozone/evdev/event_converter_evdev_impl.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: Fix gesture recognizer tests Created 4 years, 7 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: ui/events/ozone/evdev/event_converter_evdev_impl.h
diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl.h b/ui/events/ozone/evdev/event_converter_evdev_impl.h
index 16bf95c76b1d5bdbb603c40f803229e9f36d0eb4..091505aab27e5708d6f125b36094cdfdd9d28bf4 100644
--- a/ui/events/ozone/evdev/event_converter_evdev_impl.h
+++ b/ui/events/ozone/evdev/event_converter_evdev_impl.h
@@ -53,12 +53,12 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdevImpl
void ConvertMouseMoveEvent(const input_event& input);
void OnKeyChange(unsigned int key,
bool down,
- const base::TimeDelta& timestamp);
+ const base::TimeTicks& timestamp);
miu 2016/05/16 20:05:35 Please pass-by-value here (and OnButtonChange() be
void ReleaseKeys();
void ReleaseMouseButtons();
void OnLostSync();
void DispatchMouseButton(const input_event& input);
- void OnButtonChange(int code, bool down, const base::TimeDelta& timestamp);
+ void OnButtonChange(int code, bool down, const base::TimeTicks& timestamp);
// Flush events delimited by EV_SYN. This is useful for handling
// non-axis-aligned movement properly.

Powered by Google App Engine
This is Rietveld 408576698