Lines Matching refs:match
73 const AutocompleteMatch& match = result.match_at(line);
78 manually_selected_match_.destination_url = match.destination_url;
79 manually_selected_match_.provider_affinity = match.provider;
81 match.is_history_what_you_typed_match;
100 // Update the edit with the new data for this match.
104 const bool is_keyword_hint = GetKeywordForMatch(match, &keyword);
107 if ((match.inline_autocomplete_offset != string16::npos) &&
108 (match.inline_autocomplete_offset < match.fill_into_edit.length())) {
110 match.fill_into_edit.substr(match.inline_autocomplete_offset);
115 edit_model_->OnPopupDataChanged(match.fill_into_edit, ¤t_destination,
131 bool AutocompletePopupModel::GetKeywordForMatch(const AutocompleteMatch& match,
133 // If the current match is a keyword, return that as the selected keyword.
134 if (TemplateURL::SupportsReplacement(match.template_url)) {
135 keyword->assign(match.template_url->keyword());
139 // See if the current match's fill_into_edit corresponds to a keyword.
140 return GetKeywordForText(match.fill_into_edit, keyword);
203 const AutocompleteMatch& match = result().match_at(selected_line_);
204 if (match.deletable) {
209 // have changed, causing both to revert to the default match.
210 autocomplete_controller()->DeleteMatch(match);
226 const AutocompleteMatch& match) const {
227 if (!match.template_url || !match.template_url->IsExtensionKeyword())
231 match.template_url->GetExtensionId());
238 // There had better not be a nonempty result set with no default match.