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

Unified Diff: ui/events/event.h

Issue 997283002: Coalesce async touch move events until the ack back from render (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/event.h
diff --git a/ui/events/event.h b/ui/events/event.h
index 349ed55c96050ae23716d2ec6e04bba5b907111b..5be779925e41694d2ebc342ad5df556372be9b40 100644
--- a/ui/events/event.h
+++ b/ui/events/event.h
@@ -518,7 +518,7 @@ class EVENTS_EXPORT TouchEvent : public LocatedEvent {
// The id of the pointer this event modifies.
int touch_id() const { return touch_id_; }
// A unique identifier for this event.
- uint64 unique_event_id() const { return unique_event_id_; }
+ uint32 unique_event_id() const { return unique_event_id_; }
// If we aren't provided with a radius on one axis, use the
// information from the other axis.
float radius_x() const { return radius_x_ > 0 ? radius_x_ : radius_y_; }
@@ -558,7 +558,7 @@ class EVENTS_EXPORT TouchEvent : public LocatedEvent {
const int touch_id_;
// A unique identifier for the touch event.
- const uint64 unique_event_id_;
+ const uint32 unique_event_id_;
// Radius of the X (major) axis of the touch ellipse. 0.0 if unknown.
float radius_x_;
« content/common/input/input_event_ack.h ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698