• Home
  • Raw
  • Download

Lines Matching refs:match

73   const AutocompleteMatch& match = result.match_at(line);  in SetSelectedLine()  local
78 manually_selected_match_.destination_url = match.destination_url; in SetSelectedLine()
79 manually_selected_match_.provider_affinity = match.provider; in SetSelectedLine()
81 match.is_history_what_you_typed_match; in SetSelectedLine()
104 const bool is_keyword_hint = GetKeywordForMatch(match, &keyword); in SetSelectedLine()
107 if ((match.inline_autocomplete_offset != string16::npos) && in SetSelectedLine()
108 (match.inline_autocomplete_offset < match.fill_into_edit.length())) { in SetSelectedLine()
110 match.fill_into_edit.substr(match.inline_autocomplete_offset); in SetSelectedLine()
115 edit_model_->OnPopupDataChanged(match.fill_into_edit, &current_destination, in SetSelectedLine()
131 bool AutocompletePopupModel::GetKeywordForMatch(const AutocompleteMatch& match, in GetKeywordForMatch() argument
134 if (TemplateURL::SupportsReplacement(match.template_url)) { in GetKeywordForMatch()
135 keyword->assign(match.template_url->keyword()); in GetKeywordForMatch()
140 return GetKeywordForText(match.fill_into_edit, keyword); in GetKeywordForMatch()
203 const AutocompleteMatch& match = result().match_at(selected_line_); in TryDeletingCurrentItem() local
204 if (match.deletable) { in TryDeletingCurrentItem()
210 autocomplete_controller()->DeleteMatch(match); in TryDeletingCurrentItem()
226 const AutocompleteMatch& match) const { in GetIconIfExtensionMatch()
227 if (!match.template_url || !match.template_url->IsExtensionKeyword()) in GetIconIfExtensionMatch()
231 match.template_url->GetExtensionId()); in GetIconIfExtensionMatch()