OLD | NEW |
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 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 "settings.language.xkb_auto_repeat_interval_r2"; | 736 "settings.language.xkb_auto_repeat_interval_r2"; |
737 // "_r2" suffixes are added to the three prefs above when we change the | 737 // "_r2" suffixes are added to the three prefs above when we change the |
738 // preferences not user-configurable, not to sync them with cloud. | 738 // preferences not user-configurable, not to sync them with cloud. |
739 | 739 |
740 // A boolean pref which determines whether spoken feedback is enabled. | 740 // A boolean pref which determines whether spoken feedback is enabled. |
741 const char kSpokenFeedbackEnabled[] = "settings.accessibility"; | 741 const char kSpokenFeedbackEnabled[] = "settings.accessibility"; |
742 // A boolean pref which determines whether high conrast is enabled. | 742 // A boolean pref which determines whether high conrast is enabled. |
743 const char kHighContrastEnabled[] = "settings.a11y.high_contrast_enabled"; | 743 const char kHighContrastEnabled[] = "settings.a11y.high_contrast_enabled"; |
744 // A boolean pref which determines whether screen magnifier is enabled. | 744 // A boolean pref which determines whether screen magnifier is enabled. |
745 const char kScreenMagnifierEnabled[] = "settings.a11y.screen_magnifier"; | 745 const char kScreenMagnifierEnabled[] = "settings.a11y.screen_magnifier"; |
| 746 // A integer pref which determines what type of screen magnifier is enabled. |
| 747 // Note that: 'screen_magnifier_type' had been used as string pref. Hence, |
| 748 // we are using another name pref here. |
| 749 const char kScreenMagnifierType[] = "settings.a11y.screen_magnifier_type2"; |
746 // A double pref which determines a zooming scale of the screen magnifier. | 750 // A double pref which determines a zooming scale of the screen magnifier. |
747 const char kScreenMagnifierScale[] = "settings.a11y.screen_magnifier_scale"; | 751 const char kScreenMagnifierScale[] = "settings.a11y.screen_magnifier_scale"; |
748 // A boolean pref which determines whether virtual keyboard is enabled. | 752 // A boolean pref which determines whether virtual keyboard is enabled. |
749 // TODO(hashimoto): Remove this pref. | 753 // TODO(hashimoto): Remove this pref. |
750 const char kVirtualKeyboardEnabled[] = "settings.a11y.virtual_keyboard"; | 754 const char kVirtualKeyboardEnabled[] = "settings.a11y.virtual_keyboard"; |
751 // A boolean pref which determines whether the accessibility menu shows | 755 // A boolean pref which determines whether the accessibility menu shows |
752 // regardless of the state of a11y features. | 756 // regardless of the state of a11y features. |
753 const char kShouldAlwaysShowAccessibilityMenu[] = "settings.a11y.enable_menu"; | 757 const char kShouldAlwaysShowAccessibilityMenu[] = "settings.a11y.enable_menu"; |
754 | 758 |
755 // A boolean pref which turns on Advanced Filesystem | 759 // A boolean pref which turns on Advanced Filesystem |
(...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2222 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; | 2226 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; |
2223 | 2227 |
2224 #if defined(OS_CHROMEOS) | 2228 #if defined(OS_CHROMEOS) |
2225 // The RLZ brand code, if enabled. | 2229 // The RLZ brand code, if enabled. |
2226 const char kRLZBrand[] = "rlz.brand"; | 2230 const char kRLZBrand[] = "rlz.brand"; |
2227 // Whether RLZ pings are disabled. | 2231 // Whether RLZ pings are disabled. |
2228 const char kRLZDisabled[] = "rlz.disabled"; | 2232 const char kRLZDisabled[] = "rlz.disabled"; |
2229 #endif | 2233 #endif |
2230 | 2234 |
2231 } // namespace prefs | 2235 } // namespace prefs |
OLD | NEW |