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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2248163002: Allow remapping modifier keys to Caps Lock and Backspace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit_test fix Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 528
529 // A boolean pref set to true if the IME menu is activated. 529 // A boolean pref set to true if the IME menu is activated.
530 const char kLanguageImeMenuActivated[] = "settings.language.ime_menu_activated"; 530 const char kLanguageImeMenuActivated[] = "settings.language.ime_menu_activated";
531 531
532 // A boolean pref to indicate whether we still need to add the globally synced 532 // A boolean pref to indicate whether we still need to add the globally synced
533 // input methods. False after the initial post-OOBE sync. 533 // input methods. False after the initial post-OOBE sync.
534 const char kLanguageShouldMergeInputMethods[] = 534 const char kLanguageShouldMergeInputMethods[] =
535 "settings.language.merge_input_methods"; 535 "settings.language.merge_input_methods";
536 536
537 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and 537 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and
538 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in 538 // Control.) Possible values for these prefs are 0-6. See ModifierKey enum in
539 // src/chrome/browser/chromeos/input_method/xkeyboard.h 539 // src/chrome/browser/chromeos/input_method/xkeyboard.h
540 const char kLanguageRemapSearchKeyTo[] = 540 const char kLanguageRemapSearchKeyTo[] =
541 // Note: we no longer use XKB for remapping these keys, but we can't change 541 // Note: we no longer use XKB for remapping these keys, but we can't change
542 // the pref names since the names are already synced with the cloud. 542 // the pref names since the names are already synced with the cloud.
543 "settings.language.xkb_remap_search_key_to"; 543 "settings.language.xkb_remap_search_key_to";
544 const char kLanguageRemapControlKeyTo[] = 544 const char kLanguageRemapControlKeyTo[] =
545 "settings.language.xkb_remap_control_key_to"; 545 "settings.language.xkb_remap_control_key_to";
546 const char kLanguageRemapAltKeyTo[] = 546 const char kLanguageRemapAltKeyTo[] =
547 "settings.language.xkb_remap_alt_key_to"; 547 "settings.language.xkb_remap_alt_key_to";
548 const char kLanguageRemapCapsLockKeyTo[] = 548 const char kLanguageRemapCapsLockKeyTo[] =
(...skipping 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after
2254 #endif 2254 #endif
2255 2255
2256 // The base64-encoded representation of the public key to use to validate origin 2256 // The base64-encoded representation of the public key to use to validate origin
2257 // trial token signatures. 2257 // trial token signatures.
2258 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2258 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2259 2259
2260 // A list of origin trial features to disable by policy. 2260 // A list of origin trial features to disable by policy.
2261 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2261 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2262 2262
2263 } // namespace prefs 2263 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698