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

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: Modify unittest 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
« content/common/input_messages.h ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event.h
diff --git a/ui/events/event.h b/ui/events/event.h
index e1ca9747b0b1940eecf091ae4b01a841528ec432..30d6cb56f6877548f9156038b69b4499455c12a6 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_messages.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