Index: content/browser/renderer_host/input/touch_event_queue.cc |
diff --git a/content/browser/renderer_host/input/touch_event_queue.cc b/content/browser/renderer_host/input/touch_event_queue.cc |
index ecc12056729c1ec58ffeea36e929288e7f08c5ca..89319ee51a56e2f71f6c9f65f24e6eeeb457ba77 100644 |
--- a/content/browser/renderer_host/input/touch_event_queue.cc |
+++ b/content/browser/renderer_host/input/touch_event_queue.cc |
@@ -201,6 +201,15 @@ void TouchEventQueue::FlushQueue() { |
ui::LatencyInfo()); |
} |
+bool TouchEventQueue::IsPendingAckTouchStart() const { |
+ if (touch_queue_.empty()) |
jdduke (slow)
2013/11/20 23:03:02
Nit: Could you also DCHECK(!dispatching_touch_ack)
Rick Byers
2013/11/21 02:37:36
Done.
|
+ return false; |
+ |
+ const blink::WebTouchEvent& event = |
+ touch_queue_.front()->coalesced_event().event; |
+ return (event.type == blink::WebInputEvent::TouchStart); |
+} |
+ |
size_t TouchEventQueue::GetQueueSize() const { |
return touch_queue_.size(); |
} |