/external/chromium/chrome/browser/ui/views/autocomplete/ |
autocomplete_result_view.h | 48 void SetMatch(const AutocompleteMatch& match); 52 const AutocompleteMatch& match, 120 AutocompleteMatch match_;
|
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_result.cc | 21 // This class implements a special version of AutocompleteMatch::MoreRelevant 30 int GetDemotedRelevance(const AutocompleteMatch& match); 33 bool operator()(const AutocompleteMatch& elem1, 34 const AutocompleteMatch& elem2); 47 const AutocompleteMatch& match) { 54 bool CompareWithDemoteByType::operator()(const AutocompleteMatch& elem1, 55 const AutocompleteMatch& elem2) { 135 DCHECK_EQ(AutocompleteMatch::SanitizeString(i->contents), i->contents); 136 DCHECK_EQ(AutocompleteMatch::SanitizeString(i->description), 152 &AutocompleteMatch::DestinationSortFunc) [all...] |
bookmark_provider.h | 50 // Compose an AutocompleteMatch based on |title_match| that has 1) the URL of 53 AutocompleteMatch TitleMatchToACMatch(const BookmarkTitleMatch& title_match);
|
history_url_provider.h | 176 AutocompleteMatch SuggestExactInput(const base::string16& text, 232 AutocompleteMatch* match, 257 const AutocompleteMatch& what_you_typed_match, 288 AutocompleteMatch HistoryMatchToACMatch(
|
shortcuts_provider_unittest.cc | 55 AutocompleteMatch::Type type; 306 AutocompleteMatch::ClassificationsFromString(cur.contents_class), 308 AutocompleteMatch::ClassificationsFromString(cur.description_class), 363 ac_matches_.end(), AutocompleteMatch::MoreRelevant); 540 AutocompleteMatch::ClassificationsFromString("0,0"); 546 EXPECT_EQ("0,0,2,2,5,0", AutocompleteMatch::ClassificationsToString(spans_a)); 551 AutocompleteMatch::ClassificationsToString(spans_b)); 557 AutocompleteMatch::ClassificationsToString(spans_c)); 565 AutocompleteMatch::ClassificationsToString(spans_d)); 570 "66,2,67,0", AutocompleteMatch::ClassificationsToString(spans_e)) [all...] |
bookmark_provider.cc | 104 // Create and score the AutocompleteMatch. If its score is 0 then the 106 AutocompleteMatch match(TitleMatchToACMatch(*i)); 117 AutocompleteMatch::MoreRelevant); 121 AutocompleteMatch::MoreRelevant); 160 AutocompleteMatch BookmarkProvider::TitleMatchToACMatch( 162 // The AutocompleteMatch we construct is non-deletable because the only 165 AutocompleteMatch match(this, 0, false, 272 AutocompleteMatch::ACMatchClassifications new_class; 273 AutocompleteMatch::ClassifyLocationInString(i->first, i->second - i->first, 275 classifications = AutocompleteMatch::MergeClassifications [all...] |
contact_provider_chromeos.cc | 51 AutocompleteMatch::ACMatchClassifications new_class; 52 AutocompleteMatch::ClassifyLocationInString(name_index_in_full_name, 54 *classifications = AutocompleteMatch::MergeClassifications( 175 AutocompleteMatch::SanitizeString(UTF8ToUTF16(contact.full_name())); 177 AutocompleteMatch::SanitizeString(UTF8ToUTF16(contact.given_name())); 179 AutocompleteMatch::SanitizeString(UTF8ToUTF16(contact.family_name())); 226 AutocompleteMatch ContactProvider::CreateAutocompleteMatch( 229 AutocompleteMatch match(this, 0, false, AutocompleteMatchType::CONTACT);
|
shortcuts_provider.h | 38 virtual void DeleteMatch(const AutocompleteMatch& match) OVERRIDE; 54 // Returns an AutocompleteMatch corresponding to |shortcut|. Assigns it 60 AutocompleteMatch ShortcutToACMatch(
|
/external/chromium_org/chrome/browser/history/ |
shortcuts_backend.h | 39 // The pieces of an AutocompleteMatch that we preserve in a shortcut. 41 explicit MatchCore(const AutocompleteMatch& match); 49 AutocompleteMatch::Type type, 53 AutocompleteMatch ToMatch() const; 65 AutocompleteMatch::Type type; 123 const AutocompleteMatch& match);
|
shortcuts_database.cc | 28 s->BindString(5, AutocompleteMatch::ClassificationsToString( 31 s->BindString(7, AutocompleteMatch::ClassificationsToString( 144 AutocompleteMatch::ClassificationsFromString(s.ColumnString(5)), 147 AutocompleteMatch::ClassificationsFromString(s.ColumnString(7)), 151 static_cast<AutocompleteMatch::Type>(s.ColumnInt(9)),
|
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_result_unittest.cc | 15 // Used to build a url for the AutocompleteMatch. The URL becomes 30 AutocompleteMatch* match); 55 AutocompleteMatch* match) { 69 AutocompleteMatch match; 81 AutocompleteMatch expected_match; 83 const AutocompleteMatch& match = *(result.begin() + i); 126 AutocompleteMatch match;
|
keyword_provider_unittest.cc | 34 ResultType AutocompleteMatch::* member); 66 ResultType AutocompleteMatch::* member) { 126 &AutocompleteMatch::fill_into_edit); 151 &AutocompleteMatch::destination_url); 180 &AutocompleteMatch::contents); 200 &AutocompleteMatch::description);
|
history_url_provider.h | 211 const AutocompleteMatch& what_you_typed_match, 241 AutocompleteMatch SuggestExactInput(const AutocompleteInput& input, 252 AutocompleteMatch* match, 287 AutocompleteMatch HistoryMatchToACMatch(
|
autocomplete_popup_model.h | 76 bool GetKeywordForMatch(const AutocompleteMatch& match, 99 const SkBitmap* GetIconIfExtensionMatch(const AutocompleteMatch& match) const;
|
search_provider_unittest.cc | 52 // Returns an AutocompleteMatch in provider_'s set of matches that matches 54 AutocompleteMatch FindMatchWithDestination(const GURL& url); 198 AutocompleteMatch SearchProviderTest::FindMatchWithDestination( 205 return AutocompleteMatch(NULL, 1, false, AutocompleteMatch::HISTORY_URL); 248 AutocompleteMatch term1_match = FindMatchWithDestination(term1_url_); 255 AutocompleteMatch what_you_typed_match = 269 ASSERT_EQ(AutocompleteMatch::SEARCH_WHAT_YOU_TYPED, 312 AutocompleteMatch match = FindMatchWithDestination(keyword_url_); 376 AutocompleteMatch instant_match = FindMatchWithDestination(instant_url) [all...] |
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); [all...] |
search_provider.cc | 96 if ((i->type == AutocompleteMatch::SEARCH_HISTORY) || 97 (i->type == AutocompleteMatch::SEARCH_SUGGEST) || 98 (i->type == AutocompleteMatch::SEARCH_WHAT_YOU_TYPED)) { 103 if (((i->type == AutocompleteMatch::SEARCH_HISTORY) || 104 (i->type == AutocompleteMatch::SEARCH_SUGGEST)) && 120 AutocompleteMatch::SEARCH_SUGGEST, 126 std::sort(matches_.begin(), matches_.end(), &AutocompleteMatch::MoreRelevant); 186 AutocompleteMatch match; 544 AutocompleteMatch::SEARCH_WHAT_YOU_TYPED, 550 AutocompleteMatch::SEARCH_SUGGEST [all...] |
autocomplete_classifier.cc | 23 AutocompleteMatch* match,
|
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
omnibox_popup_view_mac.h | 56 static NSAttributedString* MatchText(const AutocompleteMatch& match, 64 const AutocompleteMatch::ACMatchClassifications& classifications, 99 NSImage* ImageForMatch(const AutocompleteMatch& match);
|
/external/chromium/chrome/browser/instant/ |
instant_controller.h | 27 struct AutocompleteMatch; 80 // |verbatim| only matters if the AutocompleteMatch is for a search engine 83 const AutocompleteMatch& match, 149 // Returns the transition type of the last AutocompleteMatch passed to Update. 228 bool ShouldShowPreviewFor(const AutocompleteMatch& match, 251 // Returns the TemplateURL to use for the specified AutocompleteMatch, or 253 const TemplateURL* GetTemplateURL(const AutocompleteMatch& match);
|
/external/chromium_org/chrome/browser/predictors/ |
autocomplete_action_predictor.h | 23 struct AutocompleteMatch; 49 // action to take given for a given AutocompleteMatch and entered text. It can 93 const AutocompleteMatch& match) const; 106 static bool IsPreconnectable(const AutocompleteMatch& match); 205 const AutocompleteMatch& match,
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_controller.cc | 29 // Returns the AutocompleteMatch that the InstantController should prefetch, if 42 const AutocompleteMatch* GetMatchToPrefetch(const AutocompleteResult& result) { 108 const AutocompleteMatch* match_to_prefetch = GetMatchToPrefetch(result); 138 current_match_ = AutocompleteMatch(); 147 void OmniboxController::DoPreconnect(const AutocompleteMatch& match) {
|
/external/chromium_org/chrome/browser/ui/gtk/omnibox/ |
omnibox_popup_view_gtk.h | 84 const AutocompleteMatch::ACMatchClassifications& classifications, 100 gfx::Image IconForMatch(const AutocompleteMatch& match, 107 const AutocompleteMatch** match,
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_result_view.h | 59 void SetMatch(const AutocompleteMatch& match); 76 const AutocompleteMatch& match, 161 AutocompleteMatch match_;
|
/external/chromium/chrome/browser/extensions/ |
extension_omnibox_api.h | 90 AutocompleteMatch* match);
|