| Index: ui/chromeos/events/pref_names.cc
|
| diff --git a/ui/chromeos/events/pref_names.cc b/ui/chromeos/events/pref_names.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f3b53076d58444ffb768eb5e651d489bcc9236d7
|
| --- /dev/null
|
| +++ b/ui/chromeos/events/pref_names.cc
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/chromeos/events/pref_names.h"
|
| +
|
| +namespace prefs {
|
| +
|
| +// *************** PROFILE PREFS ***************
|
| +// These are attached to the user profile
|
| +
|
| +// Integer prefs which determine how we remap modifier keys (e.g. swap Alt and
|
| +// Control.) Possible values for these prefs are 0-6. See ModifierKey enum in
|
| +// src/chrome/browser/chromeos/input_method/xkeyboard.h
|
| +const char kLanguageRemapSearchKeyTo[] =
|
| + // Note: we no longer use XKB for remapping these keys, but we can't change
|
| + // the pref names since the names are already synced with the cloud.
|
| + "settings.language.xkb_remap_search_key_to";
|
| +const char kLanguageRemapControlKeyTo[] =
|
| + "settings.language.xkb_remap_control_key_to";
|
| +const char kLanguageRemapAltKeyTo[] = "settings.language.xkb_remap_alt_key_to";
|
| +const char kLanguageRemapCapsLockKeyTo[] =
|
| + "settings.language.remap_caps_lock_key_to";
|
| +const char kLanguageRemapEscapeKeyTo[] =
|
| + "settings.language.remap_escape_key_to";
|
| +const char kLanguageRemapBackspaceKeyTo[] =
|
| + "settings.language.remap_backspace_key_to";
|
| +const char kLanguageRemapDiamondKeyTo[] =
|
| + "settings.language.remap_diamond_key_to";
|
| +
|
| +} // namespace prefs
|
|
|