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

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, 8 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 80563)
+++ chrome/browser/autocomplete/autocomplete.h (working copy)
@@ -657,6 +657,16 @@
// the popup to ensure it's not showing an out-of-date query.
void ExpireCopiedEntries();
+ // Gets the selected keyword or keyword hint for the given match.
Peter Kasting 2011/04/07 20:19:21 This function claims to be a getter but actually i
+ void GetKeywordForMatch(AutocompleteMatch* match) const;
+
+ // Gets the selected keyword or keyword hint for the given text. Returns
+ // true if |keyword| represents a keyword hint, or false if |keyword|
+ // represents a selected keyword. (|keyword| will always be set [though
Peter Kasting 2011/04/07 20:19:21 This function now seems to only have two cases: cl
+ // possibly to the empty string], and you cannot have both a selected keyword
+ // and a keyword hint simultaneously.)
+ bool GetKeywordForText(const string16& text, string16* keyword) const;
+
SearchProvider* search_provider() const { return search_provider_; }
// Getters
@@ -700,6 +710,8 @@
// invokes |ExpireCopiedEntries|.
base::OneShotTimer<AutocompleteController> expire_timer_;
+ Profile* profile_;
+
// True if a query is not currently running.
bool done_;

Powered by Google App Engine
This is Rietveld 408576698