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

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: Tweaks from sadrul/jdduke CR 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..d1daa1590d732d2cc497d7ccf8fe9a4997570008 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();
+ // Returns whether the currently pending touch event (waiting ACK) is for
+ // a touch start event.
+ bool IsPendingAckTouchStart() const;
+
// 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