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

Unified Diff: chrome/browser/autocomplete/search_provider.cc

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/search_provider.cc
===================================================================
--- chrome/browser/autocomplete/search_provider.cc (revision 95169)
+++ chrome/browser/autocomplete/search_provider.cc (working copy)
@@ -872,7 +872,9 @@
if (is_keyword) {
match.fill_into_edit.append(
providers_.keyword_provider().keyword() + char16(' '));
- search_start += providers_.keyword_provider().keyword().size() + 1;
+
+ match.keyword = providers_.keyword_provider().keyword();
+ search_start += match.keyword.size() + 1;
}
match.fill_into_edit.append(query_string);
// Not all suggestions start with the original input.

Powered by Google App Engine
This is Rietveld 408576698