summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
diff options
context:
space:
mode:
authoryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 09:34:23 +0000
committeryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 09:34:23 +0000
commitb5412500aec5289b385ddab77e6eb51863eecd98 (patch)
tree48a314b19c6b6b3940aacd0d2659a9927102f106 /chrome/browser/chromeos
parent89e8ba2ed06764f2c98ab824957e5c835a8584cc (diff)
downloadchromium_src-b5412500aec5289b385ddab77e6eb51863eecd98.zip
chromium_src-b5412500aec5289b385ddab77e6eb51863eecd98.tar.gz
chromium_src-b5412500aec5289b385ddab77e6eb51863eecd98.tar.bz2
Tiny cleanup: remove all use of kFallbackInputMethodId from the Chrome tree.
BUG=chromium-os:6563 TEST=ran emerge, ran chrome on the device Review URL: http://codereview.chromium.org/3340021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos')
-rw-r--r--chrome/browser/chromeos/preferences.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc
index 9f90e2a..53c9cd3 100644
--- a/chrome/browser/chromeos/preferences.cc
+++ b/chrome/browser/chromeos/preferences.cc
@@ -36,8 +36,10 @@ void Preferences::RegisterUserPrefs(PrefService* prefs) {
language_prefs::kHotkeyPreviousEngine);
prefs->RegisterStringPref(prefs::kLanguagePreferredLanguages,
kFallbackInputMethodLocale);
+
+ KeyboardLibrary* keyboard_library = CrosLibrary::Get()->GetKeyboardLibrary();
prefs->RegisterStringPref(prefs::kLanguagePreloadEngines,
- kFallbackInputMethodId); // EN layout
+ keyboard_library->GetHardwareKeyboardLayoutName());
for (size_t i = 0; i < language_prefs::kNumChewingBooleanPrefs; ++i) {
prefs->RegisterBooleanPref(
language_prefs::kChewingBooleanPrefs[i].pref_name,