Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ui/chromeos/events/pref_names.h" | |
| 6 | |
| 7 #include "base/macros.h" | |
|
sadrul
2017/03/14 01:15:41
Is this needed?
Peng
2017/03/14 16:06:52
Done.
| |
| 8 | |
| 9 namespace prefs { | |
| 10 | |
| 11 // *************** PROFILE PREFS *************** | |
| 12 // These are attached to the user profile | |
| 13 | |
| 14 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and | |
| 15 // Control.) Possible values for these prefs are 0-6. See ModifierKey enum in | |
| 16 // src/chrome/browser/chromeos/input_method/xkeyboard.h | |
| 17 const char kLanguageRemapSearchKeyTo[] = | |
| 18 // Note: we no longer use XKB for remapping these keys, but we can't change | |
| 19 // the pref names since the names are already synced with the cloud. | |
| 20 "settings.language.xkb_remap_search_key_to"; | |
| 21 const char kLanguageRemapControlKeyTo[] = | |
| 22 "settings.language.xkb_remap_control_key_to"; | |
| 23 const char kLanguageRemapAltKeyTo[] = "settings.language.xkb_remap_alt_key_to"; | |
| 24 const char kLanguageRemapCapsLockKeyTo[] = | |
| 25 "settings.language.remap_caps_lock_key_to"; | |
| 26 const char kLanguageRemapEscapeKeyTo[] = | |
| 27 "settings.language.remap_escape_key_to"; | |
| 28 const char kLanguageRemapBackspaceKeyTo[] = | |
| 29 "settings.language.remap_backspace_key_to"; | |
| 30 const char kLanguageRemapDiamondKeyTo[] = | |
| 31 "settings.language.remap_diamond_key_to"; | |
| 32 | |
| 33 } // namespace prefs | |
| OLD | NEW |