Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java

Issue 312673007: Fix a problem that the suggestion popup does not disappear when initiating navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
index 0641404bab2da920a7c95c70018cd131ee966f58..154a5f9e986fdbc75d147423f38194e109791e6d 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
@@ -61,7 +61,7 @@ public class SuggestionPopup implements OnSuggestionsReceivedListener, TextWatch
dismissPopup();
}
- private void dismissPopup() {
+ public void dismissPopup() {
if (mSuggestionsPopup != null) {
mSuggestionsPopup.dismiss();
mSuggestionsPopup = null;

Powered by Google App Engine
This is Rietveld 408576698