/external/chromium_org/chrome/browser/ui/search_engines/ |
D | keyword_editor_controller.cc | 72 (!url_model()->is_default_search_managed() || in CanEdit() 73 (url != url_model()->GetDefaultSearchProvider())); in CanEdit() 77 return url_model()->CanMakeDefault(url); in CanMakeDefault() 81 return url != url_model()->GetDefaultSearchProvider(); in CanRemove() 94 return url_model()->loaded(); in loaded() 101 TemplateURLService* KeywordEditorController::url_model() const { in url_model() function in KeywordEditorController
|
D | keyword_editor_controller.h | 67 TemplateURLService* url_model() const;
|
/external/chromium/chrome/browser/ui/search_engines/ |
D | keyword_editor_controller.cc | 82 return !url_model()->is_default_search_managed() || in CanEdit() 83 url != url_model()->GetDefaultSearchProvider(); in CanEdit() 87 return url_model()->CanMakeDefault(url); in CanMakeDefault() 91 return url != url_model()->GetDefaultSearchProvider(); in CanRemove() 105 return url_model()->loaded(); in loaded() 112 TemplateURLModel* KeywordEditorController::url_model() const { in url_model() function in KeywordEditorController
|
D | search_engine_tab_helper.cc | 157 TemplateURLModel* url_model = in GenerateKeywordIfNecessary() local 159 if (!url_model) in GenerateKeywordIfNecessary() 162 if (!url_model->loaded()) { in GenerateKeywordIfNecessary() 163 url_model->Load(); in GenerateKeywordIfNecessary() 169 if (!url_model->CanReplaceKeyword(keyword, url, ¤t_url)) in GenerateKeywordIfNecessary() 178 url_model->Remove(current_url); in GenerateKeywordIfNecessary() 199 url_model->Add(new_url); in GenerateKeywordIfNecessary()
|
D | keyword_editor_controller.h | 68 TemplateURLModel* url_model() const;
|
/external/chromium_org/chrome/browser/search_engines/ |
D | template_url_fetcher.cc | 238 TemplateURLService* url_model = in ScheduleDownload() local 240 if (!url_model) in ScheduleDownload() 249 if (!url_model->loaded()) { in ScheduleDownload() 252 url_model->Load(); in ScheduleDownload() 257 url_model->GetTemplateURLForKeyword(keyword); in ScheduleDownload()
|
/external/chromium/chrome/browser/search_engines/ |
D | template_url_fetcher.cc | 284 TemplateURLModel* url_model = profile()->GetTemplateURLModel(); in ScheduleDownload() local 285 if (!url_model) in ScheduleDownload() 291 if (!url_model->loaded()) { in ScheduleDownload() 292 url_model->Load(); in ScheduleDownload() 296 url_model->GetTemplateURLForKeyword(keyword); in ScheduleDownload()
|
/external/chromium/chrome/browser/metrics/ |
D | metrics_service.h | 314 void LogKeywords(const TemplateURLModel* url_model);
|
D | metrics_service.cc | 1652 void MetricsService::LogKeywords(const TemplateURLModel* url_model) { in LogKeywords() argument 1653 DCHECK(url_model); in LogKeywords() 1658 static_cast<int>(url_model->GetTemplateURLs().size())); in LogKeywords()
|
/external/chromium/chrome/browser/automation/ |
D | testing_automation_provider.cc | 2860 TemplateURLModel* url_model(profile_->GetTemplateURLModel()); in LoadSearchEngineInfo() local 2861 if (url_model->loaded()) { in LoadSearchEngineInfo() 2865 url_model->AddObserver(new AutomationProviderSearchEngineObserver( in LoadSearchEngineInfo() 2867 url_model->Load(); in LoadSearchEngineInfo() 2876 TemplateURLModel* url_model(profile_->GetTemplateURLModel()); in GetSearchEngineInfo() local 2879 std::vector<const TemplateURL*> template_urls = url_model->GetTemplateURLs(); in GetSearchEngineInfo() 2888 (*it) == url_model->GetDefaultSearchProvider()); in GetSearchEngineInfo() 2908 TemplateURLModel* url_model(profile_->GetTemplateURLModel()); in AddOrEditSearchEngine() local 2926 template_url = url_model->GetTemplateURLForKeyword(UTF8ToUTF16(keyword)); in AddOrEditSearchEngine() 2932 url_model->AddObserver(new AutomationProviderSearchEngineObserver( in AddOrEditSearchEngine() [all …]
|
D | automation_provider_observers.cc | 1561 TemplateURLModel* url_model = provider_->profile()->GetTemplateURLModel(); in OnTemplateURLModelChanged() local 1562 url_model->RemoveObserver(this); in OnTemplateURLModelChanged()
|
/external/chromium_org/chrome/browser/automation/ |
D | testing_automation_provider.cc | 2660 TemplateURLService* url_model = in LoadSearchEngineInfo() local 2662 if (url_model->loaded()) { in LoadSearchEngineInfo() 2666 url_model->AddObserver(new AutomationProviderSearchEngineObserver( in LoadSearchEngineInfo() 2668 url_model->Load(); in LoadSearchEngineInfo() 2677 TemplateURLService* url_model = in GetSearchEngineInfo() local 2682 url_model->GetTemplateURLs(); in GetSearchEngineInfo() 2690 (*it) == url_model->GetDefaultSearchProvider()); in GetSearchEngineInfo() 2710 TemplateURLService* url_model = in AddOrEditSearchEngine() local 2729 url_model->GetTemplateURLForKeyword(UTF8ToUTF16(keyword)); in AddOrEditSearchEngine() 2735 url_model->AddObserver(new AutomationProviderSearchEngineObserver( in AddOrEditSearchEngine() [all …]
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | search_engine_manager_handler.cc | 107 list_controller_->url_model()->GetDefaultSearchProvider(); in OnModelChanged()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | search_engine_manager_handler.cc | 121 list_controller_->url_model()->GetDefaultSearchProvider(); in OnModelChanged()
|