diff options
author | yusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-24 08:18:44 +0000 |
---|---|---|
committer | yusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-24 08:18:44 +0000 |
commit | 6e5c4b8b5a1ff4ac9c453ea577008232fba264b7 (patch) | |
tree | 9d115be21716c368ca1e474d12b605d2208ee443 /chrome/common | |
parent | 82a28229452b01e1dd919540b2b58a8aacb411d7 (diff) | |
download | chromium_src-6e5c4b8b5a1ff4ac9c453ea577008232fba264b7.zip chromium_src-6e5c4b8b5a1ff4ac9c453ea577008232fba264b7.tar.gz chromium_src-6e5c4b8b5a1ff4ac9c453ea577008232fba264b7.tar.bz2 |
Initial implementation of a config dialog for ibus-mozc.
- Implemented the dialog which shows 4 pref items: Input method (Romaji/Kana), keymap (MSIME/ATOK/Kotoeri), punctuation style, and symbol style.
- Added string resources for the dialog to generated_resources.grd.
- Added chrome prefs to pref_names.cc.
- Added mappings from the mozc engine name to the dialog to language_config_view.cc while it's commented out now.
- Added comments to sync/glue/synchronized_preferences.h.
BUG=chromium-os:2625
TEST=manual
Review URL: http://codereview.chromium.org/2068014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 12 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index caeb962..51eaa01 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -242,6 +242,18 @@ const wchar_t kLanguagePinyinDoublePinyinSchema[] = L"settings.language.pinyin_double_pinyin_schema"; const wchar_t kLanguagePinyinLookupTablePageSize[] = L"settings.language.pinyin_lookup_table_page_size"; + +// A string prefs for ibus-mozc Japanese input method. +// ibus-mozc converts the string values to protobuf enum values defined in +// third_party/ibus-mozc/files/src/session/config.proto. +const wchar_t kLanguageMozcPreeditMethod[] = + L"settings.language.mozc_preedit_method"; +const wchar_t kLanguageMozcSessionKeymap[] = + L"settings.language.mozc_sessoin_keymap"; +const wchar_t kLanguageMozcPunctuationMethod[] = + L"settings.language.mozc_punctuation_method"; +const wchar_t kLanguageMozcSymbolMethod[] = + L"settings.language.mozc_symbol_method"; #endif // The disabled messages in IPC logging. diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 75600ed..9d84318 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -91,6 +91,10 @@ extern const wchar_t kLanguagePinyinInitFull[]; extern const wchar_t kLanguagePinyinInitFullPunct[]; extern const wchar_t kLanguagePinyinInitSimplifiedChinese[]; extern const wchar_t kLanguagePinyinTradCandidate[]; +extern const wchar_t kLanguageMozcPreeditMethod[]; +extern const wchar_t kLanguageMozcSessionKeymap[]; +extern const wchar_t kLanguageMozcPunctuationMethod[]; +extern const wchar_t kLanguageMozcSymbolMethod[]; #endif extern const wchar_t kIpcDisabledMessages[]; extern const wchar_t kShowHomeButton[]; |