Home | History | Annotate | Download | only in omnibox

Lines Matching refs:match

33   // Returns the relevance score of |match| demoted appropriately by
35 int GetDemotedRelevance(const AutocompleteMatch& match);
52 const AutocompleteMatch& match) {
54 demotions_.find(match.type);
56 match.relevance : (match.relevance * demotion_it->second);
61 // Compute demoted relevance scores for each match.
100 // Returns true if |match| is allowed to the default match taking into account
104 const AutocompleteMatch& match,
106 return match.allowed_to_be_default_match &&
109 match.inline_autocompletion.empty());
161 // new low-relevance match appear and then quickly get pushed off the bottom;
199 // If the result set has at least one legal default match without an inline
202 // the experiment is active but there is no legal match without an inline
224 // Top match is not allowed to be the default match. Find the most
225 // relevant legal match and shift it to the front.
256 // If the default match is valid (i.e., not a prompt/placeholder), make
267 // If the user explicitly typed a scheme, the default match should
318 // Returns the match at the given index.
340 // top match to change.
373 const AutocompleteMatch& match) {
375 (AutocompleteMatch::IsSearchType(match.type)) &&
376 (match.transition != ui::PAGE_TRANSITION_KEYWORD) &&
377 (input.canonicalized_url() != match.destination_url)) ?
390 // Set duplicate_matches for the first match before erasing duplicate
431 match,
434 if (i->destination_url == match.destination_url)
459 AutocompleteMatch match = *i;
460 match.relevance = std::min(max_relevance, match.relevance);
461 match.from_previous = true;
462 matches_.push_back(match);