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

Unified Diff: chrome/browser/autocomplete/autocomplete_controller.h

Issue 836213002: Assume all providers may give zero suggest responses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation issue in athena 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
Index: chrome/browser/autocomplete/autocomplete_controller.h
diff --git a/chrome/browser/autocomplete/autocomplete_controller.h b/chrome/browser/autocomplete/autocomplete_controller.h
index cd808884fa33da2378be28b0cec587e9a80aa893..08b1164448c35fa355c0cf0182bdd303999db9df 100644
--- a/chrome/browser/autocomplete/autocomplete_controller.h
+++ b/chrome/browser/autocomplete/autocomplete_controller.h
@@ -81,9 +81,9 @@ class AutocompleteController : public AutocompleteProviderListener {
void Stop(bool clear_result);
// 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().
+ // progress. This is used to call Start() on all providers with
+ // |called_due_to_focus| parameter set to check if they want to provide
+ // on focus matches.
void OnOmniboxFocused(const AutocompleteInput& input);
// Asks the relevant provider to delete |match|, and ensures observers are
« no previous file with comments | « athena/extensions/shell/url_search_provider.cc ('k') | chrome/browser/autocomplete/autocomplete_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698