| 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 | 544 |
| 545 // A string pref (comma-separated list) set to the "previous engine" | 545 // A string pref (comma-separated list) set to the "previous engine" |
| 546 // hot-key lists. | 546 // hot-key lists. |
| 547 const char kLanguageHotkeyPreviousEngine[] = | 547 const char kLanguageHotkeyPreviousEngine[] = |
| 548 "settings.language.hotkey_previous_engine"; | 548 "settings.language.hotkey_previous_engine"; |
| 549 | 549 |
| 550 // A string pref (comma-separated list) set to the preferred language IDs | 550 // A string pref (comma-separated list) set to the preferred language IDs |
| 551 // (ex. "en-US,fr,ko"). | 551 // (ex. "en-US,fr,ko"). |
| 552 const char kLanguagePreferredLanguages[] = | 552 const char kLanguagePreferredLanguages[] = |
| 553 "settings.language.preferred_languages"; | 553 "settings.language.preferred_languages"; |
| 554 const char kLanguagePreferredLanguagesSyncable[] = |
| 555 "settings.language.preferred_languages_syncable"; |
| 554 | 556 |
| 555 // A string pref (comma-separated list) set to the preloaded (active) input | 557 // A string pref (comma-separated list) set to the preloaded (active) input |
| 556 // method IDs (ex. "pinyin,mozc"). | 558 // method IDs (ex. "pinyin,mozc"). |
| 557 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; | 559 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; |
| 560 const char kLanguagePreloadEnginesSyncable[] = |
| 561 "settings.language.preload_engines_syncable"; |
| 558 | 562 |
| 559 // A List pref (comma-separated list) set to the extension IMEs to be enabled. | 563 // A string pref (comma-separated list) set to the extension IMEs to be enabled. |
| 560 const char kLanguageEnabledExtensionImes[] = | 564 const char kLanguageEnabledExtensionImes[] = |
| 561 "settings.language.enabled_extension_imes"; | 565 "settings.language.enabled_extension_imes"; |
| 566 const char kLanguageEnabledExtensionImesSyncable[] = |
| 567 "settings.language.enabled_extension_imes_syncable"; |
| 568 |
| 569 // A boolean pref to indicate whether we still need to add the globally synced |
| 570 // input methods. False after the initial post-OOBE sync. |
| 571 const char kLanguageShouldMergeInputMethods[] = |
| 572 "settings.language.merge_input_methods"; |
| 562 | 573 |
| 563 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and | 574 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and |
| 564 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in | 575 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in |
| 565 // src/chrome/browser/chromeos/input_method/xkeyboard.h | 576 // src/chrome/browser/chromeos/input_method/xkeyboard.h |
| 566 const char kLanguageRemapSearchKeyTo[] = | 577 const char kLanguageRemapSearchKeyTo[] = |
| 567 // Note: we no longer use XKB for remapping these keys, but we can't change | 578 // Note: we no longer use XKB for remapping these keys, but we can't change |
| 568 // the pref names since the names are already synced with the cloud. | 579 // the pref names since the names are already synced with the cloud. |
| 569 "settings.language.xkb_remap_search_key_to"; | 580 "settings.language.xkb_remap_search_key_to"; |
| 570 const char kLanguageRemapControlKeyTo[] = | 581 const char kLanguageRemapControlKeyTo[] = |
| 571 "settings.language.xkb_remap_control_key_to"; | 582 "settings.language.xkb_remap_control_key_to"; |
| (...skipping 1771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2343 // Whether Guest Mode is enabled within the browser. | 2354 // Whether Guest Mode is enabled within the browser. |
| 2344 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; | 2355 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; |
| 2345 | 2356 |
| 2346 // Whether Adding a new Person is enabled within the user manager. | 2357 // Whether Adding a new Person is enabled within the user manager. |
| 2347 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; | 2358 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; |
| 2348 | 2359 |
| 2349 // A dictionary that maps user id to hardlock state. | 2360 // A dictionary that maps user id to hardlock state. |
| 2350 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; | 2361 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; |
| 2351 | 2362 |
| 2352 } // namespace prefs | 2363 } // namespace prefs |
| OLD | NEW |