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

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 Created 6 years 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 528
529 // A string pref (comma-separated list) set to the "previous engine" 529 // A string pref (comma-separated list) set to the "previous engine"
530 // hot-key lists. 530 // hot-key lists.
531 const char kLanguageHotkeyPreviousEngine[] = 531 const char kLanguageHotkeyPreviousEngine[] =
532 "settings.language.hotkey_previous_engine"; 532 "settings.language.hotkey_previous_engine";
533 533
534 // A string pref (comma-separated list) set to the preferred language IDs 534 // A string pref (comma-separated list) set to the preferred language IDs
535 // (ex. "en-US,fr,ko"). 535 // (ex. "en-US,fr,ko").
536 const char kLanguagePreferredLanguages[] = 536 const char kLanguagePreferredLanguages[] =
537 "settings.language.preferred_languages"; 537 "settings.language.preferred_languages";
538 const char kLanguagePreferredLanguagesSyncable[] =
539 "settings.language.preferred_languages_syncable";
538 540
539 // A string pref (comma-separated list) set to the preloaded (active) input 541 // A string pref (comma-separated list) set to the preloaded (active) input
540 // method IDs (ex. "pinyin,mozc"). 542 // method IDs (ex. "pinyin,mozc").
541 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; 543 const char kLanguagePreloadEngines[] = "settings.language.preload_engines";
544 const char kLanguagePreloadEnginesSyncable[] =
545 "settings.language.preload_engines_syncable";
542 546
543 // A List pref (comma-separated list) set to the extension IMEs to be enabled. 547 // A string pref (comma-separated list) set to the extension IMEs to be enabled.
544 const char kLanguageEnabledExtensionImes[] = 548 const char kLanguageEnabledExtensionImes[] =
545 "settings.language.enabled_extension_imes"; 549 "settings.language.enabled_extension_imes";
550 const char kLanguageEnabledExtensionImesSyncable[] =
551 "settings.language.enabled_extension_imes_syncable";
552
553 // A boolean pref to indicate whether we still need to add the globally synced
554 // input methods. False after the initial post-OOBE sync.
555 const char kLanguageShouldMergeInputMethods[] =
556 "settings.language.merge_input_methods";
546 557
547 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and 558 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and
548 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in 559 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in
549 // src/chrome/browser/chromeos/input_method/xkeyboard.h 560 // src/chrome/browser/chromeos/input_method/xkeyboard.h
550 const char kLanguageRemapSearchKeyTo[] = 561 const char kLanguageRemapSearchKeyTo[] =
551 // Note: we no longer use XKB for remapping these keys, but we can't change 562 // Note: we no longer use XKB for remapping these keys, but we can't change
552 // the pref names since the names are already synced with the cloud. 563 // the pref names since the names are already synced with the cloud.
553 "settings.language.xkb_remap_search_key_to"; 564 "settings.language.xkb_remap_search_key_to";
554 const char kLanguageRemapControlKeyTo[] = 565 const char kLanguageRemapControlKeyTo[] =
555 "settings.language.xkb_remap_control_key_to"; 566 "settings.language.xkb_remap_control_key_to";
(...skipping 1728 matching lines...) Expand 10 before | Expand all | Expand 10 after
2284 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; 2295 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes";
2285 2296
2286 // Last user's interaction with the password bubble. 2297 // Last user's interaction with the password bubble.
2287 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; 2298 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions";
2288 2299
2289 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. 2300 // Boolean that indicates whether elevation is needed to recover Chrome upgrade.
2290 const char kRecoveryComponentNeedsElevation[] = 2301 const char kRecoveryComponentNeedsElevation[] =
2291 "recovery_component.needs_elevation"; 2302 "recovery_component.needs_elevation";
2292 2303
2293 } // namespace prefs 2304 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698