Home | History | Annotate | Download | only in autocomplete

Lines Matching defs:keyword

50                                     const string16& keyword,
54 keyword(keyword),
121 // NOTE: Be sure and set keyword-related state BEFORE invoking
123 keyword_ = state.keyword;
295 // * the user is not typing a keyword query.
422 // The final parameter to OpenURL, keyword, is not quite correct here: it's
423 // possible to "paste and go" a string that contains a keyword. This is
486 const string16& keyword) {
503 if (template_url_model && !keyword.empty()) {
505 template_url_model->GetTemplateURLForKeyword(keyword);
517 // Strip the keyword + leading space off the input.
518 size_t prefix_length = match.template_url->keyword().size() + 1;
678 const string16& keyword,
680 // Update keyword/hint-related local state.
681 bool keyword_state_changed = (keyword_ != keyword) ||
682 ((is_keyword_hint_ != is_keyword_hint) && !keyword.empty());
684 keyword_ = keyword;
785 // Update the popup for the change, in the process changing to keyword mode
786 // if the user hit space in mid-string after a keyword.
797 // Change to keyword mode if the user has typed a keyword name and is now
798 // pressing space after the name. Accepting the keyword will update our
834 string16 keyword;
856 is_keyword_hint = popup_->GetKeywordForMatch(*match, &keyword);
859 OnPopupDataChanged(inline_autocomplete_text, NULL, keyword,
995 // Then check if the text before the inserted space matches a keyword.
996 string16 keyword;
998 TRIM_LEADING, &keyword);
1000 // Only allow exact keyword match if |keyword| represents a keyword hint.
1001 return keyword.length() && popup_->GetKeywordForText(keyword, &keyword);