summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/preferences.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/preferences.cc')
-rw-r--r--chrome/browser/chromeos/preferences.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc
index 3314427..40571d8 100644
--- a/chrome/browser/chromeos/preferences.cc
+++ b/chrome/browser/chromeos/preferences.cc
@@ -110,10 +110,6 @@ void Preferences::RegisterUserPrefs(PrefService* prefs) {
prefs::kLanguageHangulKeyboard,
language_prefs::kHangulKeyboardNameIDPairs[0].keyboard_id,
PrefService::SYNCABLE_PREF);
- prefs->RegisterStringPref(prefs::kLanguageHangulHanjaKeys,
- language_prefs::kHangulHanjaKeys,
- // Don't sync the pref as it's not user-configurable
- PrefService::UNSYNCABLE_PREF);
prefs->RegisterStringPref(prefs::kLanguageHangulHanjaBindingKeys,
language_prefs::kHangulHanjaBindingKeys,
// Don't sync the pref as it's not user-configurable
@@ -237,8 +233,6 @@ void Preferences::Init(PrefService* prefs) {
language_prefs::kChewingIntegerPrefs[i].pref_name, prefs, this);
}
language_hangul_keyboard_.Init(prefs::kLanguageHangulKeyboard, prefs, this);
- language_hangul_hanja_keys_.Init(
- prefs::kLanguageHangulHanjaKeys, prefs, this);
language_hangul_hanja_binding_keys_.Init(
prefs::kLanguageHangulHanjaBindingKeys, prefs, this);
for (size_t i = 0; i < language_prefs::kNumPinyinBooleanPrefs; ++i) {
@@ -406,11 +400,6 @@ void Preferences::NotifyPrefChanged(const std::string* pref_name) {
language_prefs::kHangulKeyboardConfigName,
language_hangul_keyboard_.GetValue());
}
- if (!pref_name || *pref_name == prefs::kLanguageHangulHanjaKeys) {
- SetLanguageConfigString(language_prefs::kHangulSectionName,
- language_prefs::kHangulHanjaKeysConfigName,
- language_hangul_hanja_keys_.GetValue());
- }
if (!pref_name || *pref_name == prefs::kLanguageHangulHanjaBindingKeys) {
SetLanguageConfigString(language_prefs::kHangulSectionName,
language_prefs::kHangulHanjaBindingKeysConfigName,