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 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
559 | 559 |
560 // A boolean pref which determines whether key repeat is enabled. | 560 // A boolean pref which determines whether key repeat is enabled. |
561 const char kLanguageXkbAutoRepeatEnabled[] = | 561 const char kLanguageXkbAutoRepeatEnabled[] = |
562 "settings.language.xkb_auto_repeat_enabled_r2"; | 562 "settings.language.xkb_auto_repeat_enabled_r2"; |
563 // A integer pref which determines key repeat delay (in ms). | 563 // A integer pref which determines key repeat delay (in ms). |
564 const char kLanguageXkbAutoRepeatDelay[] = | 564 const char kLanguageXkbAutoRepeatDelay[] = |
565 "settings.language.xkb_auto_repeat_delay_r2"; | 565 "settings.language.xkb_auto_repeat_delay_r2"; |
566 // A integer pref which determines key repeat interval (in ms). | 566 // A integer pref which determines key repeat interval (in ms). |
567 const char kLanguageXkbAutoRepeatInterval[] = | 567 const char kLanguageXkbAutoRepeatInterval[] = |
568 "settings.language.xkb_auto_repeat_interval_r2"; | 568 "settings.language.xkb_auto_repeat_interval_r2"; |
569 // "_r2" suffixes are added to the three prefs above when we change the | 569 // "_r2" suffixes were added to the three prefs above when we changed the |
570 // preferences not user-configurable, not to sync them with cloud. | 570 // preferences to not be user-configurable or sync with cloud. The prefs are |
Dan Beam
2014/07/16 16:59:46
sync with the cloud?
michaelpg
2014/07/18 21:33:06
Done.
| |
571 // now user-configurable and syncable again, but we don't want to overwrite the | |
572 // current values with the old synced values, so we continue to use this suffix. | |
michaelpg
2014/07/16 01:51:24
Would it be better to change the preference names
Dan Beam
2014/07/16 16:59:46
not sure. if we're not losing any loser data by k
stevenjb
2014/07/16 17:41:46
I would use the current _r2 names so that users do
michaelpg
2014/07/18 21:33:06
Acknowledged.
| |
571 | 573 |
572 // A boolean pref which determines whether the large cursor feature is enabled. | 574 // A boolean pref which determines whether the large cursor feature is enabled. |
573 const char kAccessibilityLargeCursorEnabled[] = | 575 const char kAccessibilityLargeCursorEnabled[] = |
574 "settings.a11y.large_cursor_enabled"; | 576 "settings.a11y.large_cursor_enabled"; |
575 | 577 |
576 // A boolean pref which determines whether the sticky keys feature is enabled. | 578 // A boolean pref which determines whether the sticky keys feature is enabled. |
577 const char kAccessibilityStickyKeysEnabled[] = | 579 const char kAccessibilityStickyKeysEnabled[] = |
578 "settings.a11y.sticky_keys_enabled"; | 580 "settings.a11y.sticky_keys_enabled"; |
579 // A boolean pref which determines whether spoken feedback is enabled. | 581 // A boolean pref which determines whether spoken feedback is enabled. |
580 const char kAccessibilitySpokenFeedbackEnabled[] = "settings.accessibility"; | 582 const char kAccessibilitySpokenFeedbackEnabled[] = "settings.accessibility"; |
(...skipping 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2286 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2288 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2287 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2289 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2288 // title or an empty string if the bookmark node was removed. | 2290 // title or an empty string if the bookmark node was removed. |
2289 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2291 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2290 #endif | 2292 #endif |
2291 | 2293 |
2292 // Whether DNS Quick Check is disabled in proxy resolution. | 2294 // Whether DNS Quick Check is disabled in proxy resolution. |
2293 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2295 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2294 | 2296 |
2295 } // namespace prefs | 2297 } // namespace prefs |
OLD | NEW |