Home
last modified time | relevance | path

Searched refs:search_provider (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/api/settings_overrides/
Dsettings_overrides_api.cc35 const ChromeSettingsOverrides::Search_provider& search_provider) { in ConvertSearchProvider() argument
38 data.short_name = UTF8ToUTF16(search_provider.name); in ConvertSearchProvider()
39 data.SetKeyword(UTF8ToUTF16(search_provider.keyword)); in ConvertSearchProvider()
40 data.SetURL(search_provider.search_url); in ConvertSearchProvider()
41 if (search_provider.suggest_url) in ConvertSearchProvider()
42 data.suggestions_url = *search_provider.suggest_url; in ConvertSearchProvider()
43 if (search_provider.instant_url) in ConvertSearchProvider()
44 data.instant_url = *search_provider.instant_url; in ConvertSearchProvider()
45 if (search_provider.image_url) in ConvertSearchProvider()
46 data.image_url = *search_provider.image_url; in ConvertSearchProvider()
[all …]
/external/chromium/chrome/browser/search_engines/
Dsearch_provider_install_state_message_filter.cc51 search_provider::InstallState
59 return search_provider::DENIED; in GetSearchProviderInstallState()
65 return search_provider::NOT_INSTALLED; in GetSearchProviderInstallState()
69 return search_provider::NOT_INSTALLED; in GetSearchProviderInstallState()
72 return search_provider::INSTALLED_BUT_NOT_DEFAULT; in GetSearchProviderInstallState()
75 return search_provider::INSTALLED_AS_DEFAULT; in GetSearchProviderInstallState()
79 return search_provider::NOT_INSTALLED; in GetSearchProviderInstallState()
101 search_provider::InstallState install_state = in ReplyWithProviderInstallState()
Dsearch_provider_install_state_message_filter.h29 search_provider::InstallState GetSearchProviderInstallState(
/external/chromium_org/chrome/browser/search_engines/
Dsearch_provider_install_state_message_filter.cc53 search_provider::InstallState
61 return search_provider::DENIED; in GetSearchProviderInstallState()
67 return search_provider::NOT_INSTALLED; in GetSearchProviderInstallState()
71 return search_provider::NOT_INSTALLED; in GetSearchProviderInstallState()
74 return search_provider::INSTALLED_BUT_NOT_DEFAULT; in GetSearchProviderInstallState()
77 return search_provider::INSTALLED_AS_DEFAULT; in GetSearchProviderInstallState()
81 return search_provider::NOT_INSTALLED; in GetSearchProviderInstallState()
104 search_provider::InstallState install_state = in ReplyWithProviderInstallState()
Dsearch_provider_install_state_message_filter.h32 search_provider::InstallState GetSearchProviderInstallState(
/external/chromium_org/chrome/common/extensions/permissions/
Dsettings_override_permission_unittest.cc45 scoped_ptr<DictionaryValue> search_provider(new DictionaryValue); in GetPermissionSet() local
46 search_provider->SetString("search_url", "http://google.com/search.html"); in GetPermissionSet()
47 search_provider->SetString("name", "test"); in GetPermissionSet()
48 search_provider->SetString("keyword", "lock"); in GetPermissionSet()
49 search_provider->SetString("encoding", "UTF-8"); in GetPermissionSet()
50 search_provider->SetBoolean("is_default", true); in GetPermissionSet()
51 search_provider->SetString("favicon_url", in GetPermissionSet()
53 settings_override->Set("search_provider", search_provider.release()); in GetPermissionSet()
/external/chromium_org/chrome/renderer/
Dexternal_extension.cc111 search_provider::EXPLICIT_PROVIDER)); in AddSearchProvider()
129 search_provider::InstallState install = search_provider::DENIED; in IsSearchProviderInstalled()
139 if (install == search_provider::DENIED) { in IsSearchProviderInstalled()
/external/chromium/chrome/browser/ui/search_engines/
Dsearch_engine_tab_helper.cc53 const search_provider::OSDDType& msg_provider_type) { in OnPageHasOSDD()
69 case search_provider::AUTODETECTED_PROVIDER: in OnPageHasOSDD()
73 case search_provider::EXPLICIT_DEFAULT_PROVIDER: in OnPageHasOSDD()
77 case search_provider::EXPLICIT_PROVIDER: in OnPageHasOSDD()
Dsearch_engine_tab_helper.h37 const search_provider::OSDDType& msg_provider_type);
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dsettings_overrides_handler.cc77 if (!overrides->search_provider) in ParseSearchEngine()
79 if (!CreateManifestURL(overrides->search_provider->favicon_url)) { in ParseSearchEngine()
82 overrides->search_provider->favicon_url); in ParseSearchEngine()
85 if (!CreateManifestURL(overrides->search_provider->search_url)) { in ParseSearchEngine()
88 overrides->search_provider->search_url); in ParseSearchEngine()
91 return overrides->search_provider.Pass(); in ParseSearchEngine()
/external/chromium/chrome/common/
Drender_messages.h92 IPC_ENUM_TRAITS(search_provider::OSDDType)
93 IPC_ENUM_TRAITS(search_provider::InstallState)
329 search_provider::OSDDType)
336 search_provider::InstallState /* install */)
Dsearch_provider.h9 namespace search_provider {
/external/chromium_org/chrome/common/
Dsearch_provider.h8 namespace search_provider {
Drender_messages.h126 IPC_ENUM_TRAITS(search_provider::OSDDType)
127 IPC_ENUM_TRAITS(search_provider::InstallState)
588 search_provider::OSDDType)
595 search_provider::InstallState /* install */)
/external/chromium_org/chrome/browser/ui/search_engines/
Dsearch_engine_tab_helper.cc93 const search_provider::OSDDType& msg_provider_type) { in OnPageHasOSDD()
109 (msg_provider_type == search_provider::AUTODETECTED_PROVIDER) ? in OnPageHasOSDD()
Dsearch_engine_tab_helper.h40 const search_provider::OSDDType& msg_provider_type);
/external/chromium_org/chrome/common/extensions/
Dextension_l10n_util_unittest.cc574 base::DictionaryValue* search_provider = new base::DictionaryValue; in TEST() local
575 search_provider->SetString("name", "__MSG_country__"); in TEST()
576 search_provider->SetString("keyword", "__MSG_omnibox_keyword__"); in TEST()
577 search_provider->SetString("search_url", "http://www.foo.__MSG_country__"); in TEST()
578 search_provider->SetString("favicon_url", "http://www.foo.__MSG_country__"); in TEST()
579 search_provider->SetString("suggest_url", "http://www.foo.__MSG_country__"); in TEST()
580 manifest.Set(keys::kSearchProvider, search_provider); in TEST()
Dextension_l10n_util.cc241 base::DictionaryValue* search_provider = NULL; in LocalizeManifest() local
242 if (manifest->GetDictionary(keys::kSearchProvider, &search_provider)) { in LocalizeManifest()
243 for (DictionaryValue::Iterator iter(*search_provider); !iter.IsAtEnd(); in LocalizeManifest()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_unittest.cc196 AutocompleteProvider* search_provider = new SearchProvider(NULL, &profile_); in ResetControllerWithTestProvidersWithKeywordAndSearchProviders() local
197 search_provider->AddRef(); in ResetControllerWithTestProvidersWithKeywordAndSearchProviders()
198 providers_.push_back(search_provider); in ResetControllerWithTestProvidersWithKeywordAndSearchProviders()
Dautocomplete_edit.cc171 SearchProvider* search_provider = in FinalizeInstantQuery() local
172 autocomplete_controller_->search_provider(); in FinalizeInstantQuery()
173 search_provider->FinalizeInstantQuery(input_text, suggest_text); in FinalizeInstantQuery()
Dautocomplete.h673 SearchProvider* search_provider() const { return search_provider_; } in search_provider() function
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_controller.h127 SearchProvider* search_provider() const { return search_provider_; } in search_provider() function
/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_edit_model.cc286 SearchProvider* search_provider = in UpdatePermanentText() local
287 autocomplete_controller()->search_provider(); in UpdatePermanentText()
288 if (search_provider && delegate_->CurrentPageExists()) in UpdatePermanentText()
289 search_provider->set_current_page_url(delegate_->GetURL()); in UpdatePermanentText()
/external/chromium_org/chrome/browser/ui/search/
Dinstant_extended_interactive_uitest.cc251 return omnibox()->model()->autocomplete_controller()->search_provider()-> in CountSearchProviderSuggestions()
913 omnibox()->model()->autocomplete_controller()->search_provider()-> in IN_PROC_BROWSER_TEST_F()
973 omnibox()->model()->autocomplete_controller()->search_provider()-> in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/common/metrics/proto/
Domnibox_event.proto213 // See chrome/browser/autocomplete/search_provider.cc for a specific usage
222 // See chrome/browser/autocomplete/search_provider.cc for a specific usage

12