Home
last modified time | relevance | path

Searched refs:destination_url (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium/chrome/browser/autocomplete/
Dhistory_contents_provider_unittest.cc117 EXPECT_EQ(test_entries[0].url, m[0].destination_url.spec()); in TEST_F()
119 EXPECT_EQ(test_entries[1].url, m[1].destination_url.spec()); in TEST_F()
131 EXPECT_EQ(test_entries[0].url, m[0].destination_url.spec()); in TEST_F()
133 EXPECT_EQ(test_entries[1].url, m[1].destination_url.spec()); in TEST_F()
177 EXPECT_EQ(bookmark_url, m1[0].destination_url); in TEST_F()
187 EXPECT_EQ(bookmark_url, m2[0].destination_url); in TEST_F()
195 if (bookmark_url == m3[0].destination_url) { in TEST_F()
196 EXPECT_EQ("http://www.google.com/3", m3[1].destination_url.spec()); in TEST_F()
198 EXPECT_EQ(bookmark_url, m3[1].destination_url); in TEST_F()
199 EXPECT_EQ("http://www.google.com/3", m3[0].destination_url.spec()); in TEST_F()
[all …]
Dautocomplete_match.cc99 return (elem1.destination_url != elem2.destination_url) ? in DestinationSortFunc()
100 (elem1.destination_url < elem2.destination_url) : in DestinationSortFunc()
107 return elem1.destination_url == elem2.destination_url; in DestinationsEqual()
Dsearch_provider_unittest.cc202 if (i->destination_url == url) in FindMatchWithDestination()
249 EXPECT_TRUE(!term1_match.destination_url.is_empty()); in TEST_F()
257 EXPECT_TRUE(!what_you_typed_match.destination_url.is_empty()); in TEST_F()
313 ASSERT_TRUE(!match.destination_url.is_empty()); in TEST_F()
377 EXPECT_TRUE(!instant_match.destination_url.is_empty()); in TEST_F()
387 EXPECT_TRUE(!what_you_typed_match.destination_url.is_empty()); in TEST_F()
411 EXPECT_FALSE(instant_match.destination_url.is_empty()); in TEST_F()
424 EXPECT_FALSE(instant_match.destination_url.is_empty()); in TEST_F()
454 EXPECT_FALSE(instant_match.destination_url.is_empty()); in TEST_F()
Dhistory_url_provider.cc270 GURL(params->matches.front().destination_url))); in DoAutocomplete()
311 match.destination_url = url; in SuggestExactInput()
332 const Prefix* best_prefix = BestPrefix(match.destination_url, input.text()); in SuggestExactInput()
374 if (!db->GetRowForURL(match->destination_url, &info)) { in FixupExactSuggestion()
377 GURL destination_url(URLFixerUpper::FixupURL(UTF16ToUTF8(input.text()), in FixupExactSuggestion() local
379 if (!db->GetRowForURL(destination_url, NULL)) in FixupExactSuggestion()
384 info = history::URLRow(match->destination_url); in FixupExactSuggestion()
507 (search_base != what_you_typed_match.destination_url); in PromoteOrCreateShorterSuggestion()
781 match.destination_url = info.url(); in HistoryMatchToACMatch()
782 DCHECK(match.destination_url.is_valid()); in HistoryMatchToACMatch()
Dautocomplete_edit.cc217 if (current_match.destination_url == PermanentURL()) { in OnChanged()
250 *url = match.destination_url; in GetDataForURLExport()
416 paste_and_go_url_ = match.destination_url; in CanPasteAndGo()
438 if (!match.destination_url.is_valid()) in AcceptInput()
441 if ((match.transition == PageTransition::TYPED) && (match.destination_url == in AcceptInput()
476 view_->OpenURL(match.destination_url, disposition, match.transition, in AcceptInput()
607 if (match.destination_url != original_url_) { in OnEscapeKeyPressed()
846 if (!match->destination_url.SchemeIs(chrome::kExtensionScheme)) { in OnResultChanged()
848 chrome_browser_net::AnticipateOmniboxUrl(match->destination_url, in OnResultChanged()
Dautocomplete_result_unittest.cc59 match->destination_url = GURL("http://" + url_id); in PopulateAutocompleteMatch()
86 EXPECT_EQ(expected_match.destination_url.spec(), in AssertResultMatches()
87 match.destination_url.spec()) << i; in AssertResultMatches()
Dautocomplete_popup_model.cc78 manually_selected_match_.destination_url = match.destination_url; in SetSelectedLine()
95 GURL current_destination(result.match_at(selected_line_).destination_url); in SetSelectedLine()
Dhistory_provider.cc34 GURL selected_url(match.destination_url); in DeleteMatch()
44 if (i->destination_url == selected_url && i->type == match.type) { in DeleteMatch()
Dhistory_url_provider_unittest.cc202 EXPECT_EQ(expected_urls[i], matches_[i].destination_url.spec()); in RunTest()
471 EXPECT_EQ(GURL("http://pandora.com/"), matches_[0].destination_url); in TEST_F()
479 EXPECT_EQ(GURL("http://pandora.com/"), matches_[0].destination_url); in TEST_F()
Dhistory_quick_provider.cc146 match.destination_url = info.url(); in QuickMatchToACMatch()
147 DCHECK(match.destination_url.is_valid()); in QuickMatchToACMatch()
Dautocomplete.h483 return destination_url.is_empty() && !provider_affinity && in empty()
488 GURL destination_url; member
Dautocomplete.cc536 i->starred = bookmark_model->IsBookmarked(GURL(i->destination_url)); in UpdateStarredStateOfMatches()
557 destination_url = GURL(); in Clear()
667 (input.canonicalized_url() != default_match_->destination_url)) in SortAndCull()
741 if (i->destination_url == match.destination_url) in HasMatchByDestination()
Dbuiltin_provider.cc40 match.destination_url = GURL(*i); in Start()
Dautocomplete_match.h158 GURL destination_url; member
Dextension_app_provider_unittest.cc85 EXPECT_EQ(keyword_cases[i].output[j], matches[j].destination_url); in RunTest()
Dhistory_quick_provider_unittest.cc164 matches_.insert(iter->destination_url.spec()); in SetShouldContain()
208 EXPECT_EQ(expected_top_result, ac_matches_[0].destination_url.spec()); in RunTest()
Dkeyword_provider_unittest.cc151 &AutocompleteMatch::destination_url); in TEST_F()
Dkeyword_provider.cc337 match->destination_url = GURL(element->url()->url()); in FillInURLAndContents()
349 match->destination_url = GURL(element->url()->ReplaceSearchTerms( in FillInURLAndContents()
Dextension_app_provider.cc69 match.destination_url = GURL(url); in Start()
Dhistory_contents_provider.cc218 match.destination_url = result.url(); in ResultToMatch()
Dsearch_provider.cc824 match.destination_url = in AddMatchToMap()
860 match.destination_url = navigation.url; in NavigationToMatch()
Dautocomplete_edit_view_browsertest.cc884 popup_model->result().default_match()->destination_url.spec()); in NonSubstitutingKeywordTest()
905 popup_model->result().default_match()->destination_url.spec()); in NonSubstitutingKeywordTest()
944 popup_model->result().match_at(default_line).destination_url.spec(); in DeleteItemTest()
/external/chromium/chrome/browser/instant/
Dinstant_controller.cc148 const GURL& url = match.destination_url; in Update()
177 if (ShouldUpdateNow(template_url_id, match.destination_url)) { in Update()
178 UpdateLoader(template_url, match.destination_url, match.transition, in Update()
181 ScheduleUpdate(match.destination_url); in Update()
636 if (match.destination_url.SchemeIs(chrome::kJavaScriptScheme)) in ShouldShowPreviewFor()
644 if (host_blacklist_ && host_blacklist_->count(match.destination_url.host())) in ShouldShowPreviewFor()
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_root_view.cc155 if (!match.destination_url.is_valid()) in GetPasteAndGoURL()
159 *url = match.destination_url; in GetPasteAndGoURL()
/external/chromium/chrome/browser/ui/webui/options/
Dbrowser_options_handler.cc449 entry->SetString("url", match.destination_url.spec()); in OnResultChanged()

12