Chromium Code Reviews| Index: chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java |
| index d6144848ec55fe7689e731dc24640f5b93b3b21a..9a1d12e151f282af2c3836d9b041e6f1a7a50359 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java |
| @@ -495,6 +495,11 @@ public class ContextualSearchManager extends ContextualSearchObservable |
| mWereSearchResultsSeen = false; |
| + mSearchPanelDelegate.setShouldAnimateSearchProviderIconSprite( |
| + !mSearchPanelDelegate.isShowing() |
|
pedro (no code reviews)
2015/09/29 01:14:40
Nit: Encapsulate the entire logic in the Contextua
Theresa
2015/10/01 01:57:31
Done.
|
| + && ContextualSearchPolicy.getInstance(mActivity).shouldAnimateSearchProviderIcon( |
| + mSelectionController.getSelectionType())); |
| + |
| // TODO(donnd): although we are showing the bar here, we have not yet set the text! |
| // Refactor to show the bar and set the text at the same time! |
| // TODO(donnd): If there was a previously ongoing contextual search, we should ensure |