Home | History | Annotate | Download | only in autocomplete

Lines Matching defs:template_url

21 #include "chrome/browser/search_engines/template_url.h"
277 TemplateURL* template_url = new TemplateURL();
278 template_url->SetURL(kSearchURL, 0, 0);
279 template_url->set_keyword(UTF8ToUTF16(kSearchKeyword));
280 template_url->set_short_name(UTF8ToUTF16(kSearchShortName));
282 model->Add(template_url);
283 model->SetDefaultSearchProvider(template_url);
867 TemplateURL* template_url = new TemplateURL();
868 template_url->SetURL("http://abc.com/{searchTerms}", 0, 0);
869 template_url->set_keyword(UTF8ToUTF16(kSearchText));
870 template_url->set_short_name(UTF8ToUTF16("Search abc"));
871 template_url_model->Add(template_url);
891 template_url_model->Remove(template_url);
892 template_url = new TemplateURL();
893 template_url->SetURL("http://abc.com/", 0, 0);
894 template_url->set_keyword(UTF8ToUTF16(kSearchText));
895 template_url->set_short_name(UTF8ToUTF16("abc"));
896 template_url_model->Add(template_url);