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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 | 520 |
521 // A string pref (comma-separated list) set to the "previous engine" | 521 // A string pref (comma-separated list) set to the "previous engine" |
522 // hot-key lists. | 522 // hot-key lists. |
523 const char kLanguageHotkeyPreviousEngine[] = | 523 const char kLanguageHotkeyPreviousEngine[] = |
524 "settings.language.hotkey_previous_engine"; | 524 "settings.language.hotkey_previous_engine"; |
525 | 525 |
526 // A string pref (comma-separated list) set to the preferred language IDs | 526 // A string pref (comma-separated list) set to the preferred language IDs |
527 // (ex. "en-US,fr,ko"). | 527 // (ex. "en-US,fr,ko"). |
528 const char kLanguagePreferredLanguages[] = | 528 const char kLanguagePreferredLanguages[] = |
529 "settings.language.preferred_languages"; | 529 "settings.language.preferred_languages"; |
| 530 const char kLanguagePreferredLanguagesSyncable[] = |
| 531 "settings.language.preferred_languages_syncable"; |
530 | 532 |
531 // A string pref (comma-separated list) set to the preloaded (active) input | 533 // A string pref (comma-separated list) set to the preloaded (active) input |
532 // method IDs (ex. "pinyin,mozc"). | 534 // method IDs (ex. "pinyin,mozc"). |
533 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; | 535 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; |
| 536 const char kLanguagePreloadEnginesSyncable[] = |
| 537 "settings.language.preload_engines_syncable"; |
534 | 538 |
535 // A List pref (comma-separated list) set to the extension IMEs to be enabled. | 539 // A string pref (comma-separated list) set to the extension IMEs to be enabled. |
536 const char kLanguageEnabledExtensionImes[] = | 540 const char kLanguageEnabledExtensionImes[] = |
537 "settings.language.enabled_extension_imes"; | 541 "settings.language.enabled_extension_imes"; |
| 542 const char kLanguageEnabledExtensionImesSyncable[] = |
| 543 "settings.language.enabled_extension_imes_syncable"; |
| 544 |
| 545 // A boolean pref to indicate whether we still need to add the globally synced |
| 546 // input methods. False after the initial post-OOBE sync. |
| 547 const char kLanguageShouldMergeInputMethods[] = |
| 548 "settings.language.merge_input_methods"; |
538 | 549 |
539 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and | 550 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and |
540 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in | 551 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in |
541 // src/chrome/browser/chromeos/input_method/xkeyboard.h | 552 // src/chrome/browser/chromeos/input_method/xkeyboard.h |
542 const char kLanguageRemapSearchKeyTo[] = | 553 const char kLanguageRemapSearchKeyTo[] = |
543 // Note: we no longer use XKB for remapping these keys, but we can't change | 554 // Note: we no longer use XKB for remapping these keys, but we can't change |
544 // the pref names since the names are already synced with the cloud. | 555 // the pref names since the names are already synced with the cloud. |
545 "settings.language.xkb_remap_search_key_to"; | 556 "settings.language.xkb_remap_search_key_to"; |
546 const char kLanguageRemapControlKeyTo[] = | 557 const char kLanguageRemapControlKeyTo[] = |
547 "settings.language.xkb_remap_control_key_to"; | 558 "settings.language.xkb_remap_control_key_to"; |
(...skipping 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2316 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2327 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2317 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2328 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2318 // title or an empty string if the bookmark node was removed. | 2329 // title or an empty string if the bookmark node was removed. |
2319 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2330 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2320 #endif | 2331 #endif |
2321 | 2332 |
2322 // Whether DNS Quick Check is disabled in proxy resolution. | 2333 // Whether DNS Quick Check is disabled in proxy resolution. |
2323 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2334 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2324 | 2335 |
2325 } // namespace prefs | 2336 } // namespace prefs |
OLD | NEW |