diff options
Diffstat (limited to 'chrome/browser/autocomplete/search_provider.cc')
-rw-r--r-- | chrome/browser/autocomplete/search_provider.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/search_provider.cc b/chrome/browser/autocomplete/search_provider.cc index 2f123d8..b028587 100644 --- a/chrome/browser/autocomplete/search_provider.cc +++ b/chrome/browser/autocomplete/search_provider.cc @@ -697,6 +697,10 @@ void SearchProvider::AddMatchToMap(const std::wstring& query_string, match.fill_into_edit.assign(L"?"); ++search_start; } + if (is_keyword) { + match.fill_into_edit.append(providers_.keyword_provider().keyword() + L" "); + match.template_url = &providers_.keyword_provider(); + } match.fill_into_edit.append(query_string); // NOTE: All Google suggestions currently start with the original input, but // not all Yahoo! suggestions do. |