Home
last modified time | relevance | path

Searched refs:GetApplicationLocale (Results 1 – 25 of 139) sorted by relevance

123456

/external/chromium_org/ui/base/l10n/
Dl10n_util_unittest.cc143 EXPECT_EQ("fr", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
147 EXPECT_EQ("en-GB", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
151 EXPECT_EQ("zh-TW", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
160 EXPECT_EQ("en-US", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
164 EXPECT_EQ("zh-CN", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
172 EXPECT_EQ("fr", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
175 EXPECT_EQ("es", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
178 EXPECT_EQ("he", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
181 EXPECT_EQ("nb", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
186 EXPECT_EQ("ca", l10n_util::GetApplicationLocale(std::string())); in TEST_F()
[all …]
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/autofill/android/
Dpersonal_data_manager_android.cc75 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
80 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
85 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
90 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
95 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
100 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
105 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
110 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
114 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
119 g_browser_process->GetApplicationLocale()); in PopulateNativeProfileFromJava()
[all …]
/external/chromium_org/chrome/browser/ui/autofill/
Ddata_model_wrapper.cc97 g_browser_process->GetApplicationLocale()); in FillFormStructure()
128 const std::string& app_locale = g_browser_process->GetApplicationLocale(); in GetInfo()
203 return card_->GetInfo(type, g_browser_process->GetApplicationLocale()); in GetInfo()
238 return address_->GetInfo(type, g_browser_process->GetApplicationLocale()); in GetInfo()
280 return instrument_->GetInfo(type, g_browser_process->GetApplicationLocale()); in GetInfo()
334 return full_wallet_->GetInfo(g_browser_process->GetApplicationLocale(), type); in GetInfo()
367 type, g_browser_process->GetApplicationLocale()); in GetInfo()
395 g_browser_process->GetApplicationLocale()).name(); in GetInfo()
Dcountry_combobox_model_unittest.cc43 g_browser_process->GetApplicationLocale()); in TEST_F()
/external/chromium_org/chrome/browser/signin/
Dsignin_promo.cc125 if (g_browser_process->GetApplicationLocale() == "zh-CN") in ShouldShowPromoAtStartup()
164 const std::string& locale = g_browser_process->GetApplicationLocale(); in GetLandingURL()
287 const std::string& locale = g_browser_process->GetApplicationLocale(); in IsContinueUrlForWebBasedSigninFlow()
/external/chromium_org/chrome/browser/chromeos/login/
Dlanguage_list.cc92 const std::string app_locale = g_browser_process->GetApplicationLocale(); in InitNativeNames()
110 l10n_util::SortStrings16(g_browser_process->GetApplicationLocale(), in InitNativeNames()
/external/chromium_org/chrome/test/base/
Dscoped_browser_locale.cc10 : old_locale_(g_browser_process->GetApplicationLocale()) { in ScopedBrowserLocale()
/external/chromium_org/chrome/browser/search_engines/
Dui_thread_search_terms_data.cc58 std::string UIThreadSearchTermsData::GetApplicationLocale() const { in GetApplicationLocale() function in UIThreadSearchTermsData
61 return g_browser_process->GetApplicationLocale(); in GetApplicationLocale()
Dui_thread_search_terms_data.h25 virtual std::string GetApplicationLocale() const OVERRIDE;
/external/chromium_org/chrome/browser/ui/webui/options/
Dautofill_options_handler.cc179 g_browser_process->GetApplicationLocale(), in SetCountryData()
198 AutofillType(type), g_browser_process->GetApplicationLocale(), &values); in GetValueList()
263 std::string app_locale = g_browser_process->GetApplicationLocale(); in RemoveDuplicatePhoneNumberAtIndex()
430 g_browser_process->GetApplicationLocale(), in LoadAutofillData()
518 GetAddressComponents(country_code, g_browser_process->GetApplicationLocale(), in LoadAddressEditorComponents()
585 g_browser_process->GetApplicationLocale()); in SetAddress()
/external/chromium_org/chrome/browser/chromeos/input_method/
Dinput_method_delegate_impl.cc44 g_browser_process->GetApplicationLocale(), in GetDisplayLanguageName()
/external/chromium_org/chrome/browser/chromeos/
Dlocale_change_guard.cc141 std::string cur_locale = g_browser_process->GetApplicationLocale(); in Check()
213 std::string cur_locale = g_browser_process->GetApplicationLocale(); in PrepareChangingLocale()
/external/chromium_org/chrome/browser/chromeos/status/
Ddata_promo_notification.cc111 const std::string locale = g_browser_process->GetApplicationLocale(); in GetCarrierDeal()
194 const std::string locale = g_browser_process->GetApplicationLocale(); in ShowOptionalMobileDataPromoNotification()
/external/chromium_org/components/search_engines/
Dsearch_terms_data.h31 virtual std::string GetApplicationLocale() const;
Dsearch_terms_data.cc41 std::string SearchTermsData::GetApplicationLocale() const { in GetApplicationLocale() function in SearchTermsData
/external/chromium_org/chrome/browser/omaha_query_params/
Dchrome_omaha_query_params_delegate.cc67 return g_browser_process->GetApplicationLocale().c_str(); in GetLang()
/external/chromium_org/chrome/browser/autofill/
Dpersonal_data_manager_factory.cc45 new PersonalDataManager(g_browser_process->GetApplicationLocale()); in BuildServiceInstanceFor()
/external/chromium_org/components/metrics/
Dmetrics_service_client.h34 virtual std::string GetApplicationLocale() = 0;
Dtest_metrics_service_client.cc31 std::string TestMetricsServiceClient::GetApplicationLocale() { in GetApplicationLocale() function in metrics::TestMetricsServiceClient
Dtest_metrics_service_client.h26 virtual std::string GetApplicationLocale() OVERRIDE;
/external/chromium_org/chrome/browser/webdata/
Dweb_data_service_factory.cc86 new autofill::AutofillTable(g_browser_process->GetApplicationLocale()))); in WebDataServiceWrapper()
129 g_browser_process->GetApplicationLocale())); in WebDataServiceWrapper()
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_local_account_browsertest.cc450 initial_locale_ = g_browser_process->GetApplicationLocale(); in SetUpOnMainThread()
721 g_browser_process->GetApplicationLocale(), in VerifyKeyboardLayoutMatchesLocale()
1453 EXPECT_EQ(initial_locale_, g_browser_process->GetApplicationLocale()); in IN_PROC_BROWSER_TEST_F()
1512 EXPECT_EQ(kPublicSessionLocale, g_browser_process->GetApplicationLocale()); in IN_PROC_BROWSER_TEST_F()
1546 g_browser_process->GetApplicationLocale()); in IN_PROC_BROWSER_TEST_F()
1744 EXPECT_EQ(kPublicSessionLocale, g_browser_process->GetApplicationLocale()); in IN_PROC_BROWSER_TEST_F()
1791 EXPECT_EQ(initial_locale_, g_browser_process->GetApplicationLocale()); in IN_PROC_BROWSER_TEST_F()
1809 EXPECT_EQ(initial_locale_, g_browser_process->GetApplicationLocale()); in IN_PROC_BROWSER_TEST_F()
1828 EXPECT_EQ(kRecommendedLocales1[0], g_browser_process->GetApplicationLocale()); in IN_PROC_BROWSER_TEST_F()
1917 EXPECT_EQ(kPublicSessionLocale, g_browser_process->GetApplicationLocale()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/search/
Dlocal_ntp_browsertest.cc55 std::string default_locale = g_browser_process->GetApplicationLocale(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/webui/
Dwelcome_ui_android.cc49 std::string locale = g_browser_process->GetApplicationLocale(); in WelcomeUI()

123456