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

Unified Diff: content/common/input_messages.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: Use queue to store the IDs for sent async touchmove Created 5 years, 8 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: content/common/input_messages.h
diff --git a/content/common/input_messages.h b/content/common/input_messages.h
index 80d30430dedaccc5c8970172e8588afeb17b8dd7..4a4f9b8095e84a9f1ccb93db6783b3d2bf222bf3 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -6,6 +6,7 @@
// order relative to input events.
// Multiply-included message file, hence no include guard.
+#include "base/basictypes.h"
#include "base/strings/string16.h"
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
@@ -112,6 +113,7 @@ IPC_STRUCT_BEGIN(InputHostMsg_HandleInputEvent_ACK_Params)
IPC_STRUCT_MEMBER(ui::LatencyInfo, latency)
// TODO(jdduke): Use Optional<T> type to avoid heap alloc, crbug.com/375002.
IPC_STRUCT_MEMBER(scoped_ptr<content::DidOverscrollParams>, overscroll)
+ IPC_STRUCT_MEMBER(uint32, unique_touch_event_id)
IPC_STRUCT_END()
// Sends an input event to the render widget.

Powered by Google App Engine
This is Rietveld 408576698