diff options
Diffstat (limited to 'chrome/browser/chromeos/dom_ui/language_mozc_options_handler.cc')
-rw-r--r-- | chrome/browser/chromeos/dom_ui/language_mozc_options_handler.cc | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/chrome/browser/chromeos/dom_ui/language_mozc_options_handler.cc b/chrome/browser/chromeos/dom_ui/language_mozc_options_handler.cc index 17d900b..7fbdc41 100644 --- a/chrome/browser/chromeos/dom_ui/language_mozc_options_handler.cc +++ b/chrome/browser/chromeos/dom_ui/language_mozc_options_handler.cc @@ -24,15 +24,16 @@ void LanguageMozcOptionsHandler::GetLocalizedValues( DictionaryValue* localized_strings) { DCHECK(localized_strings); // Language Mozc page - ChromeOS - for (size_t i = 0; i < kNumMozcBooleanPrefs; ++i) { + for (size_t i = 0; i < language_prefs::kNumMozcBooleanPrefs; ++i) { localized_strings->SetString( - GetI18nContentValue(kMozcBooleanPrefs[i]), - l10n_util::GetStringUTF16(kMozcBooleanPrefs[i].message_id)); + GetI18nContentValue(language_prefs::kMozcBooleanPrefs[i]), + l10n_util::GetStringUTF16( + language_prefs::kMozcBooleanPrefs[i].message_id)); } - for (size_t i = 0; i < kNumMozcMultipleChoicePrefs; ++i) { - const LanguageMultipleChoicePreference<const char*>& preference = - kMozcMultipleChoicePrefs[i]; + for (size_t i = 0; i < language_prefs::kNumMozcMultipleChoicePrefs; ++i) { + const language_prefs::LanguageMultipleChoicePreference<const char*>& + preference = language_prefs::kMozcMultipleChoicePrefs[i]; localized_strings->SetString( GetI18nContentValue(preference), l10n_util::GetStringUTF16(preference.label_message_id)); @@ -40,8 +41,9 @@ void LanguageMozcOptionsHandler::GetLocalizedValues( CreateMultipleChoiceList(preference)); } - for (size_t i = 0; i < kNumMozcIntegerPrefs; ++i) { - const LanguageIntegerRangePreference& preference = kMozcIntegerPrefs[i]; + for (size_t i = 0; i < language_prefs::kNumMozcIntegerPrefs; ++i) { + const language_prefs::LanguageIntegerRangePreference& preference = + language_prefs::kMozcIntegerPrefs[i]; localized_strings->SetString( GetI18nContentValue(preference), l10n_util::GetStringUTF16(preference.message_id)); |