Fix Magic Mouse history swiping bug.
commitde515231c665422838bf93883a126b154d2e65ff
authorerikchen <erikchen@chromium.org>
Thu, 15 Jan 2015 23:20:58 +0000 (15 15:20 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 15 Jan 2015 23:22:00 +0000 (15 23:22 +0000)
tree000c873b5e64c93e472fa917277313be3d0d05c2
parentb179975134a3302cda4473240abcb74ecb45a6a0
Fix Magic Mouse history swiping bug.

Magic Mouse gestures don't cause -touches*WithEvent: events to be sent down the
responder chain. As such, all state related to Magic Mouse gestures needs to be
reset during -beginGestureWithEvent:.

BUG=317161

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

Cr-Commit-Position: refs/heads/master@{#311762}
chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h
chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm
chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_unit_test.mm