• Home
  • Raw
  • Download

Lines Matching refs:AutocompleteMatch

96     if ((i->type == AutocompleteMatch::SEARCH_HISTORY) ||  in FinalizeInstantQuery()
97 (i->type == AutocompleteMatch::SEARCH_SUGGEST) || in FinalizeInstantQuery()
98 (i->type == AutocompleteMatch::SEARCH_WHAT_YOU_TYPED)) { in FinalizeInstantQuery()
103 if (((i->type == AutocompleteMatch::SEARCH_HISTORY) || in FinalizeInstantQuery()
104 (i->type == AutocompleteMatch::SEARCH_SUGGEST)) && in FinalizeInstantQuery()
120 AutocompleteMatch::SEARCH_SUGGEST, in FinalizeInstantQuery()
126 std::sort(matches_.begin(), matches_.end(), &AutocompleteMatch::MoreRelevant); in FinalizeInstantQuery()
186 AutocompleteMatch match; in Start()
544 AutocompleteMatch::SEARCH_WHAT_YOU_TYPED, in ConvertResultsToAutocompleteMatches()
550 AutocompleteMatch::SEARCH_SUGGEST, in ConvertResultsToAutocompleteMatches()
577 matches_.end(), &AutocompleteMatch::MoreRelevant); in ConvertResultsToAutocompleteMatches()
635 AutocompleteMatch match; in AddHistoryResultsToMap()
647 AutocompleteMatch::SEARCH_HISTORY, did_not_accept_suggestion, in AddHistoryResultsToMap()
663 AutocompleteMatch::SEARCH_SUGGEST, in AddSuggestResultsToMap()
753 AutocompleteMatch::Type type, in AddMatchToMap()
758 AutocompleteMatch match(this, relevance, false, type); in AddMatchToMap()
838 std::pair<string16, AutocompleteMatch>( in AddMatchToMap()
852 AutocompleteMatch SearchProvider::NavigationToMatch( in NavigationToMatch()
858 AutocompleteMatch match(this, relevance, false, in NavigationToMatch()
859 AutocompleteMatch::NAVSUGGEST); in NavigationToMatch()
863 AutocompleteMatch::ClassifyMatchInString(input_text, match.contents, in NavigationToMatch()
868 AutocompleteMatch::ClassifyMatchInString(input_text, navigation.site_name, in NavigationToMatch()
898 AutocompleteMatch& match = *i; in UpdateFirstSearchMatchDescription()
900 case AutocompleteMatch::SEARCH_WHAT_YOU_TYPED: in UpdateFirstSearchMatchDescription()
901 case AutocompleteMatch::SEARCH_HISTORY: in UpdateFirstSearchMatchDescription()
902 case AutocompleteMatch::SEARCH_SUGGEST: in UpdateFirstSearchMatchDescription()