Index: chrome/browser/autocomplete/autocomplete_controller.h |
diff --git a/chrome/browser/autocomplete/autocomplete_controller.h b/chrome/browser/autocomplete/autocomplete_controller.h |
index e834777568883693787dcf4c8e4b69c7e797b42a..cd808884fa33da2378be28b0cec587e9a80aa893 100644 |
--- a/chrome/browser/autocomplete/autocomplete_controller.h |
+++ b/chrome/browser/autocomplete/autocomplete_controller.h |
@@ -80,10 +80,11 @@ class AutocompleteController : public AutocompleteProviderListener { |
// If |clear_result| is true, the controller will also erase the result set. |
void Stop(bool clear_result); |
- // Begin asynchronous fetch of zero-suggest suggestions. The |input| should |
- // contain current omnibox input, the URL of the page we are on, and |
- // that page's classification. |
- void StartZeroSuggest(const AutocompleteInput& input); |
+ // Called when the omnibox is focused while no existing user input is in |
+ // progress. This is used to trigger any providers which want to provide |
+ // matches in response to focus. See |
+ // AutocompleteProvider::ProvidesMatchesOnOmniboxFocus(). |
+ void OnOmniboxFocused(const AutocompleteInput& input); |
// Asks the relevant provider to delete |match|, and ensures observers are |
// notified of resulting changes immediately. This should only be called when |