/external/chromium/chrome/browser/autocomplete/ |
autocomplete_match.cc | 9 // AutocompleteMatch ---------------------------------------------------------- 11 AutocompleteMatch::AutocompleteMatch() 24 AutocompleteMatch::AutocompleteMatch(AutocompleteProvider* provider, 40 AutocompleteMatch::~AutocompleteMatch() { 44 std::string AutocompleteMatch::TypeToString(Type type) { 63 int AutocompleteMatch::TypeToIcon(Type type) { 82 bool AutocompleteMatch::MoreRelevant(const AutocompleteMatch& elem1 [all...] |
autocomplete_match.h | 19 // AutocompleteMatch ---------------------------------------------------------- 28 struct AutocompleteMatch { 85 AutocompleteMatch(); 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 [all...] |
history_contents_provider.h | 39 // Converts each MatchingPageResult in results_ to an AutocompleteMatch and 43 // Creates and returns an AutocompleteMatch from a MatchingPageResult. 44 AutocompleteMatch ResultToMatch(const history::URLResult& result, 50 AutocompleteMatch* match) const;
|
autocomplete_classifier.h | 16 struct AutocompleteMatch; 40 AutocompleteMatch* match,
|
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;
|
builtin_provider.cc | 37 AutocompleteMatch match(this, kRelevance, false, 38 AutocompleteMatch::NAVSUGGEST);
|
history_quick_provider.h | 38 virtual void DeleteMatch(const AutocompleteMatch& match) OVERRIDE; 47 AutocompleteMatch QuickMatchToACMatch(
|
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...] |
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_popup_view_mac_unittest.mm | 87 // AutocompleteMatch doesn't really have the right constructor for our 89 static AutocompleteMatch MakeMatch(const string16 &contents, 91 AutocompleteMatch m(NULL, 1, true, AutocompleteMatch::URL_WHAT_YOU_TYPED); 107 AutocompleteMatch::ACMatchClassifications classifications; 134 AutocompleteMatch::ACMatchClassifications classifications; 169 AutocompleteMatch::ACMatchClassifications classifications; 219 AutocompleteMatch::ACMatchClassifications classifications; 267 AutocompleteMatch::ACMatchClassifications classifications; 313 AutocompleteMatch m = MakeMatch(base::SysNSStringToUTF16(contents) [all...] |
history_quick_provider.cc | 86 void HistoryQuickProvider::DeleteMatch(const AutocompleteMatch& match) {} 109 AutocompleteMatch ac_match = 118 AutocompleteMatch HistoryQuickProvider::QuickMatchToACMatch( 141 AutocompleteMatch match(this, score, !!info.visit_count(), 143 AutocompleteMatch::HISTORY_URL : 144 AutocompleteMatch::HISTORY_TITLE);
|
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);
|
autocomplete_edit.cc | 130 AutocompleteMatch AutocompleteEditModel::CurrentMatch() { 131 AutocompleteMatch match; 216 AutocompleteMatch current_match = CurrentMatch(); 248 AutocompleteMatch match; 309 AutocompleteMatch match; 314 AutocompleteMatch::Type AutocompleteEditModel::CurrentTextType() const { 315 AutocompleteMatch match; 413 AutocompleteMatch match; 434 AutocompleteMatch match; 461 if (match.type == AutocompleteMatch::SEARCH_WHAT_YOU_TYPED | [all...] |
autocomplete_classifier.cc | 23 AutocompleteMatch* match,
|
keyword_provider.h | 109 AutocompleteMatch* match); 122 // Creates a fully marked-up AutocompleteMatch from the user's input. 124 AutocompleteMatch CreateAutocompleteMatch( 155 std::vector<AutocompleteMatch> extension_suggest_matches_;
|
autocomplete_unittest.cc | 26 return os << static_cast<const AutocompleteMatch*>(&(*it)); 88 AutocompleteMatch match(this, relevance_ - i, false, 89 AutocompleteMatch::URL_WHAT_YOU_TYPED); 394 TEST(AutocompleteMatch, MoreRelevant) { 408 AutocompleteMatch m1(NULL, 0, false, AutocompleteMatch::URL_WHAT_YOU_TYPED); 409 AutocompleteMatch m2(NULL, 0, false, AutocompleteMatch::URL_WHAT_YOU_TYPED); 415 AutocompleteMatch::MoreRelevant(m1, m2));
|
keyword_provider.cc | 316 AutocompleteMatch* match) { 339 AutocompleteMatch::ClassifyLocationInString(0, match->contents.length(), 358 AutocompleteMatch::ClassifyLocationInString(content_param_offsets[1], 382 AutocompleteMatch KeywordProvider::CreateAutocompleteMatch( 409 AutocompleteMatch result(this, relevance, false, 410 supports_replacement ? AutocompleteMatch::SEARCH_OTHER_ENGINE : 411 AutocompleteMatch::HISTORY_KEYWORD); 437 AutocompleteMatch::ClassifyLocationInString( 506 AutocompleteMatch* match = &extension_suggest_matches_.back();
|
autocomplete_popup_view_gtk_unittest.cc | 49 const AutocompleteMatch::ACMatchClassifications& classifications, 194 AutocompleteMatch::ACMatchClassifications classifications; 229 AutocompleteMatch::ACMatchClassifications classifications; 271 AutocompleteMatch::ACMatchClassifications classifications; 333 AutocompleteMatch::ACMatchClassifications classifications; 391 AutocompleteMatch::ACMatchClassifications classifications;
|
search_provider.h | 170 typedef std::map<string16, AutocompleteMatch> MatchMap; 212 // AutocompleteMatch and adds it to |matches_|. 253 // Creates an AutocompleteMatch for "Search <engine> for |query_string|" with 259 AutocompleteMatch::Type type, 265 // Returns an AutocompleteMatch for a navigational suggestion. 266 AutocompleteMatch NavigationToMatch(const NavigationResult& query_string,
|
autocomplete_popup_view_gtk.h | 58 const AutocompleteMatch::ACMatchClassifications& classifications, 76 GdkPixbuf* IconForMatch(const AutocompleteMatch& match, bool selected);
|
/external/chromium/chrome/browser/extensions/ |
extension_omnibox_apitest.cc | 42 AutocompleteMatch match = result.match_at(i); 118 AutocompleteMatch match = result.match_at(0); 119 EXPECT_EQ(AutocompleteMatch::SEARCH_WHAT_YOU_TYPED, match.type); 188 AutocompleteMatch match = result.match_at(4); 189 EXPECT_EQ(AutocompleteMatch::SEARCH_WHAT_YOU_TYPED, match.type);
|
/external/chromium/chrome/browser/ui/views/autocomplete/ |
autocomplete_result_view.h | 48 void SetMatch(const AutocompleteMatch& match); 52 const AutocompleteMatch& match, 120 AutocompleteMatch match_;
|
touch_autocomplete_popup_contents_view.h | 37 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/chrome/browser/ui/webui/options/ |
browser_options_handler.cc | 438 const AutocompleteMatch& match = result.match_at(i); 439 AutocompleteMatch::Type type = match.type; 440 if (type != AutocompleteMatch::HISTORY_URL && 441 type != AutocompleteMatch::HISTORY_TITLE && 442 type != AutocompleteMatch::HISTORY_BODY && 443 type != AutocompleteMatch::HISTORY_KEYWORD && 444 type != AutocompleteMatch::NAVSUGGEST)
|