/external/chromium/chrome/browser/ui/search_engines/ |
keyword_editor_controller_unittest.cc | 139 const TemplateURL* turl = model_->GetTemplateURLs()[0]; local 140 EXPECT_EQ(ASCIIToUTF16("a"), turl->short_name()); 141 EXPECT_EQ(ASCIIToUTF16("b"), turl->keyword()); 142 ASSERT_TRUE(turl->url() != NULL); 143 EXPECT_EQ("http://c", turl->url()->url()); 152 const TemplateURL* turl = model_->GetTemplateURLs()[0]; local 153 controller_->ModifyTemplateURL(turl, kA1, kB1, "http://c1"); 157 EXPECT_EQ(ASCIIToUTF16("a1"), turl->short_name()); 158 EXPECT_EQ(ASCIIToUTF16("b1"), turl->keyword()); 159 ASSERT_TRUE(turl->url() != NULL) 168 const TemplateURL* turl = model_->GetTemplateURLs()[0]; local 247 TemplateURL* turl = new TemplateURL(); local [all...] |
/external/chromium/chrome/browser/search_engines/ |
template_url_unittest.cc | 311 TemplateURL turl; local 312 turl.add_input_encoding("UTF-8"); 320 GURL result = GURL(ref.ReplaceSearchTerms(turl, ASCIIToUTF16("X"), 345 TemplateURL turl; local 346 turl.add_input_encoding(data[i].encoding); 348 GURL result = GURL(ref.ReplaceSearchTerms(turl, 373 TemplateURL turl; local 374 turl.add_input_encoding("UTF-8"); 380 GURL result = GURL(ref.ReplaceSearchTerms(turl, ASCIIToUTF16("foobar"),
|
template_url.cc | 574 bool TemplateURL::SupportsReplacement(const TemplateURL* turl) { 576 return SupportsReplacementUsingTermsData(turl, search_terms_data); 581 const TemplateURL* turl, 583 return turl && turl->url() && 584 turl->url()->SupportsReplacementUsingTermsData(search_terms_data);
|
template_url.h | 288 // Returns true if |turl| is non-null and has a search URL that supports 290 static bool SupportsReplacement(const TemplateURL* turl); 294 const TemplateURL* turl,
|
template_url_parser.cc | 294 TemplateURL* turl = context->template_url(); 324 turl->SetURL(template_url, index_offset, page_offset); 329 turl->SetSuggestionsURL(template_url, index_offset, page_offset);
|
template_url_prepopulate_data.cc | 3524 TemplateURL turl; local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
edit_search_engine_dialog.cc | 27 std::string GetDisplayURL(const TemplateURL& turl) { 28 return turl.url() ? UTF16ToUTF8(turl.url()->DisplayURL()) : std::string();
|
/external/chromium/chrome/browser/ui/views/ |
edit_search_engine_dialog.cc | 34 std::wstring GetDisplayURL(const TemplateURL& turl) { 35 return turl.url() ? turl.url()->DisplayURL() : std::wstring();
|
default_search_view.cc | 34 const TemplateURL* turl, 38 DCHECK(turl); 42 GURL url = TemplateURLModel::GenerateSearchURL(turl);
|