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

Unified Diff: content/browser/renderer_host/input/touch_event_queue.h

Issue 67383002: Initial browser-side implementation for touch-action (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add back accidentally removed line Created 7 years, 1 month 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/browser/renderer_host/input/touch_event_queue.h
diff --git a/content/browser/renderer_host/input/touch_event_queue.h b/content/browser/renderer_host/input/touch_event_queue.h
index a3053c4e9b0b7bc95ca1c3fa3a277e0cf0adf0ba..c83fc571b7e718549a70b96d9f5bc3542b16e46b 100644
--- a/content/browser/renderer_host/input/touch_event_queue.h
+++ b/content/browser/renderer_host/input/touch_event_queue.h
@@ -62,6 +62,10 @@ class CONTENT_EXPORT TouchEventQueue {
// events being sent to the renderer.
void FlushQueue();
+ // Return whether the currently pending touch event ACK is for a touch start
+ // event with the given ID.
+ bool IsPendingAckTouchStart(int touch_id);
sadrul 2013/11/19 10:36:44 This could be const?
Rick Byers 2013/11/19 22:14:59 Done.
+
// Returns whether the event-queue is empty.
bool empty() const WARN_UNUSED_RESULT {
return touch_queue_.empty();

Powered by Google App Engine
This is Rietveld 408576698