Searched refs:new_user_text (Results 1 – 3 of 3) sorted by relevance
965 const string16& new_user_text) { in MaybeAcceptKeywordBySpace() argument967 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() argument982 new_user_text.length() <= caret_position || in ShouldAllowExactKeywordMatch()984 !IsSpaceCharForAcceptingKeyword(new_user_text[caret_position - 1]) || in ShouldAllowExactKeywordMatch()[all …]
425 const string16& new_user_text);433 const string16& new_user_text,
633 string16 new_user_text = in Update() local651 (new_user_text.empty() || user_text_ == new_user_text))) { in Update()661 user_text_ = new_user_text; in Update()