Searched refs:turl (Results 1 – 9 of 9) sorted by relevance
/external/chromium/chrome/browser/ui/search_engines/ |
D | keyword_editor_controller_unittest.cc | 139 const TemplateURL* turl = model_->GetTemplateURLs()[0]; in TEST_F() local 140 EXPECT_EQ(ASCIIToUTF16("a"), turl->short_name()); in TEST_F() 141 EXPECT_EQ(ASCIIToUTF16("b"), turl->keyword()); in TEST_F() 142 ASSERT_TRUE(turl->url() != NULL); in TEST_F() 143 EXPECT_EQ("http://c", turl->url()->url()); in TEST_F() 152 const TemplateURL* turl = model_->GetTemplateURLs()[0]; in TEST_F() local 153 controller_->ModifyTemplateURL(turl, kA1, kB1, "http://c1"); in TEST_F() 157 EXPECT_EQ(ASCIIToUTF16("a1"), turl->short_name()); in TEST_F() 158 EXPECT_EQ(ASCIIToUTF16("b1"), turl->keyword()); in TEST_F() 159 ASSERT_TRUE(turl->url() != NULL); in TEST_F() [all …]
|
/external/chromium/chrome/browser/search_engines/ |
D | template_url_unittest.cc | 311 TemplateURL turl; in TEST_F() local 312 turl.add_input_encoding("UTF-8"); in TEST_F() 320 GURL result = GURL(ref.ReplaceSearchTerms(turl, ASCIIToUTF16("X"), in TEST_F() 345 TemplateURL turl; in TEST_F() local 346 turl.add_input_encoding(data[i].encoding); in TEST_F() 348 GURL result = GURL(ref.ReplaceSearchTerms(turl, in TEST_F() 373 TemplateURL turl; in TEST_F() local 374 turl.add_input_encoding("UTF-8"); in TEST_F() 380 GURL result = GURL(ref.ReplaceSearchTerms(turl, ASCIIToUTF16("foobar"), in TEST_F()
|
D | template_url.cc | 574 bool TemplateURL::SupportsReplacement(const TemplateURL* turl) { in SupportsReplacement() argument 576 return SupportsReplacementUsingTermsData(turl, search_terms_data); in SupportsReplacement() 581 const TemplateURL* turl, in SupportsReplacementUsingTermsData() argument 583 return turl && turl->url() && in SupportsReplacementUsingTermsData() 584 turl->url()->SupportsReplacementUsingTermsData(search_terms_data); in SupportsReplacementUsingTermsData()
|
D | template_url.h | 290 static bool SupportsReplacement(const TemplateURL* turl); 294 const TemplateURL* turl,
|
D | template_url_parser.cc | 294 TemplateURL* turl = context->template_url(); in ParseURL() local 324 turl->SetURL(template_url, index_offset, page_offset); in ParseURL() 329 turl->SetSuggestionsURL(template_url, index_offset, page_offset); in ParseURL()
|
D | template_url_prepopulate_data.cc | 3524 TemplateURL turl; in GetOriginForSearchURL() local 3525 turl.SetURL(url_utf8_string, 0, 0); in GetOriginForSearchURL() 3529 &turl, search_terms_data); in GetOriginForSearchURL()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | edit_search_engine_dialog.cc | 27 std::string GetDisplayURL(const TemplateURL& turl) { in GetDisplayURL() argument 28 return turl.url() ? UTF16ToUTF8(turl.url()->DisplayURL()) : std::string(); in GetDisplayURL()
|
/external/chromium/chrome/browser/ui/views/ |
D | edit_search_engine_dialog.cc | 34 std::wstring GetDisplayURL(const TemplateURL& turl) { in GetDisplayURL() argument 35 return turl.url() ? turl.url()->DisplayURL() : std::wstring(); in GetDisplayURL()
|
D | default_search_view.cc | 34 const TemplateURL* turl, in GetShortNameAndLogoId() argument 38 DCHECK(turl); in GetShortNameAndLogoId() 42 GURL url = TemplateURLModel::GenerateSearchURL(turl); in GetShortNameAndLogoId()
|