Home
last modified time | relevance | path

Searched refs:user_text (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/predictors/
Dautocomplete_action_predictor.h79 void RegisterTransitionalMatches(const base::string16& user_text,
92 Action RecommendAction(const base::string16& user_text,
123 base::string16 user_text; member
127 return user_text == other_user_text;
132 base::string16 user_text; member
136 return (user_text != rhs.user_text) ?
137 (user_text < rhs.user_text) : (url < rhs.url);
141 return (user_text == rhs.user_text) && (url == rhs.url);
211 double CalculateConfidence(const base::string16& user_text,
Dautocomplete_action_predictor.cc109 const base::string16& user_text, in RegisterTransitionalMatches() argument
111 if (user_text.length() < kMinimumUserTextLength) in RegisterTransitionalMatches()
113 const base::string16 lower_user_text(base::i18n::ToLower(user_text)); in RegisterTransitionalMatches()
122 transitional_match.user_text = lower_user_text; in RegisterTransitionalMatches()
174 const base::string16& user_text, in RecommendAction() argument
177 const double confidence = CalculateConfidence(user_text, match, &is_in_db); in RecommendAction()
374 if (!StartsWith(lower_user_text, it->user_text, true)) in OnOmniboxOpenedUrl()
380 DCHECK(it->user_text.length() >= kMinimumUserTextLength); in OnOmniboxOpenedUrl()
381 const DBCacheKey key = { it->user_text, *url_it }; in OnOmniboxOpenedUrl()
385 row.user_text = key.user_text; in OnOmniboxOpenedUrl()
[all …]
Dautocomplete_action_predictor_table.cc28 statement->BindString16(1, row.user_text.substr(0, kMaxDataLength)); in BindRowToStatement()
41 row->user_text = statement->ColumnString16(1); in StepAndInitializeRow()
58 const base::string16& user_text, in Row() argument
63 user_text(user_text), in Row()
71 user_text(row.user_text), in Row()
Dautocomplete_action_predictor_unittest.cc36 base::string16 user_text; member
152 row.user_text = test_row.user_text; in CreateRowFromTestUrlInfo()
175 AutocompleteActionPredictor::DBCacheKey key = { row.user_text, row.url }; in UpdateRow()
231 const DBCacheKey key = { test_url_db[0].user_text, test_url_db[0].url }; in TEST_F()
252 const DBCacheKey key = { test_url_db[0].user_text, test_url_db[0].url }; in TEST_F()
261 update_row.user_text = key.user_text; in TEST_F()
309 DBCacheKey key = { test_url_db[i].user_text, test_url_db[i].url }; in TEST_F()
360 predictor()->RecommendAction(test_url_db[i].user_text, match)) in TEST_F()
379 predictor()->RecommendAction(test_url_db[i].user_text, match)) in TEST_F()
Dautocomplete_action_predictor_table.h48 const base::string16& user_text,
56 base::string16 user_text; member
Dautocomplete_action_predictor_table_unittest.cc122 lhs.user_text == rhs.user_text && in RowsAreEqual()
/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_edit_model.cc178 const base::string16& user_text, in State() argument
187 user_text(user_text), in State()
235 const base::string16 user_text(UserTextFromDisplayText(view_->GetText())); in GetStateForTabSwitch() local
236 if (user_text.empty()) { in GetStateForTabSwitch()
241 InternalSetUserText(user_text); in GetStateForTabSwitch()
280 view_->SetUserText(state->user_text, in RestoreState()
281 DisplayTextFromUserText(state->user_text), false); in RestoreState()
1119 const base::string16& user_text = in OnPopupDataChanged() local
1137 view_->SetWindowTextAndCaretPos(DisplayTextFromUserText(user_text), 0, in OnPopupDataChanged()
1140 DisplayTextFromUserText(user_text + inline_autocomplete_text_), in OnPopupDataChanged()
[all …]
Domnibox_edit_model.h58 const base::string16& user_text,
69 const base::string16 user_text; member
Domnibox_view_browsertest.cc1102 base::string16 user_text = omnibox_view->GetText(); in IN_PROC_BROWSER_TEST_F() local
1103 ASSERT_EQ(ASCIIToUTF16("site.com/p"), user_text); in IN_PROC_BROWSER_TEST_F()
1134 ASSERT_EQ(user_text, omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/resources/predictors/
Dautocomplete_action_predictor.js62 entry.user_text;
/external/chromium_org/chrome/browser/ui/webui/predictors/
Dpredictors_handler.cc69 entry->SetString("user_text", it->first.user_text); in RequestAutocompleteActionPredictorDb()