Index: chrome/browser/autocomplete/autocomplete_match.cc |
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc |
index 6911e44bd07ac8a03ee2715575240a3b4e46e422..0d101c86719d61a8a17356465ad66c7ae736add2 100644 |
--- a/chrome/browser/autocomplete/autocomplete_match.cc |
+++ b/chrome/browser/autocomplete/autocomplete_match.cc |
@@ -157,6 +157,7 @@ int AutocompleteMatch::TypeToIcon(Type type) { |
IDR_OMNIBOX_SEARCH, |
IDR_OMNIBOX_HTTP, |
IDR_OMNIBOX_HTTP, |
+ IDR_OMNIBOX_SEARCH, |
}; |
COMPILE_ASSERT(arraysize(icons) == AutocompleteMatchType::NUM_TYPES, |
icons_array_must_match_type_enum); |
@@ -339,7 +340,8 @@ bool AutocompleteMatch::IsSpecializedSearchType(Type type) { |
return type == AutocompleteMatchType::SEARCH_SUGGEST_ENTITY || |
type == AutocompleteMatchType::SEARCH_SUGGEST_INFINITE || |
type == AutocompleteMatchType::SEARCH_SUGGEST_PERSONALIZED || |
- type == AutocompleteMatchType::SEARCH_SUGGEST_PROFILE; |
+ type == AutocompleteMatchType::SEARCH_SUGGEST_PROFILE || |
+ type == AutocompleteMatchType::SEARCH_SUGGEST_ANSWER; |
Peter Kasting
2014/06/10 21:49:46
The effect of putting this here will be that the S
Justin Donnelly
2014/06/11 15:51:53
Well, hitting enter on an Answer for "foo" will, i
Peter Kasting
2014/06/11 17:02:02
The alternative is that you get back a match exact
|
} |
void AutocompleteMatch::ComputeStrippedDestinationURL(Profile* profile) { |