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

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

Issue 6731036: Enabled pressing TAB to cycle through the Omnibox results. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 5 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.h
===================================================================
--- chrome/browser/autocomplete/autocomplete.h (revision 95169)
+++ chrome/browser/autocomplete/autocomplete.h (working copy)
@@ -674,6 +674,7 @@
}
#endif
SearchProvider* search_provider() const { return search_provider_; }
+ KeywordProvider* keyword_provider() const { return keyword_provider_; }
// Getters
const AutocompleteInput& input() const { return input_; }
@@ -689,6 +690,11 @@
// Start() is calling this to get the synchronous result.
void UpdateResult(bool is_synchronous_pass);
+ // Updates |result_| to populate each match's |associated_keyword| if that
+ // match can show a keyword hint. |result_| should be sorted by
+ // relevance before this is called.
+ void PopulateMatchKeywordHints();
+
// For each group of contiguous matches from the same TemplateURL, show the
// provider name as a description on the first match in the group.
void UpdateKeywordDescriptions(AutocompleteResult* result);

Powered by Google App Engine
This is Rietveld 408576698