Home
last modified time | relevance | path

Searched refs:pref_locale (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/remoting/base/
Dresources_mac.cc17 bool LoadResources(const std::string& pref_locale) { in LoadResources() argument
19 ui::ResourceBundle::GetSharedInstance().ReloadLocaleResources(pref_locale); in LoadResources()
32 if (pref_locale.empty()) in LoadResources()
36 pref_locale, NULL, ui::ResourceBundle::DO_NOT_LOAD_COMMON_RESOURCES); in LoadResources()
Dresources_linux.cc21 bool LoadResources(const std::string& pref_locale) { in LoadResources() argument
23 ui::ResourceBundle::GetSharedInstance().ReloadLocaleResources(pref_locale); in LoadResources()
35 pref_locale, NULL, ui::ResourceBundle::DO_NOT_LOAD_COMMON_RESOURCES); in LoadResources()
Dresources_win.cc9 bool LoadResources(const std::string& pref_locale) { in LoadResources() argument
Dresources.h16 bool LoadResources(const std::string& pref_locale);
/external/chromium_org/ui/base/l10n/
Dl10n_util.cc405 std::string GetApplicationLocaleInternal(const std::string& pref_locale) { in GetApplicationLocaleInternal() argument
412 app_locale = pref_locale; in GetApplicationLocaleInternal()
434 if (!pref_locale.empty()) in GetApplicationLocaleInternal()
435 candidates.push_back(GetCanonicalLocale(pref_locale)); in GetApplicationLocaleInternal()
472 if (!pref_locale.empty()) in GetApplicationLocaleInternal()
473 candidates.push_back(pref_locale); in GetApplicationLocaleInternal()
495 std::string GetApplicationLocale(const std::string& pref_locale, in GetApplicationLocale() argument
497 const std::string locale = GetApplicationLocaleInternal(pref_locale); in GetApplicationLocale()
503 std::string GetApplicationLocale(const std::string& pref_locale) { in GetApplicationLocale() argument
504 return GetApplicationLocale(pref_locale, true /* set_icu_locale */); in GetApplicationLocale()
Dl10n_util.h45 UI_BASE_EXPORT std::string GetApplicationLocale(const std::string& pref_locale,
50 UI_BASE_EXPORT std::string GetApplicationLocale(const std::string& pref_locale);
/external/chromium_org/chrome/browser/chromeos/login/session/
Duser_session_manager.cc398 std::string pref_locale; in RespectLocalePreference() local
404 pref_locale = pref_app_locale; in RespectLocalePreference()
405 if (pref_locale.empty()) in RespectLocalePreference()
406 pref_locale = pref_bkup_locale; in RespectLocalePreference()
409 if (pref_locale.empty() && user->has_gaia_account()) { in RespectLocalePreference()
413 pref_locale = *account_locale; in RespectLocalePreference()
417 if (pref_locale.empty()) in RespectLocalePreference()
418 pref_locale = global_app_locale; in RespectLocalePreference()
419 DCHECK(!pref_locale.empty()); in RespectLocalePreference()
427 << " Selected '" << pref_locale << "'"; in RespectLocalePreference()
[all …]
/external/chromium_org/ui/base/resource/
Dresource_bundle.h134 const std::string& pref_locale,
190 std::string ReloadLocaleResources(const std::string& pref_locale);
321 std::string LoadLocaleResources(const std::string& pref_locale);
Dresource_bundle.cc167 const std::string& pref_locale, in InitSharedInstanceWithLocale() argument
173 std::string result = g_shared_instance_->LoadLocaleResources(pref_locale); in InitSharedInstanceWithLocale()
295 const std::string& pref_locale) { in LoadLocaleResources() argument
297 std::string app_locale = l10n_util::GetApplicationLocale(pref_locale); in LoadLocaleResources()
358 const std::string& pref_locale) { in ReloadLocaleResources() argument
365 return LoadLocaleResources(pref_locale); in ReloadLocaleResources()
/external/chromium_org/chrome/browser/profiles/
Dprofile_impl.cc1204 std::string pref_locale = GetPrefs()->GetString(prefs::kApplicationLocale); in ChangeAppLocale() local
1222 if (!pref_locale.empty()) { in ChangeAppLocale()
1223 DCHECK(pref_locale == new_locale); in ChangeAppLocale()