Home
last modified time | relevance | path

Searched refs:old_user_text (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit.cc770 const string16 old_user_text = user_text_; in OnAfterPossibleChange() local
793 ShouldAllowExactKeywordMatch(old_user_text, user_text_, selection_start); in OnAfterPossibleChange()
802 MaybeAcceptKeywordBySpace(old_user_text, user_text_)); in OnAfterPossibleChange()
964 const string16& old_user_text, in MaybeAcceptKeywordBySpace() argument
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()
977 const string16& old_user_text, in ShouldAllowExactKeywordMatch() argument
983 old_user_text.length() < caret_position || in ShouldAllowExactKeywordMatch()
986 new_user_text.compare(0, caret_position - 1, old_user_text, in ShouldAllowExactKeywordMatch()
990 old_user_text, caret_position - 1, in ShouldAllowExactKeywordMatch()
[all …]
Dautocomplete_edit.h424 bool MaybeAcceptKeywordBySpace(const string16& old_user_text,
432 bool ShouldAllowExactKeywordMatch(const string16& old_user_text,