/external/chromium_org/chrome/browser/autocomplete/ |
D | autocomplete_match_unittest.cc | 24 AutocompleteMatch m1(NULL, 0, false, in TEST() 26 AutocompleteMatch m2(NULL, 0, false, in TEST() 33 AutocompleteMatch::MoreRelevant(m1, m2)); in TEST() 40 AutocompleteMatch::ClassificationsToString( in TEST() 41 AutocompleteMatch::MergeClassifications( in TEST() 42 AutocompleteMatch::ACMatchClassifications(), in TEST() 43 AutocompleteMatch::ACMatchClassifications()))); in TEST() 48 AutocompleteMatch::ClassificationsToString( in TEST() 49 AutocompleteMatch::MergeClassifications( in TEST() 50 AutocompleteMatch::ClassificationsFromString("0,0"), in TEST() [all …]
|
D | autocomplete_match.cc | 34 const char16 AutocompleteMatch::kInvalidChars[] = { 41 AutocompleteMatch::AutocompleteMatch() in AutocompleteMatch() function in AutocompleteMatch 54 AutocompleteMatch::AutocompleteMatch(AutocompleteProvider* provider, in AutocompleteMatch() function in AutocompleteMatch 70 AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match) in AutocompleteMatch() function in AutocompleteMatch 88 new AutocompleteMatch(*match.associated_keyword) : NULL), in AutocompleteMatch() 98 AutocompleteMatch::~AutocompleteMatch() { in ~AutocompleteMatch() 101 AutocompleteMatch& AutocompleteMatch::operator=( in operator =() 102 const AutocompleteMatch& match) { in operator =() 123 new AutocompleteMatch(*match.associated_keyword) : NULL); in operator =() 134 int AutocompleteMatch::TypeToIcon(Type type) { in TypeToIcon() [all …]
|
D | autocomplete_match.h | 35 struct AutocompleteMatch { struct 84 AutocompleteMatch(); argument 85 AutocompleteMatch(AutocompleteProvider* provider, 89 AutocompleteMatch(const AutocompleteMatch& match); 90 ~AutocompleteMatch(); 93 AutocompleteMatch& operator=(const AutocompleteMatch& match); argument 104 static bool MoreRelevant(const AutocompleteMatch& elem1, 105 const AutocompleteMatch& elem2); 111 static bool DestinationSortFunc(const AutocompleteMatch& elem1, 112 const AutocompleteMatch& elem2); [all …]
|
D | autocomplete_result.cc | 30 int GetDemotedRelevance(const AutocompleteMatch& match); 33 bool operator()(const AutocompleteMatch& elem1, 34 const AutocompleteMatch& elem2); 47 const AutocompleteMatch& match) { in GetDemotedRelevance() 54 bool CompareWithDemoteByType::operator()(const AutocompleteMatch& elem1, in operator ()() 55 const AutocompleteMatch& elem2) { in operator ()() 135 DCHECK_EQ(AutocompleteMatch::SanitizeString(i->contents), i->contents); in AppendMatches() 136 DCHECK_EQ(AutocompleteMatch::SanitizeString(i->description), in AppendMatches() 152 &AutocompleteMatch::DestinationSortFunc); in SortAndCull() 154 &AutocompleteMatch::DestinationsEqual), in SortAndCull() [all …]
|
D | shortcuts_provider_unittest.cc | 55 AutocompleteMatch::Type type; 306 AutocompleteMatch::ClassificationsFromString(cur.contents_class), in FillData() 308 AutocompleteMatch::ClassificationsFromString(cur.description_class), in FillData() 363 ac_matches_.end(), AutocompleteMatch::MoreRelevant); in RunTest() 540 AutocompleteMatch::ClassificationsFromString("0,0"); in TEST_F() 546 EXPECT_EQ("0,0,2,2,5,0", AutocompleteMatch::ClassificationsToString(spans_a)); in TEST_F() 551 AutocompleteMatch::ClassificationsToString(spans_b)); in TEST_F() 557 AutocompleteMatch::ClassificationsToString(spans_c)); in TEST_F() 565 AutocompleteMatch::ClassificationsToString(spans_d)); in TEST_F() 570 "66,2,67,0", AutocompleteMatch::ClassificationsToString(spans_e)); in TEST_F() [all …]
|
D | autocomplete_result.h | 96 const AutocompleteMatch& match_at(size_t index) const; 97 AutocompleteMatch* match_at(size_t index); 149 const AutocompleteMatch& match); 166 static bool HasMatchByDestination(const AutocompleteMatch& match, 176 const AutocompleteMatch& match);
|
D | bookmark_provider.cc | 106 AutocompleteMatch match(TitleMatchToACMatch(*i)); in DoAutocomplete() 117 AutocompleteMatch::MoreRelevant); in DoAutocomplete() 121 AutocompleteMatch::MoreRelevant); in DoAutocomplete() 160 AutocompleteMatch BookmarkProvider::TitleMatchToACMatch( in TitleMatchToACMatch() 165 AutocompleteMatch match(this, 0, false, in TitleMatchToACMatch() 272 AutocompleteMatch::ACMatchClassifications new_class; in ClassificationsFromMatch() 273 AutocompleteMatch::ClassifyLocationInString(i->first, i->second - i->first, in ClassificationsFromMatch() 275 classifications = AutocompleteMatch::MergeClassifications( in ClassificationsFromMatch()
|
D | contact_provider_chromeos.cc | 51 AutocompleteMatch::ACMatchClassifications new_class; in WordIsNamePrefix() 52 AutocompleteMatch::ClassifyLocationInString(name_index_in_full_name, in WordIsNamePrefix() 54 *classifications = AutocompleteMatch::MergeClassifications( in WordIsNamePrefix() 175 AutocompleteMatch::SanitizeString(UTF8ToUTF16(contact.full_name())); in RefreshContacts() 177 AutocompleteMatch::SanitizeString(UTF8ToUTF16(contact.given_name())); in RefreshContacts() 179 AutocompleteMatch::SanitizeString(UTF8ToUTF16(contact.family_name())); in RefreshContacts() 226 AutocompleteMatch ContactProvider::CreateAutocompleteMatch( in CreateAutocompleteMatch() 229 AutocompleteMatch match(this, 0, false, AutocompleteMatchType::CONTACT); in CreateAutocompleteMatch()
|
D | history_provider.h | 13 struct AutocompleteMatch; 19 virtual void DeleteMatch(const AutocompleteMatch& match) OVERRIDE; 29 void DeleteMatchFromMatches(const AutocompleteMatch& match);
|
D | keyword_provider.h | 88 AutocompleteMatch CreateVerbatimMatch(const base::string16& text, 127 AutocompleteMatch CreateAutocompleteMatch( 139 AutocompleteMatch* match) const; 166 std::vector<AutocompleteMatch> extension_suggest_matches_;
|
D | zero_suggest_provider.h | 118 AutocompleteMatch::Type type, 125 AutocompleteMatch NavigationToMatch( 142 AutocompleteMatch MatchForCurrentURL(); 168 AutocompleteMatch current_url_match_;
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_match.cc | 11 AutocompleteMatch::AutocompleteMatch() in AutocompleteMatch() function in AutocompleteMatch 24 AutocompleteMatch::AutocompleteMatch(AutocompleteProvider* provider, in AutocompleteMatch() function in AutocompleteMatch 40 AutocompleteMatch::~AutocompleteMatch() { in ~AutocompleteMatch() 44 std::string AutocompleteMatch::TypeToString(Type type) { in TypeToString() 63 int AutocompleteMatch::TypeToIcon(Type type) { in TypeToIcon() 82 bool AutocompleteMatch::MoreRelevant(const AutocompleteMatch& elem1, in MoreRelevant() 83 const AutocompleteMatch& elem2) { in MoreRelevant() 94 bool AutocompleteMatch::DestinationSortFunc(const AutocompleteMatch& elem1, in DestinationSortFunc() 95 const AutocompleteMatch& elem2) { in DestinationSortFunc() 105 bool AutocompleteMatch::DestinationsEqual(const AutocompleteMatch& elem1, in DestinationsEqual() [all …]
|
D | autocomplete_match.h | 28 struct AutocompleteMatch { struct 85 AutocompleteMatch(); argument 86 AutocompleteMatch(AutocompleteProvider* provider, 90 ~AutocompleteMatch(); 100 static bool MoreRelevant(const AutocompleteMatch& elem1, 101 const AutocompleteMatch& elem2); 104 static bool DestinationSortFunc(const AutocompleteMatch& elem1, 105 const AutocompleteMatch& elem2); 106 static bool DestinationsEqual(const AutocompleteMatch& elem1, 107 const AutocompleteMatch& elem2); [all …]
|
D | search_provider.cc | 96 if ((i->type == AutocompleteMatch::SEARCH_HISTORY) || in FinalizeInstantQuery() 97 (i->type == AutocompleteMatch::SEARCH_SUGGEST) || in FinalizeInstantQuery() 98 (i->type == AutocompleteMatch::SEARCH_WHAT_YOU_TYPED)) { in FinalizeInstantQuery() 103 if (((i->type == AutocompleteMatch::SEARCH_HISTORY) || in FinalizeInstantQuery() 104 (i->type == AutocompleteMatch::SEARCH_SUGGEST)) && in FinalizeInstantQuery() 120 AutocompleteMatch::SEARCH_SUGGEST, in FinalizeInstantQuery() 126 std::sort(matches_.begin(), matches_.end(), &AutocompleteMatch::MoreRelevant); in FinalizeInstantQuery() 186 AutocompleteMatch match; in Start() 544 AutocompleteMatch::SEARCH_WHAT_YOU_TYPED, in ConvertResultsToAutocompleteMatches() 550 AutocompleteMatch::SEARCH_SUGGEST, in ConvertResultsToAutocompleteMatches() [all …]
|
D | autocomplete_edit.cc | 130 AutocompleteMatch AutocompleteEditModel::CurrentMatch() { in CurrentMatch() 131 AutocompleteMatch match; in CurrentMatch() 216 AutocompleteMatch current_match = CurrentMatch(); in OnChanged() 248 AutocompleteMatch match; in GetDataForURLExport() 309 AutocompleteMatch match; in CurrentTextIsURL() 314 AutocompleteMatch::Type AutocompleteEditModel::CurrentTextType() const { in CurrentTextType() 315 AutocompleteMatch match; in CurrentTextType() 413 AutocompleteMatch match; in CanPasteAndGo() 434 AutocompleteMatch match; in AcceptInput() 461 if (match.type == AutocompleteMatch::SEARCH_WHAT_YOU_TYPED || in AcceptInput() [all …]
|
D | search_provider_unittest.cc | 54 AutocompleteMatch FindMatchWithDestination(const GURL& url); 198 AutocompleteMatch SearchProviderTest::FindMatchWithDestination( in FindMatchWithDestination() 205 return AutocompleteMatch(NULL, 1, false, AutocompleteMatch::HISTORY_URL); in FindMatchWithDestination() 248 AutocompleteMatch term1_match = FindMatchWithDestination(term1_url_); in TEST_F() 255 AutocompleteMatch what_you_typed_match = in TEST_F() 269 ASSERT_EQ(AutocompleteMatch::SEARCH_WHAT_YOU_TYPED, in TEST_F() 312 AutocompleteMatch match = FindMatchWithDestination(keyword_url_); in TEST_F() 376 AutocompleteMatch instant_match = FindMatchWithDestination(instant_url); in TEST_F() 385 AutocompleteMatch what_you_typed_match = in TEST_F() 410 AutocompleteMatch instant_match = FindMatchWithDestination(instant_url); in TEST_F() [all …]
|
D | keyword_provider_unittest.cc | 34 ResultType AutocompleteMatch::* member); 66 ResultType AutocompleteMatch::* member) { in RunTest() 126 &AutocompleteMatch::fill_into_edit); in TEST_F() 151 &AutocompleteMatch::destination_url); in TEST_F() 180 &AutocompleteMatch::contents); in TEST_F() 200 &AutocompleteMatch::description); in TEST_F()
|
D | autocomplete_result_unittest.cc | 30 AutocompleteMatch* match); 55 AutocompleteMatch* match) { in PopulateAutocompleteMatch() 69 AutocompleteMatch match; in PopulateAutocompleteMatches() 81 AutocompleteMatch expected_match; in AssertResultMatches() 83 const AutocompleteMatch& match = *(result.begin() + i); in AssertResultMatches() 126 AutocompleteMatch match; in TEST_F()
|
D | autocomplete.h | 171 struct AutocompleteMatch; 179 typedef std::vector<AutocompleteMatch> ACMatches; 416 virtual void DeleteMatch(const AutocompleteMatch& match); 515 void AddMatch(const AutocompleteMatch& match); 537 const AutocompleteMatch& match_at(size_t index) const; 566 static bool HasMatchByDestination(const AutocompleteMatch& match, 667 void DeleteMatch(const AutocompleteMatch& match);
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
D | omnibox_controller.h | 17 struct AutocompleteMatch; 72 const AutocompleteMatch& current_match() const { return current_match_; } in current_match() 82 void DoPreconnect(const AutocompleteMatch& match); 99 AutocompleteMatch current_match_;
|
D | omnibox_navigation_observer.h | 58 const AutocompleteMatch& match, 59 const AutocompleteMatch& alternate_nav_match); 98 const AutocompleteMatch match_; 99 const AutocompleteMatch alternate_nav_match_;
|
D | omnibox_current_page_delegate.h | 14 struct AutocompleteMatch; 54 const AutocompleteMatch& match, 63 virtual void DoPrerender(const AutocompleteMatch& match) = 0;
|
D | alternate_nav_infobar_delegate.h | 20 const AutocompleteMatch& match, 30 const AutocompleteMatch& match, 43 const AutocompleteMatch match_;
|
/external/chromium_org/chrome/browser/history/ |
D | shortcuts_backend.h | 41 explicit MatchCore(const AutocompleteMatch& match); 49 AutocompleteMatch::Type type, 53 AutocompleteMatch ToMatch() const; 65 AutocompleteMatch::Type type; 123 const AutocompleteMatch& match);
|
/external/chromium_org/chrome/browser/ui/gtk/omnibox/ |
D | omnibox_popup_view_gtk_unittest.cc | 87 const AutocompleteMatch::ACMatchClassifications& classifications, in SetupLayoutForMatch() 235 AutocompleteMatch::ACMatchClassifications classifications; in TEST_F() 263 AutocompleteMatch::ACMatchClassifications classifications; in TEST_F() 298 AutocompleteMatch::ACMatchClassifications classifications; in TEST_F() 348 AutocompleteMatch::ACMatchClassifications classifications; in TEST_F() 392 AutocompleteMatch::ACMatchClassifications classifications; in TEST_F() 422 AutocompleteMatch match; in TEST_F() 441 AutocompleteMatch match; in TEST_F() 447 AutocompleteMatch match; in TEST_F() 467 AutocompleteMatch match; in TEST_F()
|