Index: chrome/browser/chromeos/preferences.cc |
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc |
index 5909d1448702eca2ff19ec965d22a8bf1ff5023f..1ec7a400ef8e880e83040c2ccf95d4022acab53a 100644 |
--- a/chrome/browser/chromeos/preferences.cc |
+++ b/chrome/browser/chromeos/preferences.cc |
@@ -233,6 +233,9 @@ void Preferences::RegisterUserPrefs(PrefService* prefs) { |
prefs->RegisterIntegerPref(prefs::kLanguageRemapCapsLockKeyTo, |
input_method::kCapsLockKey, |
PrefService::SYNCABLE_PREF); |
+ prefs->RegisterBooleanPref(prefs::kLanguageSearchKeyActsAsFunctionKey, |
+ false, |
+ PrefService::SYNCABLE_PREF); |
// We don't sync the following keyboard prefs since they are not user- |
// configurable. |
prefs->RegisterBooleanPref(prefs::kLanguageXkbAutoRepeatEnabled, |
@@ -365,6 +368,8 @@ void Preferences::InitUserPrefs(PrefService* prefs) { |
mozc_integer_prefs_[i].Init( |
language_prefs::kMozcIntegerPrefs[i].pref_name, prefs, callback); |
} |
+ search_key_acts_as_function_key_.Init( |
+ prefs::kLanguageSearchKeyActsAsFunctionKey, prefs, callback); |
xkb_auto_repeat_enabled_.Init( |
prefs::kLanguageXkbAutoRepeatEnabled, prefs, callback); |
xkb_auto_repeat_delay_pref_.Init( |