mac: Fix a history swiper bug with magic mouse.
commitc6fe45c15427efbbb356d36775de837c73be9fd7
authorerikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 7 Jan 2014 22:42:13 +0000 (7 22:42 +0000)
committererikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 7 Jan 2014 22:42:13 +0000 (7 22:42 +0000)
tree66eecbd51d14210d9ad143dd1ed78a5bd5f60321
parentc8826725c7d1fe6a5cf8d46eae51b226ec4a2359
mac: Fix a history swiper bug with magic mouse.

Canceling a history swipe with the magic mouse would fail to hide the swipe
arrow. Previously, the arrow was dismissed in `dealloc`, and I moved the
animation to `dismiss` in a previous change (107343008). Unfortunately, the
logic for magic mouse history swiping was failing to call `dismiss` if the
history swipe was cancelled.

BUG=330312

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243417 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm