Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1115)

Unified Diff: chrome/browser/chromeos/language_preferences.cc

Issue 7461114: Make hanja key customizable. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed some comment Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/language_preferences.h ('k') | chrome/browser/chromeos/preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/language_preferences.cc
diff --git a/chrome/browser/chromeos/language_preferences.cc b/chrome/browser/chromeos/language_preferences.cc
index aece8776f75f362c137a3c0a2cd31c644914fa25..cfefc9db324cbac6771b26cf3d5f659bb6d7daf8 100644
--- a/chrome/browser/chromeos/language_preferences.cc
+++ b/chrome/browser/chromeos/language_preferences.cc
@@ -26,7 +26,7 @@ const char kHotkeyNextEngineInMenu[] =
const char kHotkeyPreviousEngine[] = "Control+space";
// ---------------------------------------------------------------------------
-// For Traditional Chinese input method (ibus-chewing)
+// For Traditional Chinese input method (ibus-mozc-chewing)
// ---------------------------------------------------------------------------
const char kChewingSectionName[] = "engine/Chewing";
@@ -139,7 +139,7 @@ const LanguageMultipleChoicePreference<int> kChewingHsuSelKeyType = {
};
// ---------------------------------------------------------------------------
-// For Korean input method (ibus-hangul)
+// For Korean input method (ibus-mozc-hangul)
// ---------------------------------------------------------------------------
const char kHangulSectionName[] = "engine/Hangul";
const char kHangulKeyboardConfigName[] = "HangulKeyboard";
@@ -148,6 +148,10 @@ const char kHangulHanjaKeysConfigName[] = "HanjaKeys";
// TODO: HanjaKeys are not configurable yet (and we're not sure if it should.)
const char kHangulHanjaKeys[] = "F9,Hangul_Hanja,Control+9";
+// Mozc-hangul treats Hangul_Hanja key as hanja key event even if it is not set.
+const char kHangulHanjaBindingKeysConfigName[] = "HanjaKeyBindings";
+const char kHangulHanjaBindingKeys[] = "F9,Ctrl 9";
+
const HangulKeyboardNameIDPair kHangulKeyboardNameIDPairs[] = {
// We have to sync the |keyboard_id|s with those in
// ibus-hangul/files/setup/main.py.
« no previous file with comments | « chrome/browser/chromeos/language_preferences.h ('k') | chrome/browser/chromeos/preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698