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

Unified Diff: components/omnibox/autocomplete_provider.h

Issue 820063002: Add support for providers called when the omnibox is focused. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build. Created 5 years, 11 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
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_model.cc ('k') | components/omnibox/autocomplete_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/autocomplete_provider.h
diff --git a/components/omnibox/autocomplete_provider.h b/components/omnibox/autocomplete_provider.h
index 9c784ba563924f0ec8613fcab84352b7e21f2c1f..96102928a62bb1f3153d3a541f0d7916e0296a2d 100644
--- a/components/omnibox/autocomplete_provider.h
+++ b/components/omnibox/autocomplete_provider.h
@@ -197,6 +197,10 @@ class AutocompleteProvider
// Returns this provider's type.
Type type() const { return type_; }
+ // Returns whether the provider wants to provide matches in response to the
+ // omnibox being focused.
+ virtual bool ProvidesMatchesOnOmniboxFocus() const;
+
// Returns a string describing this provider's type.
const char* GetName() const;
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_model.cc ('k') | components/omnibox/autocomplete_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698