Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: ui/chromeos/events/pref_names.cc

Issue 2724913002: Move chromeos::EventRewriter to //ui/chromeos/events (Closed)
Patch Set: Fix a typo Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/chromeos/events/pref_names.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/chromeos/events/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698