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-06-08 02:13:54 +0000
committeryusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-08 02:13:54 +0000
commit8be9ff2f63bd4f97c23eb88e757da07543333e64 (patch)
treebea3f86f8cf18e61b32da6265c2a29dcf00e6a2b /chrome/common/pref_names.cc
parent32bf3c4f2ab152883dfa86ca3597f557af84d289 (diff)
downloadchromium_src-8be9ff2f63bd4f97c23eb88e757da07543333e64.zip
chromium_src-8be9ff2f63bd4f97c23eb88e757da07543333e64.tar.gz
chromium_src-8be9ff2f63bd4f97c23eb88e757da07543333e64.tar.bz2
Remember the current and previous input method IDs as Chrome prefs, and restore them on startup.
BUG=chromium-os:3771 BUG=chromium-os:3378 TEST=manual Review URL: http://codereview.chromium.org/2690005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49138 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r--chrome/common/pref_names.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 99998fb8..44cfe57 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -194,6 +194,14 @@ const wchar_t kTouchpadSpeedFactor[] = L"settings.touchpad.speed_factor";
// A integer pref for the touchpad sensitivity.
const wchar_t kTouchpadSensitivity[] = L"settings.touchpad.sensitivity";
+// A string pref set to the current input method.
+const wchar_t kLanguageCurrentInputMethod[] =
+ L"settings.language.current_input_method";
+
+// A string pref set to the previous input method.
+const wchar_t kLanguagePreviousInputMethod[] =
+ L"settings.language.previous_input_method";
+
// A string pref (comma-separated list) set to the "next engine in menu"
// hot-key lists.
const wchar_t kLanguageHotkeyNextEngineInMenu[] =