[Contextual Search] Hide CS Bar when selection clears.
commitc53a994af286bc5e7c7d35b896f79a93cb6aed2d
authordonnd <donnd@chromium.org>
Fri, 14 Aug 2015 01:05:58 +0000 (13 18:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 14 Aug 2015 01:06:34 +0000 (14 01:06 +0000)
tree3143344de786772158ed2ced8d2ff854b66108c0
parente11c51eede1cb6a9707fcee08f791d767dce6655
[Contextual Search] Hide CS Bar when selection clears.

There's a corner case where the Bar doesn't hide when the
selection is cleared due to notification related to the
"second tap selects" feature.  Now narrowing the condition
to check for a long-press selection before ignoring the
tap.  A better fix will be to remove this method, when
we address issue 444114.

BUG=491848

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

Cr-Commit-Position: refs/heads/master@{#343312}
chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java