| 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 3a4bbdf4355065faca7457c6fd6693810be26741..48a57f12b248aa250df455ede970994497a9c331 100644
|
| --- a/content/browser/renderer_host/input/touch_event_queue.h
|
| +++ b/content/browser/renderer_host/input/touch_event_queue.h
|
| @@ -86,6 +86,9 @@ class CONTENT_EXPORT TouchEventQueue {
|
| // Notifies the queue whether the renderer has at least one touch handler.
|
| void OnHasTouchEventHandlers(bool has_handlers);
|
|
|
| + // Notifies the queue whether the renderer has at least one touchmove handler.
|
| + void OnHasTouchMoveEventHandlers(bool has_handlers);
|
| +
|
| // Returns whether the currently pending touch event (waiting ACK) is for
|
| // a touch start event.
|
| bool IsPendingAckTouchStart() const;
|
| @@ -113,7 +116,7 @@ class CONTENT_EXPORT TouchEventQueue {
|
| return touch_queue_.size();
|
| }
|
|
|
| - bool has_handlers() const { return has_handlers_; }
|
| + bool has_handlers() const { return has_handlers_ || has_move_handlers_; }
|
|
|
| size_t uncancelable_touch_moves_pending_ack_count() const {
|
| return ack_pending_async_touchmove_ids_.size();
|
| @@ -197,6 +200,9 @@ class CONTENT_EXPORT TouchEventQueue {
|
| // Whether the renderer has at least one touch handler.
|
| bool has_handlers_;
|
|
|
| + // Whether the renderer has at least one touchmove handler.
|
| + bool has_move_handlers_;
|
| +
|
| // Whether any pointer in the touch sequence reported having a consumer.
|
| bool has_handler_for_current_sequence_;
|
|
|
|
|