Do not show contextual search bar on long-press selection change after dismissal
commit3e274d55345a0d2cf8e8698e65d628c9538aea49
authortwellington <twellington@chromium.org>
Tue, 30 Jun 2015 22:47:33 +0000 (30 15:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 30 Jun 2015 22:48:04 +0000 (30 22:48 +0000)
treed1a14a1243c02cef181c2ec3afaae5a7a0b62fc2
parent93ffaf3e9cfd1dc471e764443d099a0bbcac4411
Do not show contextual search bar on long-press selection change after dismissal

If the contextual search panel is showing due to a long-press and and is then
dismissed, it should not be re-shown when the selection is changed by dragging
the pins.

BUG=489461

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

Cr-Commit-Position: refs/heads/master@{#336900}
chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java
chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelBase.java
chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagementDelegate.java
chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java
chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java
chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionHandler.java
chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagerTest.java