/external/chromium_org/chrome/browser/extensions/api/omnibox/ |
D | omnibox_api_browsertest.cc | 46 AutocompleteMatch match = result.match_at(0); in IN_PROC_BROWSER_TEST_F() 50 match = result.match_at(1); in IN_PROC_BROWSER_TEST_F() 71 EXPECT_EQ(ASCIIToUTF16("keyword"), result.match_at(0).keyword); in IN_PROC_BROWSER_TEST_F() 73 result.match_at(0).fill_into_edit); in IN_PROC_BROWSER_TEST_F() 75 result.match_at(0).type); in IN_PROC_BROWSER_TEST_F() 77 result.match_at(0).provider->type()); in IN_PROC_BROWSER_TEST_F() 78 EXPECT_EQ(ASCIIToUTF16("keyword"), result.match_at(1).keyword); in IN_PROC_BROWSER_TEST_F() 80 result.match_at(1).fill_into_edit); in IN_PROC_BROWSER_TEST_F() 82 result.match_at(1).provider->type()); in IN_PROC_BROWSER_TEST_F() 83 EXPECT_EQ(ASCIIToUTF16("keyword"), result.match_at(2).keyword); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | omnibox_api_testbase.h | 50 AutocompleteMatch match = result.match_at(i); in AutocompleteResultAsString()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_omnibox_apitest.cc | 42 AutocompleteMatch match = result.match_at(i); in AutocompleteResultAsString() 118 AutocompleteMatch match = result.match_at(0); in IN_PROC_BROWSER_TEST_F() 122 match = result.match_at(1); in IN_PROC_BROWSER_TEST_F() 143 ASSERT_TRUE(result.match_at(0).template_url); in IN_PROC_BROWSER_TEST_F() 145 result.match_at(0).fill_into_edit); in IN_PROC_BROWSER_TEST_F() 147 result.match_at(1).fill_into_edit); in IN_PROC_BROWSER_TEST_F() 149 result.match_at(2).fill_into_edit); in IN_PROC_BROWSER_TEST_F() 151 result.match_at(3).fill_into_edit); in IN_PROC_BROWSER_TEST_F() 155 EXPECT_EQ(description, result.match_at(1).contents); in IN_PROC_BROWSER_TEST_F() 156 ASSERT_EQ(6u, result.match_at(1).contents_class.size()); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | autocomplete_result_unittest.cc | 282 EXPECT_TRUE(result.match_at(0)->destination_url.is_empty()); in TEST_F() 283 EXPECT_EQ(1300, result.match_at(0)->relevance); in TEST_F() 284 EXPECT_TRUE(result.match_at(1)->destination_url.is_empty()); in TEST_F() 285 EXPECT_EQ(1200, result.match_at(1)->relevance); in TEST_F() 286 EXPECT_TRUE(result.match_at(2)->destination_url.is_empty()); in TEST_F() 287 EXPECT_EQ(1100, result.match_at(2)->relevance); in TEST_F() 288 EXPECT_EQ("http://b/", result.match_at(3)->destination_url.spec()); in TEST_F() 289 EXPECT_EQ(1000, result.match_at(3)->relevance); in TEST_F() 327 result.match_at(0)->destination_url.spec()); in TEST_F() 328 EXPECT_EQ(1300, result.match_at(0)->relevance); in TEST_F() [all …]
|
D | autocomplete_result.h | 96 const AutocompleteMatch& match_at(size_t index) const; 97 AutocompleteMatch* match_at(size_t index);
|
D | autocomplete_result.cc | 190 (comparing_object.GetDemotedRelevance(*match_at(num_matches)) > 0); in SortAndCull() 250 const AutocompleteMatch& AutocompleteResult::match_at(size_t index) const { in match_at() function in AutocompleteResult 255 AutocompleteMatch* AutocompleteResult::match_at(size_t index) { in match_at() function in AutocompleteResult 268 if (empty() || !match_at(0).IsVerbatimType()) in TopMatchIsVerbatimAndHasNoConsecutiveVerbatimMatches() 270 return !(size() > 1) || !match_at(1).IsVerbatimType(); in TopMatchIsVerbatimAndHasNoConsecutiveVerbatimMatches()
|
D | autocomplete_provider_unittest.cc | 369 result.match_at(j)->associated_keyword.get() != NULL); in RunRedundantKeywordTest() 397 result_.match_at(i)->search_terms_args->assisted_query_stats); in RunAssistedQueryStatsTest() 481 result_.match_at(i)->search_terms_args->assisted_query_stats.empty()); in TEST_F() 486 result_.match_at(i)->search_terms_args->assisted_query_stats.empty()); in TEST_F() 520 result_.match_at(0)->destination_url.possibly_invalid_spec()); in TEST_F() 522 result_.match_at(1)->destination_url.possibly_invalid_spec()); in TEST_F()
|
D | search_provider_unittest.cc | 869 EXPECT_EQ(AutocompleteMatchType::SEARCH_HISTORY, result.match_at(0).type); in TEST_F() 871 result.match_at(1).type); in TEST_F() 873 result.match_at(2).type); in TEST_F() 874 EXPECT_GT(result.match_at(0).relevance, result.match_at(1).relevance); in TEST_F() 875 EXPECT_GT(result.match_at(1).relevance, result.match_at(2).relevance); in TEST_F() 876 EXPECT_TRUE(result.match_at(0).allowed_to_be_default_match); in TEST_F() 877 EXPECT_TRUE(result.match_at(1).allowed_to_be_default_match); in TEST_F() 878 EXPECT_FALSE(result.match_at(2).allowed_to_be_default_match); in TEST_F() 881 EXPECT_EQ(ASCIIToUTF16("k"), result.match_at(0).keyword); in TEST_F() 882 EXPECT_EQ(ASCIIToUTF16("k"), result.match_at(1).keyword); in TEST_F() [all …]
|
D | autocomplete_browsertest.cc | 42 AutocompleteMatch match = result.match_at(i); in AutocompleteResultAsString() 153 AutocompleteMatch match = result.match_at(0); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
D | omnibox_popup_model.cc | 75 const AutocompleteMatch& match = result.match_at(line); in SetSelectedLine() 99 GURL current_destination(result.match_at(selected_line_).destination_url); in SetSelectedLine() 152 const AutocompleteMatch& match = result().match_at(selected_line_); in SetSelectedLineState() 169 const AutocompleteMatch& match = result().match_at(selected_line_); in TryDeletingCurrentItem()
|
D | omnibox_controller.cc | 54 SearchProvider::ShouldPrefetch(result.match_at(1))) ? in GetMatchToPrefetch() 55 &result.match_at(1) : NULL; in GetMatchToPrefetch()
|
D | omnibox_view_browsertest.cc | 1115 popup_model->result().match_at(default_line + 1).fill_into_edit; in IN_PROC_BROWSER_TEST_F() 1128 popup_model->result().match_at(default_line + 1).fill_into_edit); in IN_PROC_BROWSER_TEST_F() 1130 popup_model->result().match_at(default_line + 1).fill_into_edit; in IN_PROC_BROWSER_TEST_F() 1146 selected_text = popup_model->result().match_at(default_line).fill_into_edit; in IN_PROC_BROWSER_TEST_F() 1161 popup_model->result().match_at(default_line).fill_into_edit); in IN_PROC_BROWSER_TEST_F() 1163 popup_model->result().match_at(default_line).fill_into_edit; in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_popup_model.cc | 73 const AutocompleteMatch& match = result.match_at(line); in SetSelectedLine() 95 GURL current_destination(result.match_at(selected_line_).destination_url); in SetSelectedLine() 203 const AutocompleteMatch& match = result().match_at(selected_line_); in TryDeletingCurrentItem()
|
D | autocomplete_browsertest.cc | 39 AutocompleteMatch match = result.match_at(i); in AutocompleteResultAsString() 122 AutocompleteMatch match = result.match_at(0); in IN_PROC_BROWSER_TEST_F()
|
D | autocomplete_edit_view_browsertest.cc | 944 popup_model->result().match_at(default_line).destination_url.spec(); in DeleteItemTest() 950 popup_model->result().match_at(default_line + 1).fill_into_edit; in DeleteItemTest() 963 popup_model->result().match_at(default_line + 1).fill_into_edit); in DeleteItemTest() 965 popup_model->result().match_at(default_line + 1).fill_into_edit; in DeleteItemTest() 981 selected_text = popup_model->result().match_at(default_line).fill_into_edit; in DeleteItemTest() 994 popup_model->result().match_at(default_line).fill_into_edit); in DeleteItemTest() 996 popup_model->result().match_at(default_line).fill_into_edit; in DeleteItemTest()
|
D | autocomplete_popup_view_gtk.cc | 475 const AutocompleteMatch& match = model_->result().match_at(line); in AcceptLine() 610 const AutocompleteMatch& match = result.match_at(i); in HandleExpose()
|
D | autocomplete.h | 537 const AutocompleteMatch& match_at(size_t index) const;
|
D | autocomplete_edit.cc | 515 current_match : result().match_at(index); in OpenURL() 922 *match = result.match_at(popup_->selected_line()); in InfoForCurrentSelection()
|
/external/chromium_org/chrome/browser/ui/gtk/omnibox/ |
D | omnibox_popup_view_gtk.cc | 494 omnibox_view_->OpenMatch(GetResult().match_at(line), disposition, GURL(), in AcceptLine() 546 if (result.match_at(index).associated_keyword.get() && in GetVisibleMatchForInput() 549 *match = result.match_at(index).associated_keyword.get(); in GetVisibleMatchForInput() 554 *match = &result.match_at(index); in GetVisibleMatchForInput()
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
D | omnibox_popup_contents_view.cc | 453 return model_->result().match_at(index); in GetMatchAtIndex() 499 omnibox_view_->OpenMatch(model_->result().match_at(index), disposition, in OpenSelectedLine()
|
/external/chromium/chrome/browser/ |
D | omnibox_search_hint.cc | 193 log->result.match_at(log->selected_index).type; in Observe()
|
/external/chromium/chrome/browser/ui/views/autocomplete/ |
D | autocomplete_popup_contents_view.cc | 562 return model_->result().match_at(index); in GetMatchAtIndex() 622 const AutocompleteMatch& match = model_->result().match_at(index); in OpenIndex()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | options_ui.cc | 362 const AutocompleteMatch& match = result.match_at(i); in ProcessAutocompleteSuggestions()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | browser_options_handler.cc | 438 const AutocompleteMatch& match = result.match_at(i); in OnResultChanged()
|
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
D | omnibox_popup_view_mac.mm | 128 const AutocompleteMatch& match = GetResult().match_at(ii + start_match); 500 omnibox_view_->OpenMatch(GetResult().match_at(row), disposition, GURL(), row);
|