Home | History | Annotate | Download | only in autocomplete

Lines Matching refs:AutocompleteMatch

96     if ((i->type == AutocompleteMatch::SEARCH_HISTORY) ||
97 (i->type == AutocompleteMatch::SEARCH_SUGGEST) ||
98 (i->type == AutocompleteMatch::SEARCH_WHAT_YOU_TYPED)) {
103 if (((i->type == AutocompleteMatch::SEARCH_HISTORY) ||
104 (i->type == AutocompleteMatch::SEARCH_SUGGEST)) &&
120 AutocompleteMatch::SEARCH_SUGGEST,
126 std::sort(matches_.begin(), matches_.end(), &AutocompleteMatch::MoreRelevant);
186 AutocompleteMatch match;
544 AutocompleteMatch::SEARCH_WHAT_YOU_TYPED,
550 AutocompleteMatch::SEARCH_SUGGEST,
577 matches_.end(), &AutocompleteMatch::MoreRelevant);
635 AutocompleteMatch match;
647 AutocompleteMatch::SEARCH_HISTORY, did_not_accept_suggestion,
663 AutocompleteMatch::SEARCH_SUGGEST,
753 AutocompleteMatch::Type type,
758 AutocompleteMatch match(this, relevance, false, type);
838 std::pair<string16, AutocompleteMatch>(
841 // using AutocompleteMatch::MoreRelevant(), so that we'll prefer "items added
852 AutocompleteMatch SearchProvider::NavigationToMatch(
858 AutocompleteMatch match(this, relevance, false,
859 AutocompleteMatch::NAVSUGGEST);
863 AutocompleteMatch::ClassifyMatchInString(input_text, match.contents,
868 AutocompleteMatch::ClassifyMatchInString(input_text, navigation.site_name,
898 AutocompleteMatch& match = *i;
900 case AutocompleteMatch::SEARCH_WHAT_YOU_TYPED:
901 case AutocompleteMatch::SEARCH_HISTORY:
902 case AutocompleteMatch::SEARCH_SUGGEST: