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 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 "settings.language.xkb_auto_repeat_enabled_r2"; | 637 "settings.language.xkb_auto_repeat_enabled_r2"; |
638 // A integer pref which determines key repeat delay (in ms). | 638 // A integer pref which determines key repeat delay (in ms). |
639 const char kLanguageXkbAutoRepeatDelay[] = | 639 const char kLanguageXkbAutoRepeatDelay[] = |
640 "settings.language.xkb_auto_repeat_delay_r2"; | 640 "settings.language.xkb_auto_repeat_delay_r2"; |
641 // A integer pref which determines key repeat interval (in ms). | 641 // A integer pref which determines key repeat interval (in ms). |
642 const char kLanguageXkbAutoRepeatInterval[] = | 642 const char kLanguageXkbAutoRepeatInterval[] = |
643 "settings.language.xkb_auto_repeat_interval_r2"; | 643 "settings.language.xkb_auto_repeat_interval_r2"; |
644 // "_r2" suffixes are added to the three prefs above when we change the | 644 // "_r2" suffixes are added to the three prefs above when we change the |
645 // preferences not user-configurable, not to sync them with cloud. | 645 // preferences not user-configurable, not to sync them with cloud. |
646 | 646 |
647 // A dictionary pref which determines a preferred virtual keyboard per layout. | |
648 // e.g. { "us(dvorak)": "http://asdfg..yuiop/" } | |
649 const char kLanguagePreferredVirtualKeyboard[] = | |
650 "settings.language.preferred_virtual_keyboard"; | |
651 | |
652 // A boolean pref which determines whether spoken feedback is enabled. | 647 // A boolean pref which determines whether spoken feedback is enabled. |
653 const char kSpokenFeedbackEnabled[] = "settings.accessibility"; | 648 const char kSpokenFeedbackEnabled[] = "settings.accessibility"; |
654 // A boolean pref which determines whether high conrast is enabled. | 649 // A boolean pref which determines whether high conrast is enabled. |
655 const char kHighContrastEnabled[] = "settings.a11y.high_contrast"; | 650 const char kHighContrastEnabled[] = "settings.a11y.high_contrast"; |
656 // A boolean pref which determines whether screen magnifier is enabled. | 651 // A boolean pref which determines whether screen magnifier is enabled. |
657 const char kScreenMagnifierEnabled[] = "settings.a11y.screen_magnifier"; | 652 const char kScreenMagnifierEnabled[] = "settings.a11y.screen_magnifier"; |
658 // A boolean pref which determines whether virtual keyboard is enabled. | 653 // A boolean pref which determines whether virtual keyboard is enabled. |
| 654 // TODO(hashimoto): Remove this pref. |
659 const char kVirtualKeyboardEnabled[] = "settings.a11y.virtual_keyboard"; | 655 const char kVirtualKeyboardEnabled[] = "settings.a11y.virtual_keyboard"; |
660 | 656 |
661 // A boolean pref which turns on Advanced Filesystem | 657 // A boolean pref which turns on Advanced Filesystem |
662 // (USB support, SD card, etc). | 658 // (USB support, SD card, etc). |
663 const char kLabsAdvancedFilesystemEnabled[] = | 659 const char kLabsAdvancedFilesystemEnabled[] = |
664 "settings.labs.advanced_filesystem"; | 660 "settings.labs.advanced_filesystem"; |
665 | 661 |
666 // A boolean pref which turns on the mediaplayer. | 662 // A boolean pref which turns on the mediaplayer. |
667 const char kLabsMediaplayerEnabled[] = "settings.labs.mediaplayer"; | 663 const char kLabsMediaplayerEnabled[] = "settings.labs.mediaplayer"; |
668 | 664 |
(...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1884 const char kInManagedMode[] = "managed_mode"; | 1880 const char kInManagedMode[] = "managed_mode"; |
1885 | 1881 |
1886 // Counts how many more times the 'profile on a network share' warning should be | 1882 // Counts how many more times the 'profile on a network share' warning should be |
1887 // shown to the user before the next silence period. | 1883 // shown to the user before the next silence period. |
1888 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 1884 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
1889 // Tracks the time of the last shown warning. Used to reset | 1885 // Tracks the time of the last shown warning. Used to reset |
1890 // |network_profile.warnings_left| after a silence period. | 1886 // |network_profile.warnings_left| after a silence period. |
1891 const char kNetworkProfileLastWarningTime[] = | 1887 const char kNetworkProfileLastWarningTime[] = |
1892 "network_profile.last_warning_time"; | 1888 "network_profile.last_warning_time"; |
1893 } // namespace prefs | 1889 } // namespace prefs |
OLD | NEW |