Simplify TouchEventQueue pointer bookkeeping
commit3a75e7a319c93e3375d3a1f18040f86f9eed9296
authorjdduke <jdduke@chromium.org>
Tue, 10 Feb 2015 00:04:44 +0000 (9 16:04 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 10 Feb 2015 00:05:32 +0000 (10 00:05 +0000)
tree834d0e89661432d1b4dab55fab0b9f82ad000c38
parentec17a20355dbc3b05e2133c0112c332167b63ce7
Simplify TouchEventQueue pointer bookkeeping

Rather than tracking consumer existence for each pointer separately,
instead simply track whether any pointer had a consumer. This leads to
a more consistent touch stream, as seen by the renderer, and simplifies
logic in the TouchEventQueue.

BUG=456056,416497

Review URL: https://codereview.chromium.org/914473002

Cr-Commit-Position: refs/heads/master@{#315443}
content/browser/renderer_host/input/touch_event_queue.cc
content/browser/renderer_host/input/touch_event_queue.h
content/browser/renderer_host/input/touch_event_queue_unittest.cc