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

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

Issue 11421055: Add power-user keyboard mode for ChromeOS with Search key acting as a typical Fn key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SkyNits Created 8 years 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
« no previous file with comments | « chrome/common/pref_names.h ('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/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 // Note: we no longer use XKB for remapping these keys, but we can't change 706 // Note: we no longer use XKB for remapping these keys, but we can't change
707 // the pref names since the names are already synced with the cloud. 707 // the pref names since the names are already synced with the cloud.
708 "settings.language.xkb_remap_search_key_to"; 708 "settings.language.xkb_remap_search_key_to";
709 const char kLanguageRemapControlKeyTo[] = 709 const char kLanguageRemapControlKeyTo[] =
710 "settings.language.xkb_remap_control_key_to"; 710 "settings.language.xkb_remap_control_key_to";
711 const char kLanguageRemapAltKeyTo[] = 711 const char kLanguageRemapAltKeyTo[] =
712 "settings.language.xkb_remap_alt_key_to"; 712 "settings.language.xkb_remap_alt_key_to";
713 const char kLanguageRemapCapsLockKeyTo[] = 713 const char kLanguageRemapCapsLockKeyTo[] =
714 "settings.language.remap_caps_lock_key_to"; 714 "settings.language.remap_caps_lock_key_to";
715 715
716 // A boolean pref which determines whether the Search key should act like a
717 // Function key when held down.
718 const char kLanguageSearchKeyActsAsFunctionKey[] =
719 "settings.language.search_key_acts_as_function_key";
720
716 // A boolean pref which determines whether key repeat is enabled. 721 // A boolean pref which determines whether key repeat is enabled.
717 const char kLanguageXkbAutoRepeatEnabled[] = 722 const char kLanguageXkbAutoRepeatEnabled[] =
718 "settings.language.xkb_auto_repeat_enabled_r2"; 723 "settings.language.xkb_auto_repeat_enabled_r2";
719 // A integer pref which determines key repeat delay (in ms). 724 // A integer pref which determines key repeat delay (in ms).
720 const char kLanguageXkbAutoRepeatDelay[] = 725 const char kLanguageXkbAutoRepeatDelay[] =
721 "settings.language.xkb_auto_repeat_delay_r2"; 726 "settings.language.xkb_auto_repeat_delay_r2";
722 // A integer pref which determines key repeat interval (in ms). 727 // A integer pref which determines key repeat interval (in ms).
723 const char kLanguageXkbAutoRepeatInterval[] = 728 const char kLanguageXkbAutoRepeatInterval[] =
724 "settings.language.xkb_auto_repeat_interval_r2"; 729 "settings.language.xkb_auto_repeat_interval_r2";
725 // "_r2" suffixes are added to the three prefs above when we change the 730 // "_r2" suffixes are added to the three prefs above when we change the
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
2133 // Tracks the time of the last shown warning. Used to reset 2138 // Tracks the time of the last shown warning. Used to reset
2134 // |network_profile.warnings_left| after a silence period. 2139 // |network_profile.warnings_left| after a silence period.
2135 const char kNetworkProfileLastWarningTime[] = 2140 const char kNetworkProfileLastWarningTime[] =
2136 "network_profile.last_warning_time"; 2141 "network_profile.last_warning_time";
2137 2142
2138 // 64-bit serialization of the time last policy usage statistics were collected 2143 // 64-bit serialization of the time last policy usage statistics were collected
2139 // by UMA_HISTOGRAM_ENUMERATION. 2144 // by UMA_HISTOGRAM_ENUMERATION.
2140 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2145 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2141 2146
2142 } // namespace prefs 2147 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698