Home
last modified time | relevance | path

Searched refs:GetTemplateURLForKeyword (Results 1 – 17 of 17) sorted by relevance

/external/chromium/chrome/browser/search_engines/
Dtemplate_url_fetcher_unittest.cc190 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
204 const TemplateURL* t_url = test_util_.model()->GetTemplateURLForKeyword( in TEST_F()
216 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
263 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
287 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
309 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
321 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
333 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
363 ASSERT_TRUE(test_util_.model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
Dtemplate_url_model_unittest.cc360 model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")); in TestLoadUpdatingPreloadedURL()
367 keyword_url = model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")); in TestLoadUpdatingPreloadedURL()
376 keyword_url = model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")); in TestLoadUpdatingPreloadedURL()
407 ASSERT_TRUE(model()->GetTemplateURLForKeyword(t_url->keyword()) == t_url); in TEST_F()
414 model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword")); in TEST_F()
434 loaded_url = model()->GetTemplateURLForKeyword(ASCIIToUTF16("b")); in TEST_F()
443 EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("b")) == NULL); in TEST_F()
578 ASSERT_TRUE(model()->GetTemplateURLForKeyword(new_keyword) == t_url); in TEST_F()
580 model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword")) == NULL); in TEST_F()
588 const TemplateURL* read_url = model()->GetTemplateURLForKeyword(new_keyword); in TEST_F()
[all …]
Dtemplate_url_fetcher.cc193 if (!model->GetTemplateURLForKeyword(new_keyword) || in AddSearchProvider()
296 url_model->GetTemplateURLForKeyword(keyword); in ScheduleDownload()
Dtemplate_url_model.h121 const TemplateURL* GetTemplateURLForKeyword(const string16& keyword) const;
Dtemplate_url_model.cc220 const TemplateURL* existing_url = GetTemplateURLForKeyword(keyword); in CanReplaceKeyword()
277 const TemplateURL* TemplateURLModel::GetTemplateURLForKeyword( in GetTemplateURLForKeyword() function in TemplateURLModel
553 const TemplateURL* template_url = GetTemplateURLForKeyword(keyword); in GetKeywordShortName()
/external/chromium/chrome/browser/ui/search_engines/
Dkeyword_editor_controller_unittest.cc190 model_->GetTemplateURLForKeyword(ASCIIToUTF16("b")); in TEST_F()
193 model_->GetTemplateURLForKeyword(ASCIIToUTF16("b1")); in TEST_F()
214 model_->GetTemplateURLForKeyword(ASCIIToUTF16("b")); in TEST_F()
217 model_->GetTemplateURLForKeyword(ASCIIToUTF16("b1")); in TEST_F()
Dedit_search_engine_controller.cc64 profile_->GetTemplateURLModel()->GetTemplateURLForKeyword( in IsKeywordValid()
77 profile_->GetTemplateURLModel()->GetTemplateURLForKeyword( in AcceptAddOrEdit()
/external/chromium/chrome/browser/autocomplete/
Dkeyword_provider_unittest.cc211 ASSERT_TRUE(template_url == model_->GetTemplateURLForKeyword(keyword)); in TEST_F()
216 model_->Remove(model_->GetTemplateURLForKeyword(ASCIIToUTF16("aaaa"))); in TEST_F()
217 ASSERT_TRUE(model_->GetTemplateURLForKeyword(ASCIIToUTF16("aaaa")) == NULL); in TEST_F()
Dkeyword_provider.cc124 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword); in GetSubstitutingTemplateURLForInput()
186 const TemplateURL* template_url(model->GetTemplateURLForKeyword(*i)); in Start()
212 const TemplateURL* template_url(model->GetTemplateURLForKeyword(keyword)); in Start()
392 model->GetTemplateURLForKeyword(keyword)); in CreateAutocompleteMatch()
470 model->GetTemplateURLForKeyword(keyword)); in Observe()
Dautocomplete_popup_model.cc159 profile_->GetTemplateURLModel()->GetTemplateURLForKeyword(keyword_hint); in GetKeywordForText()
Dautocomplete_edit.cc505 template_url_model->GetTemplateURLForKeyword(keyword); in OpenURL()
/external/chromium/chrome/browser/ui/omnibox/
Dlocation_bar_util.cc21 profile->GetTemplateURLModel()->GetTemplateURLForKeyword( in GetKeywordName()
/external/chromium/chrome/browser/importer/
Dprofile_writer.cc234 model->GetTemplateURLForKeyword(t_url->keyword()); in AddKeywords()
/external/chromium/chrome/browser/ui/views/location_bar/
Dlocation_bar_view.cc544 profile_->GetTemplateURLModel()->GetTemplateURLForKeyword(keyword); in Layout()
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dlocation_bar_view_mac.mm469 profile_->GetTemplateURLModel()->GetTemplateURLForKeyword(keyword);
/external/chromium/chrome/browser/ui/gtk/
Dlocation_bar_view_gtk.cc970 profile_->GetTemplateURLModel()->GetTemplateURLForKeyword(keyword); in SetKeywordLabel()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.cc2926 template_url = url_model->GetTemplateURLForKeyword(UTF8ToUTF16(keyword)); in AddOrEditSearchEngine()
2959 url_model->GetTemplateURLForKeyword(UTF8ToUTF16(keyword))); in PerformActionOnSearchEngine()