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

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

Issue 11314020: Allow Caps Lock to be remapped [part 1 of 2] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 1 month 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 | Annotate | Revision Log
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/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in 708 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in
709 // src/chrome/browser/chromeos/input_method/xkeyboard.h 709 // src/chrome/browser/chromeos/input_method/xkeyboard.h
710 const char kLanguageRemapSearchKeyTo[] = 710 const char kLanguageRemapSearchKeyTo[] =
711 // Note: we no longer use XKB for remapping these keys, but we can't change 711 // Note: we no longer use XKB for remapping these keys, but we can't change
712 // the pref names since the names are already synced with the cloud. 712 // the pref names since the names are already synced with the cloud.
713 "settings.language.xkb_remap_search_key_to"; 713 "settings.language.xkb_remap_search_key_to";
714 const char kLanguageRemapControlKeyTo[] = 714 const char kLanguageRemapControlKeyTo[] =
715 "settings.language.xkb_remap_control_key_to"; 715 "settings.language.xkb_remap_control_key_to";
716 const char kLanguageRemapAltKeyTo[] = 716 const char kLanguageRemapAltKeyTo[] =
717 "settings.language.xkb_remap_alt_key_to"; 717 "settings.language.xkb_remap_alt_key_to";
718 const char kLanguageRemapCapsLockKeyTo[] =
719 "settings.language.remap_caps_lock_key_to";
718 720
719 // A boolean pref which determines whether key repeat is enabled. 721 // A boolean pref which determines whether key repeat is enabled.
720 const char kLanguageXkbAutoRepeatEnabled[] = 722 const char kLanguageXkbAutoRepeatEnabled[] =
721 "settings.language.xkb_auto_repeat_enabled_r2"; 723 "settings.language.xkb_auto_repeat_enabled_r2";
722 // A integer pref which determines key repeat delay (in ms). 724 // A integer pref which determines key repeat delay (in ms).
723 const char kLanguageXkbAutoRepeatDelay[] = 725 const char kLanguageXkbAutoRepeatDelay[] =
724 "settings.language.xkb_auto_repeat_delay_r2"; 726 "settings.language.xkb_auto_repeat_delay_r2";
725 // A integer pref which determines key repeat interval (in ms). 727 // A integer pref which determines key repeat interval (in ms).
726 const char kLanguageXkbAutoRepeatInterval[] = 728 const char kLanguageXkbAutoRepeatInterval[] =
727 "settings.language.xkb_auto_repeat_interval_r2"; 729 "settings.language.xkb_auto_repeat_interval_r2";
(...skipping 1399 matching lines...) Expand 10 before | Expand all | Expand 10 after
2127 // Tracks the time of the last shown warning. Used to reset 2129 // Tracks the time of the last shown warning. Used to reset
2128 // |network_profile.warnings_left| after a silence period. 2130 // |network_profile.warnings_left| after a silence period.
2129 const char kNetworkProfileLastWarningTime[] = 2131 const char kNetworkProfileLastWarningTime[] =
2130 "network_profile.last_warning_time"; 2132 "network_profile.last_warning_time";
2131 2133
2132 // 64-bit serialization of the time last policy usage statistics were collected 2134 // 64-bit serialization of the time last policy usage statistics were collected
2133 // by UMA_HISTOGRAM_ENUMERATION. 2135 // by UMA_HISTOGRAM_ENUMERATION.
2134 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2136 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2135 2137
2136 } // namespace prefs 2138 } // namespace prefs
OLDNEW
« chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698