Home
last modified time | relevance | path

Searched refs:language_list (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/components/translate/core/browser/
Dtranslate_download_manager.cc35 TranslateLanguageList* language_list = GetInstance()->language_list(); in RequestLanguageList() local
36 if (!language_list) { in RequestLanguageList()
41 language_list->RequestLanguageList(); in RequestLanguageList()
60 TranslateLanguageList* language_list = GetInstance()->language_list(); in GetSupportedLanguages() local
61 if (!language_list) { in GetSupportedLanguages()
66 language_list->GetSupportedLanguages(languages); in GetSupportedLanguages()
71 TranslateLanguageList* language_list = GetInstance()->language_list(); in GetSupportedLanguagesLastUpdated() local
72 if (!language_list) { in GetSupportedLanguagesLastUpdated()
77 return language_list->last_updated(); in GetSupportedLanguagesLastUpdated()
83 TranslateLanguageList* language_list = GetInstance()->language_list(); in GetLanguageCode() local
[all …]
Dtranslate_language_list.cc258 const std::string& language_list) { in SetSupportedLanguages() argument
267 if (!StartsWithASCII(language_list, in SetSupportedLanguages()
270 !EndsWith(language_list, ")", false)) { in SetSupportedLanguages()
278 std::string languages_json = language_list.substr( in SetSupportedLanguages()
280 language_list.size() - kLanguageListCallbackNameLength - 1); in SetSupportedLanguages()
Dtranslate_language_list.h89 void SetSupportedLanguages(const std::string& language_list);
Dtranslate_download_manager.h46 TranslateLanguageList* language_list() { return language_list_.get(); } in language_list() function
/external/chromium_org/chrome/browser/translate/
Dtranslate_service.cc79 translate::TranslateLanguageList* language_list = in OnResourceRequestsAllowed() local
80 translate::TranslateDownloadManager::GetInstance()->language_list(); in OnResourceRequestsAllowed()
81 if (!language_list) { in OnResourceRequestsAllowed()
86 language_list->SetResourceRequestsAllowed( in OnResourceRequestsAllowed()
/external/chromium_org/chrome/browser/ui/webui/options/
Dlanguage_options_handler_common.cc256 const base::ListValue* language_list; in UpdateLanguageListCallback() local
257 args->GetList(0, &language_list); in UpdateLanguageListCallback()
258 DCHECK(language_list); in UpdateLanguageListCallback()
261 for (base::ListValue::const_iterator it = language_list->begin(); in UpdateLanguageListCallback()
262 it != language_list->end(); ++it) { in UpdateLanguageListCallback()
Dlanguage_options_handler.cc93 base::ListValue* language_list = new base::ListValue(); in GetLanguageList() local
111 language_list->Append(dictionary); in GetLanguageList()
114 return language_list; in GetLanguageList()
/external/chromium_org/chrome/common/extensions/api/input_ime/
Dinput_components_handler.cc126 const base::ListValue* language_list = NULL; in Parse() local
127 language_value->GetAsList(&language_list); in Parse()
128 for (size_t j = 0; j < language_list->GetSize(); ++j) { in Parse()
130 if (language_list->GetString(j, &language_str)) in Parse()
/external/chromium_org/chrome/browser/ui/webui/translate_internals/
Dtranslate_internals_handler.cc42 translate::TranslateLanguageList* language_list = in TranslateInternalsHandler() local
43 translate::TranslateDownloadManager::GetInstance()->language_list(); in TranslateInternalsHandler()
44 if (!language_list) { in TranslateInternalsHandler()
49 event_subscription_ = language_list->RegisterEventCallback(base::Bind( in TranslateInternalsHandler()
/external/chromium_org/chrome/browser/chromeos/input_method/
Dcomponent_extension_ime_manager_impl.cc370 const base::ListValue* language_list = NULL; in ReadEngineComponent() local
371 language_value->GetAsList(&language_list); in ReadEngineComponent()
372 for (size_t j = 0; j < language_list->GetSize(); ++j) { in ReadEngineComponent()
374 if (language_list->GetString(j, &language_str)) in ReadEngineComponent()
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dl10n_util.cc246 scoped_ptr<base::ListValue> language_list(new base::ListValue()); in GetLanguageList() local
254 language_list->Append(dictionary); in GetLanguageList()
270 language_list->Append(dictionary); in GetLanguageList()
273 return language_list.Pass(); in GetLanguageList()
/external/chromium_org/chrome/
Dchrome_browser_chromeos.gypi578 'browser/chromeos/login/language_list.cc',
579 'browser/chromeos/login/language_list.h',