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

Unified Diff: content/common/input/web_input_event_traits.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: Format input_message 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: content/common/input/web_input_event_traits.h
diff --git a/content/common/input/web_input_event_traits.h b/content/common/input/web_input_event_traits.h
index 2e5a20edf435c05b5e71e6c7e243766b0cee2058..c6fa837d5ef754a786265e056a53ee48f855895f 100644
--- a/content/common/input/web_input_event_traits.h
+++ b/content/common/input/web_input_event_traits.h
@@ -25,7 +25,10 @@ class CONTENT_EXPORT WebInputEventTraits {
const blink::WebInputEvent& event);
static void Coalesce(const blink::WebInputEvent& event_to_coalesce,
blink::WebInputEvent* event);
- static bool IgnoresAckDisposition(const blink::WebInputEvent& event);
+ static bool WillReceiveAckFromRenderer(const blink::WebInputEvent& event);
+
+ // Return uniqueTouchEventId for WebTouchEvent, otherwise return 0.
+ static uint32 GetUniqueTouchEventId(const blink::WebInputEvent& event);
};
} // namespace content
« no previous file with comments | « content/common/input/synthetic_web_input_event_builders.cc ('k') | content/common/input/web_input_event_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698