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

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: rebase and dzhioev's comments Created 6 years, 5 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 523
524 // A string pref (comma-separated list) set to the "previous engine" 524 // A string pref (comma-separated list) set to the "previous engine"
525 // hot-key lists. 525 // hot-key lists.
526 const char kLanguageHotkeyPreviousEngine[] = 526 const char kLanguageHotkeyPreviousEngine[] =
527 "settings.language.hotkey_previous_engine"; 527 "settings.language.hotkey_previous_engine";
528 528
529 // A string pref (comma-separated list) set to the preferred language IDs 529 // A string pref (comma-separated list) set to the preferred language IDs
530 // (ex. "en-US,fr,ko"). 530 // (ex. "en-US,fr,ko").
531 const char kLanguagePreferredLanguages[] = 531 const char kLanguagePreferredLanguages[] =
532 "settings.language.preferred_languages"; 532 "settings.language.preferred_languages";
533 const char kLanguagePreferredLanguagesSyncable[] =
534 "settings.language.preferred_languages_syncable";
533 535
534 // A string pref (comma-separated list) set to the preloaded (active) input 536 // A string pref (comma-separated list) set to the preloaded (active) input
535 // method IDs (ex. "pinyin,mozc"). 537 // method IDs (ex. "pinyin,mozc").
536 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; 538 const char kLanguagePreloadEngines[] = "settings.language.preload_engines";
539 const char kLanguagePreloadEnginesSyncable[] =
540 "settings.language.preload_engines_syncable";
537 541
538 // A List pref (comma-separated list) set to the extension IMEs to be enabled. 542 // A string pref (comma-separated list) set to the extension IMEs to be enabled.
539 const char kLanguageEnabledExtensionImes[] = 543 const char kLanguageEnabledExtensionImes[] =
540 "settings.language.enabled_extension_imes"; 544 "settings.language.enabled_extension_imes";
545 const char kLanguageEnabledExtensionImesSyncable[] =
546 "settings.language.enabled_extension_imes_syncable";
547
548 // A boolean pref to indicate whether we still need to add the globally synced
549 // input methods. False after the initial post-OOBE sync.
550 const char kLanguageShouldMergeInputMethods[] =
551 "settings.language.merge_input_methods";
541 552
542 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and 553 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and
543 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in 554 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in
544 // src/chrome/browser/chromeos/input_method/xkeyboard.h 555 // src/chrome/browser/chromeos/input_method/xkeyboard.h
545 const char kLanguageRemapSearchKeyTo[] = 556 const char kLanguageRemapSearchKeyTo[] =
546 // Note: we no longer use XKB for remapping these keys, but we can't change 557 // Note: we no longer use XKB for remapping these keys, but we can't change
547 // the pref names since the names are already synced with the cloud. 558 // the pref names since the names are already synced with the cloud.
548 "settings.language.xkb_remap_search_key_to"; 559 "settings.language.xkb_remap_search_key_to";
549 const char kLanguageRemapControlKeyTo[] = 560 const char kLanguageRemapControlKeyTo[] =
550 "settings.language.xkb_remap_control_key_to"; 561 "settings.language.xkb_remap_control_key_to";
(...skipping 1739 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2301 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2291 // given by the PartnerBookmarksProvider and either the user-visible renamed 2302 // given by the PartnerBookmarksProvider and either the user-visible renamed
2292 // title or an empty string if the bookmark node was removed. 2303 // title or an empty string if the bookmark node was removed.
2293 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2304 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2294 #endif 2305 #endif
2295 2306
2296 // Whether DNS Quick Check is disabled in proxy resolution. 2307 // Whether DNS Quick Check is disabled in proxy resolution.
2297 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2308 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2298 2309
2299 } // namespace prefs 2310 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698