Fix tab switcher bottom toolbar animations

This patch only propagates swipe end and fling events to the toolbar
swipe layout if it is showing. Previously all touch events to interact
with the modified swipe handler would be processed regargless of which
layout was showing. The result was incorrect events being triggered
and, in this case, showing incorrect buttons in the bottom toolbar.

Bug: 884615, 882508
Change-Id: Id791624d1505a18c6fd16bf6a64544a049503d16
Reviewed-on: https://chromium-review.googlesource.com/1228936
Reviewed-by: David Trainor <dtrainor@chromium.org>
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#592048}
1 file changed