Searched refs:template_url_ (Results 1 – 5 of 5) sorted by relevance
/external/chromium/chrome/browser/search_engines/ |
D | template_url_parser_unittest.cc | 50 contents.length(), filter, &template_url_); in ParseFile() 54 TemplateURL template_url_; member in TemplateURLParserTest 88 EXPECT_EQ(ASCIIToUTF16("Dictionary.com"), template_url_.short_name()); in TEST_F() 89 EXPECT_TRUE(template_url_.GetFaviconURL() == in TEST_F() 91 EXPECT_TRUE(template_url_.url() != NULL); in TEST_F() 92 EXPECT_TRUE(template_url_.url()->SupportsReplacement()); in TEST_F() 93 EXPECT_EQ(template_url_.url()->url(), in TEST_F() 102 EXPECT_EQ(ASCIIToUTF16("Search \" MSDN"), template_url_.short_name()); in TEST_F() 103 EXPECT_TRUE(template_url_.GetFaviconURL() == in TEST_F() 105 EXPECT_TRUE(template_url_.url() != NULL); in TEST_F() [all …]
|
D | template_url_fetcher.cc | 64 scoped_ptr<TemplateURL> template_url_; member in TemplateURLFetcher::RequestDelegate 113 if (!template_url_.get()) in Observe() 126 template_url_.reset(new TemplateURL()); in OnURLFetchComplete() 140 template_url_.get()) || in OnURLFetchComplete() 141 !template_url_->url() || !template_url_->url()->SupportsReplacement()) { in OnURLFetchComplete() 156 DCHECK(template_url_.get()); in AddSearchProvider() 162 GURL keyword_url(template_url_->url()->url()); in AddSearchProvider() 172 !model->CanReplaceKeyword(keyword_, GURL(template_url_->url()->url()), in AddSearchProvider() 195 GURL(template_url_->url()->url()), in AddSearchProvider() 226 template_url_->set_keyword(keyword_); in AddSearchProvider() [all …]
|
/external/chromium/chrome/browser/ui/search_engines/ |
D | edit_search_engine_controller.cc | 20 : template_url_(template_url), in EditSearchEngineController() 45 if (template_url_ == in IsURLValid() 66 return (turl_with_keyword == NULL || turl_with_keyword == template_url_); in IsKeywordValid() 80 (!edit_keyword_delegate_ || existing != template_url_)) { in AcceptAddOrEdit() 94 DCHECK(template_url_); in AcceptAddOrEdit() 98 TemplateURL* modifiable_url = const_cast<TemplateURL*>(template_url_); in AcceptAddOrEdit() 108 edit_keyword_delegate_->OnEditedKeyword(template_url_, in AcceptAddOrEdit() 116 if (!edit_keyword_delegate_ && template_url_) { in CleanUpCancelledAdd() 119 delete template_url_; in CleanUpCancelledAdd() 120 template_url_ = NULL; in CleanUpCancelledAdd()
|
D | template_url_table_model.cc | 39 : template_url_(template_url), in ModelEntry() 49 return template_url_; in template_url() 85 if (template_url_.url() && template_url_.url()->IsValid()) { in LoadFavicon() 86 GURL url = GURL(template_url_.url()->url()); in LoadFavicon() 110 const TemplateURL& template_url_; member in ModelEntry
|
D | edit_search_engine_controller.h | 68 const TemplateURL* template_url() const { return template_url_; } in template_url() 79 const TemplateURL* template_url_; variable
|