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

Unified Diff: chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h

Issue 22679003: InstantExtended(gtk): Hide top match if told to so. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
diff --git a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
index 0b6d4b2889ee4d2dfcfe9d58f24c986e41bb57e5..ba80b4a1b6fc969105dec882019bfa9270068067 100644
--- a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
+++ b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
@@ -92,6 +92,11 @@ class OmniboxPopupViewGtk : public OmniboxPopupView,
const AutocompleteMatch** match,
bool* is_selected_keyword);
+ // Returns the number of hidden matches at the top of the popup. This is
+ // non-zero when a verbatim match like search-what-you-typed is present but
+ // should not be shown.
+ size_t GetHiddenMatchCount();
+
CHROMEGTK_CALLBACK_1(OmniboxPopupViewGtk, gboolean, HandleMotion,
GdkEventMotion*);

Powered by Google App Engine
This is Rietveld 408576698