OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:language_codes
(Results
1 - 5
of
5
) sorted by null
/external/chromium/chrome/browser/chromeos/input_method/
input_method_util_unittest.cc
148
std::vector<std::string>
language_codes
;
local
150
SortLanguageCodesByNames(&
language_codes
);
152
language_codes
.push_back("ja");
153
language_codes
.push_back("fr");
155
language_codes
.push_back("t");
156
SortLanguageCodesByNames(&
language_codes
);
157
ASSERT_EQ(3U,
language_codes
.size());
158
ASSERT_EQ("fr",
language_codes
[0]); // French
159
ASSERT_EQ("ja",
language_codes
[1]); // Japanese
160
ASSERT_EQ("t",
language_codes
[2]); // Other
304
std::vector<std::string>
language_codes
;
local
[
all
...]
/external/chromium/chrome/browser/ui/webui/options/
language_options_handler.cc
53
std::vector<std::string>
language_codes
;
local
54
l10n_util::GetAcceptLanguagesForLocale(app_locale, &
language_codes
);
67
for (size_t i = 0; i <
language_codes
.size(); ++i) {
69
l10n_util::GetDisplayNameForLocale(
language_codes
[i], app_locale,
73
l10n_util::GetDisplayNameForLocale(
language_codes
[i],
language_codes
[i],
78
std::make_pair(
language_codes
[i], native_display_name);
/external/chromium/chrome/browser/ui/webui/options/chromeos/
cros_language_options_handler.cc
103
DictionaryValue*
language_codes
= new DictionaryValue();
local
104
language_codes
->SetBoolean(language_code, true);
114
language_codes
->SetBoolean(extra_language_code, true);
117
dictionary->Set("languageCodeSet",
language_codes
);
127
std::set<std::string>
language_codes
;
local
133
language_codes
.insert(language_code);
140
language_codes
.insert(language_code);
154
for (std::set<std::string>::const_iterator iter =
language_codes
.begin();
155
iter !=
language_codes
.end(); ++iter) {
/external/chromium/chrome/browser/translate/
translate_infobar_delegate.cc
324
std::vector<std::string>
language_codes
;
local
325
TranslateManager::GetSupportedLanguages(&
language_codes
);
327
languages_.reserve(
language_codes
.size());
328
for (std::vector<std::string>::const_iterator iter =
language_codes
.begin();
329
iter !=
language_codes
.end(); ++iter) {
/external/chromium/chrome/browser/chromeos/login/
login_utils.cc
489
std::vector<std::string>
language_codes
;
local
491
language_codes
.push_back(locale);
503
// Skip if it's already in
language_codes
.
504
if (std::count(
language_codes
.begin(),
language_codes
.end(),
506
language_codes
.push_back(candidate);
513
language_preferred_languages.SetValue(JoinString(
language_codes
, ','));
Completed in 177 milliseconds