Home
last modified time | relevance | path

Searched refs:new_user_text (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit.cc965 const string16& new_user_text) { in MaybeAcceptKeywordBySpace() argument
967 inline_autocomplete_text_.empty() && new_user_text.length() >= 2 && in MaybeAcceptKeywordBySpace()
968 IsSpaceCharForAcceptingKeyword(*new_user_text.rbegin()) && in MaybeAcceptKeywordBySpace()
969 !IsWhitespace(*(new_user_text.rbegin() + 1)) && in MaybeAcceptKeywordBySpace()
970 (old_user_text.length() + 1 >= new_user_text.length()) && in MaybeAcceptKeywordBySpace()
971 !new_user_text.compare(0, new_user_text.length() - 1, old_user_text, in MaybeAcceptKeywordBySpace()
972 0, new_user_text.length() - 1) && in MaybeAcceptKeywordBySpace()
978 const string16& new_user_text, in ShouldAllowExactKeywordMatch() argument
982 new_user_text.length() <= caret_position || in ShouldAllowExactKeywordMatch()
984 !IsSpaceCharForAcceptingKeyword(new_user_text[caret_position - 1]) || in ShouldAllowExactKeywordMatch()
[all …]
Dautocomplete_edit.h425 const string16& new_user_text);
433 const string16& new_user_text,
/external/chromium/chrome/browser/instant/
Dinstant_loader.cc633 string16 new_user_text = in Update() local
651 (new_user_text.empty() || user_text_ == new_user_text))) { in Update()
661 user_text_ = new_user_text; in Update()