Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: chrome/common/pref_names.cc

Issue 312023002: Sync starting language and input method preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes in progress, probably broken... Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 597
598 // A string pref (comma-separated list) set to the "previous engine" 598 // A string pref (comma-separated list) set to the "previous engine"
599 // hot-key lists. 599 // hot-key lists.
600 const char kLanguageHotkeyPreviousEngine[] = 600 const char kLanguageHotkeyPreviousEngine[] =
601 "settings.language.hotkey_previous_engine"; 601 "settings.language.hotkey_previous_engine";
602 602
603 // A string pref (comma-separated list) set to the preferred language IDs 603 // A string pref (comma-separated list) set to the preferred language IDs
604 // (ex. "en-US,fr,ko"). 604 // (ex. "en-US,fr,ko").
605 const char kLanguagePreferredLanguages[] = 605 const char kLanguagePreferredLanguages[] =
606 "settings.language.preferred_languages"; 606 "settings.language.preferred_languages";
607 const char kLanguagePreferredLanguagesSyncable[] =
608 "settings.language.preferred_languages_syncable";
607 609
608 // A string pref (comma-separated list) set to the preloaded (active) input 610 // A string pref (comma-separated list) set to the preloaded (active) input
609 // method IDs (ex. "pinyin,mozc"). 611 // method IDs (ex. "pinyin,mozc").
610 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; 612 const char kLanguagePreloadEngines[] = "settings.language.preload_engines";
613 const char kLanguagePreloadEnginesSyncable[] =
614 "settings.language.preload_engines_syncable";
611 615
612 // A List pref (comma-separated list) set to the extension IMEs to be enabled. 616 // A string pref (comma-separated list) set to the extension IMEs to be enabled.
613 const char kLanguageEnabledExtensionImes[] = 617 const char kLanguageEnabledExtensionImes[] =
614 "settings.language.enabled_extension_imes"; 618 "settings.language.enabled_extension_imes";
619 const char kLanguageEnabledExtensionImesSyncable[] =
620 "settings.language.enabled_extension_imes_syncable";
621
622 // A boolean pref to indicate whether we still need to add the globally synced
623 // input methods. False after the initial post-OOBE sync.
624 const char kLanguageShouldMergeInputMethods[] =
625 "settings.language.merge_input_methods";
615 626
616 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and 627 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and
617 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in 628 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in
618 // src/chrome/browser/chromeos/input_method/xkeyboard.h 629 // src/chrome/browser/chromeos/input_method/xkeyboard.h
619 const char kLanguageRemapSearchKeyTo[] = 630 const char kLanguageRemapSearchKeyTo[] =
620 // Note: we no longer use XKB for remapping these keys, but we can't change 631 // Note: we no longer use XKB for remapping these keys, but we can't change
621 // the pref names since the names are already synced with the cloud. 632 // the pref names since the names are already synced with the cloud.
622 "settings.language.xkb_remap_search_key_to"; 633 "settings.language.xkb_remap_search_key_to";
623 const char kLanguageRemapControlKeyTo[] = 634 const char kLanguageRemapControlKeyTo[] =
624 "settings.language.xkb_remap_control_key_to"; 635 "settings.language.xkb_remap_control_key_to";
(...skipping 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after
2521 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2532 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2522 // given by the PartnerBookmarksProvider and either the user-visible renamed 2533 // given by the PartnerBookmarksProvider and either the user-visible renamed
2523 // title or an empty string if the bookmark node was removed. 2534 // title or an empty string if the bookmark node was removed.
2524 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2535 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2525 #endif 2536 #endif
2526 2537
2527 // Whether DNS Quick Check is disabled in proxy resolution. 2538 // Whether DNS Quick Check is disabled in proxy resolution.
2528 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2539 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2529 2540
2530 } // namespace prefs 2541 } // namespace prefs
OLDNEW
« chrome/browser/chromeos/preferences.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698