| 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 3bdab903750f69d119f6f1f077c7f2a89ce3f784..b34ca8af48341655b851a88ba6ad94c568735447 100644
|
| --- a/content/browser/renderer_host/input/touch_event_queue.h
|
| +++ b/content/browser/renderer_host/input/touch_event_queue.h
|
| @@ -168,8 +168,9 @@ class CONTENT_EXPORT TouchEventQueue {
|
| // Safely pop the head of the queue.
|
| scoped_ptr<CoalescedWebTouchEvent> PopTouchEvent();
|
|
|
| - // Dispatch |touch| to the client.
|
| - void SendTouchEventImmediately(const TouchEventWithLatencyInfo& touch);
|
| + // Dispatch |touch| to the client. Before dispatching, updates touches state
|
| + // in touchmove event if touch position has not been changed
|
| + void SendTouchEventImmediately(TouchEventWithLatencyInfo& touch);
|
|
|
| enum PreFilterResult {
|
| ACK_WITH_NO_CONSUMER_EXISTS,
|
| @@ -241,6 +242,9 @@ class CONTENT_EXPORT TouchEventQueue {
|
| // mode.
|
| const TouchScrollingMode touch_scrolling_mode_;
|
|
|
| + // TouchMove event is saved to compare touches position in next TouchMove
|
| + scoped_ptr<blink::WebTouchEvent> last_sent_touchmove_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TouchEventQueue);
|
| };
|
|
|
|
|