Home | History | Annotate | Download | only in search_engines

Lines Matching refs:template_url_model_

124       template_url_model_(template_url_model) {
126 template_url_model_->Load();
127 template_url_model_->AddObserver(this);
132 template_url_model_->RemoveObserver(this);
141 std::vector<const TemplateURL*> urls = template_url_model_->GetTemplateURLs();
184 if (template_url_model_->GetDefaultSearchProvider() == &url) {
240 template_url_model_->RemoveObserver(this);
252 template_url_model_->Remove(template_url);
253 template_url_model_->AddObserver(this);
262 template_url_model_->RemoveObserver(this);
263 template_url_model_->Add(template_url);
264 template_url_model_->AddObserver(this);
273 template_url_model_->RemoveObserver(this);
274 template_url_model_->ResetTemplateURL(template_url, title, keyword, url);
275 if (template_url_model_->GetDefaultSearchProvider() == template_url &&
280 template_url_model_->SetDefaultSearchProvider(NULL);
282 template_url_model_->AddObserver(this);
333 template_url_model_->GetDefaultSearchProvider();
337 template_url_model_->RemoveObserver(this);
338 template_url_model_->SetDefaultSearchProvider(keyword);
339 template_url_model_->AddObserver(this);