/external/chromium_org/chrome/browser/predictors/ |
D | autocomplete_action_predictor.h | 79 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,
|
D | autocomplete_action_predictor.cc | 109 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 …]
|
D | autocomplete_action_predictor_table.cc | 28 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()
|
D | autocomplete_action_predictor_unittest.cc | 36 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()
|
D | autocomplete_action_predictor_table.h | 48 const base::string16& user_text, 56 base::string16 user_text; member
|
D | autocomplete_action_predictor_table_unittest.cc | 122 lhs.user_text == rhs.user_text && in RowsAreEqual()
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
D | omnibox_edit_model.cc | 175 const base::string16& user_text, in State() argument 184 user_text(user_text), in State() 232 const base::string16 user_text(UserTextFromDisplayText(view_->GetText())); in GetStateForTabSwitch() local 233 if (user_text.empty()) { in GetStateForTabSwitch() 238 InternalSetUserText(user_text); in GetStateForTabSwitch() 277 view_->SetUserText(state->user_text, in RestoreState() 278 DisplayTextFromUserText(state->user_text), false); in RestoreState() 1115 const base::string16& user_text = in OnPopupDataChanged() local 1133 view_->SetWindowTextAndCaretPos(DisplayTextFromUserText(user_text), 0, in OnPopupDataChanged() 1136 DisplayTextFromUserText(user_text + inline_autocomplete_text_), in OnPopupDataChanged() [all …]
|
D | omnibox_edit_model.h | 59 const base::string16& user_text, 70 const base::string16 user_text; member
|
D | omnibox_view_browsertest.cc | 1093 base::string16 user_text = omnibox_view->GetText(); in IN_PROC_BROWSER_TEST_F() local 1094 ASSERT_EQ(ASCIIToUTF16("site.com/p"), user_text); in IN_PROC_BROWSER_TEST_F() 1125 ASSERT_EQ(user_text, omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/predictors/ |
D | predictors_handler.cc | 41 entry->SetString("user_text", it->first.user_text); in RequestAutocompleteActionPredictorDb()
|
/external/chromium_org/chrome/browser/resources/predictors/ |
D | autocomplete_action_predictor.js | 62 entry.user_text;
|