From 95ba7ac458946bc8775939e2ac946a87200c82ab Mon Sep 17 00:00:00 2001 From: "yusukes@google.com" Date: Wed, 10 Aug 2011 12:26:10 +0000 Subject: Remove ibus-hangul support. BUG=None TEST=try Review URL: http://codereview.chromium.org/7608019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96168 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/preferences.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'chrome/browser/chromeos/preferences.cc') 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, -- cgit v1.1