summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_names.cc
diff options
context:
space:
mode:
authoryusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 04:29:28 +0000
committeryusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 04:29:28 +0000
commit9040ad23a3950685b08523d12305d9afcbbc7551 (patch)
tree24656c6adfc1a44aebfec374d7e8fb7ddbce61f0 /chrome/common/pref_names.cc
parent849b5e6fc3efafb25a659d7a9c7484d58e4d2952 (diff)
downloadchromium_src-9040ad23a3950685b08523d12305d9afcbbc7551.zip
chromium_src-9040ad23a3950685b08523d12305d9afcbbc7551.tar.gz
chromium_src-9040ad23a3950685b08523d12305d9afcbbc7551.tar.bz2
- Adding Chrome preferences for ibus-pinyin.
- Moving all input method related constants from preferences.cc to language_preferences.h. This change is necessary to implement a configuration dialog for Pinyin input method. BUG=crosbug.com/488 TEST=ran browser_tests Review URL: http://codereview.chromium.org/1631030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45292 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r--chrome/common/pref_names.cc41
1 files changed, 37 insertions, 4 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 226618d..584d2b2 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -198,8 +198,8 @@ const wchar_t kTouchpadSpeedFactor[] = L"settings.touchpad.speed_factor";
// A integer pref for the touchpad sensitivity.
const wchar_t kTouchpadSensitivity[] = L"settings.touchpad.sensitivity";
-// Boolean that is true when one IME status can be shared by all input contexts
-// in all Chrome processes.
+// Boolean that is true when one input method status can be shared by all input
+// contexts in all Chrome processes.
const wchar_t kLanguageUseGlobalEngine[] =
L"settings.language.use_global_engine";
@@ -210,11 +210,44 @@ const wchar_t kLanguageHotkeyNextEngine[] =
// A string pref (comma-separated list) set to the "trigger" hot-key lists.
const wchar_t kLanguageHotkeyTrigger[] = L"settings.language.hotkey_trigger";
-// A string pref (comma-separated list) set to the preloaded (active) IME IDs.
+// A string pref (comma-separated list) set to the preloaded (active) input
+// method IDs.
const wchar_t kLanguagePreloadEngines[] = L"settings.language.preload_engines";
-// A string pref which determines the keyboard layout for Hangul IME.
+// A string pref which determines the keyboard layout for Hangul input method.
const wchar_t kLanguageHangulKeyboard[] = L"settings.language.hangul_keyboard";
+
+// A boolean prefs for ibus-pinyin Chinese input method.
+const wchar_t kLanguagePinyinCorrectPinyin[] =
+ L"settings.language.pinyin_correct_pinyin";
+const wchar_t kLanguagePinyinFuzzyPinyin[] =
+ L"settings.language.pinyin_fuzzy_pinyin";
+const wchar_t kLanguagePinyinShiftSelectCandidate[] =
+ L"settings.language.pinyin_shift_select_candidate";
+const wchar_t kLanguagePinyinMinusEqualPage[] =
+ L"settings.language.pinyin_minus_equal_page";
+const wchar_t kLanguagePinyinCommaPeriodPage[] =
+ L"settings.language.pinyin_comma_period_page";
+const wchar_t kLanguagePinyinAutoCommit[] =
+ L"settings.language.pinyin_auto_commit";
+const wchar_t kLanguagePinyinDoublePinyin[] =
+ L"settings.language.pinyin_double_pinyin";
+const wchar_t kLanguagePinyinInitChinese[] =
+ L"settings.language.pinyin_init_chinese";
+const wchar_t kLanguagePinyinInitFull[] =
+ L"settings.language.pinyin_init_full";
+const wchar_t kLanguagePinyinInitFullPunct[] =
+ L"settings.language.pinyin_init_full_punct";
+const wchar_t kLanguagePinyinInitSimplifiedChinese[] =
+ L"settings.language.pinyin_init_simplified_chinese";
+const wchar_t kLanguagePinyinTradCandidate[] =
+ L"settings.language.pinyin_trad_candidate";
+
+// A integer prefs for ibus-pinyin Chinese input method.
+const wchar_t kLanguagePinyinDoublePinyinSchema[] =
+ L"settings.language.pinyin_double_pinyin_schema";
+const wchar_t kLanguagePinyinLookupTablePageSize[] =
+ L"settings.language.pinyin_lookup_table_page_size";
#endif
// The disabled messages in IPC logging.