Searched refs:default_match (Results 1 - 13 of 13) sorted by relevance
/external/chromium_org/chrome/browser/ui/omnibox/ |
H A D | omnibox_controller.cc | 54 const AutocompleteResult::const_iterator default_match( 55 result.default_match()); 56 if ((default_match != result.end()) && 57 SearchProvider::ShouldPrefetch(*default_match)) 58 return &(*default_match); 101 const AutocompleteResult::const_iterator match(result().default_match()); 124 ((default_match_changed && result().default_match() != result().end()) ||
|
H A D | omnibox_popup_model.cc | 184 SetSelectedLine(result.default_match() - result.begin(), true, false); 268 selected_line_ = result.default_match() == result.end() ? 269 kNoMatch : static_cast<size_t>(result.default_match() - result.begin());
|
H A D | omnibox_view_browsertest.cc | 671 popup_model->result().default_match()->type); 695 popup_model->result().default_match()->type); 1049 popup_model->result().default_match()->type); 1051 popup_model->result().default_match()->destination_url.spec()); 1068 popup_model->result().default_match()->type); 1070 popup_model->result().default_match()->destination_url.spec());
|
H A D | omnibox_edit_model.cc | 1353 *match = *result().default_match();
|
/external/chromium_org/chrome/browser/android/omnibox/ |
H A D | omnibox_prerender.cc | 87 const AutocompleteResult::const_iterator default_match( 88 autocomplete_result->default_match()); 89 if (default_match == autocomplete_result->end()) 97 prerenderer->IsAllowed(*default_match, web_contents)) { 109 action_predictor->RecommendAction(url_string, *default_match); 118 if (default_match->destination_url != current_url) { 120 *default_match,
|
H A D | autocomplete_controller_android.cc | 336 const AutocompleteResult::const_iterator default_match( 337 result.default_match()); 338 if ((default_match != result.end()) && default_match_changed && 343 if (SearchProvider::ShouldPrefetch(*default_match)) { 344 prefetch_suggestion.text = default_match->contents; 346 SearchProvider::GetSuggestMetadata(*default_match); 379 const AutocompleteResult::const_iterator default_match( 380 autocomplete_result.default_match()); 382 if (default_match != autocomplete_result.end()) { 383 inline_autocomplete_text = default_match [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | autocomplete_classifier.cc | 60 DCHECK(result.default_match() != result.end()); 61 *match = *result.default_match();
|
H A D | autocomplete_controller.cc | 441 const bool last_default_was_valid = result_.default_match() != result_.end(); 447 last_default_fill_into_edit = result_.default_match()->fill_into_edit; 448 last_default_keyword = result_.default_match()->keyword; 449 if (result_.default_match()->associated_keyword != NULL) 451 result_.default_match()->associated_keyword->keyword; 485 const bool default_is_valid = result_.default_match() != result_.end(); 488 (result_.default_match()->associated_keyword != NULL)) { 490 result_.default_match()->associated_keyword->keyword; 504 ((result_.default_match()->fill_into_edit != 507 (result_.default_match() [all...] |
H A D | autocomplete_provider_unittest.cc | 462 controller_->result().default_match()->provider->type()); 466 controller_->result().default_match()->type); 501 ASSERT_NE(result_.end(), result_.default_match()); 502 EXPECT_EQ(provider2, result_.default_match()->provider);
|
/external/chromium_org/components/omnibox/ |
H A D | autocomplete_result.h | 98 const_iterator default_match() const { return default_match_; } function in class:AutocompleteResult
|
H A D | autocomplete_result_unittest.cc | 205 EXPECT_EQ(r1.end(), r1.default_match()); 206 EXPECT_EQ(r2.end(), r2.default_match()); 220 EXPECT_EQ(r1.begin(), r1.default_match()); 224 EXPECT_EQ(r1.end(), r1.default_match()); 227 EXPECT_EQ(r2.begin(), r2.default_match());
|
H A D | search_provider.cc | 901 ACMatches::iterator default_match = FindTopMatch(&matches); local 902 if (default_match != matches.end()) 903 std::rotate(matches.begin(), default_match, default_match + 1);
|
/external/chromium_org/chrome/browser/ui/search/ |
H A D | instant_extended_interactive_uitest.cc | 864 omnibox()->model()->result().default_match()))); 921 omnibox()->model()->result().default_match())));
|
Completed in 171 milliseconds