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

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
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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 532
533 // A string pref (comma-separated list) set to the "previous engine" 533 // A string pref (comma-separated list) set to the "previous engine"
534 // hot-key lists. 534 // hot-key lists.
535 const char kLanguageHotkeyPreviousEngine[] = 535 const char kLanguageHotkeyPreviousEngine[] =
536 "settings.language.hotkey_previous_engine"; 536 "settings.language.hotkey_previous_engine";
537 537
538 // A string pref (comma-separated list) set to the preferred language IDs 538 // A string pref (comma-separated list) set to the preferred language IDs
539 // (ex. "en-US,fr,ko"). 539 // (ex. "en-US,fr,ko").
540 const char kLanguagePreferredLanguages[] = 540 const char kLanguagePreferredLanguages[] =
541 "settings.language.preferred_languages"; 541 "settings.language.preferred_languages";
542 const char kLanguagePreferredLanguagesSyncable[] =
543 "settings.language.preferred_languages_syncable";
542 544
543 // A string pref (comma-separated list) set to the preloaded (active) input 545 // A string pref (comma-separated list) set to the preloaded (active) input
544 // method IDs (ex. "pinyin,mozc"). 546 // method IDs (ex. "pinyin,mozc").
545 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; 547 const char kLanguagePreloadEngines[] = "settings.language.preload_engines";
548 const char kLanguagePreloadEnginesSyncable[] =
549 "settings.language.preload_engines_syncable";
546 550
547 // A List pref (comma-separated list) set to the extension IMEs to be enabled. 551 // A string pref (comma-separated list) set to the extension IMEs to be enabled.
548 const char kLanguageEnabledExtensionImes[] = 552 const char kLanguageEnabledExtensionImes[] =
549 "settings.language.enabled_extension_imes"; 553 "settings.language.enabled_extension_imes";
554 const char kLanguageEnabledExtensionImesSyncable[] =
555 "settings.language.enabled_extension_imes_syncable";
556
557 // A boolean pref to indicate whether we still need to add the globally synced
558 // input methods. False after the initial post-OOBE sync.
559 const char kLanguageShouldMergeInputMethods[] =
560 "settings.language.merge_input_methods";
550 561
551 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and 562 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and
552 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in 563 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in
553 // src/chrome/browser/chromeos/input_method/xkeyboard.h 564 // src/chrome/browser/chromeos/input_method/xkeyboard.h
554 const char kLanguageRemapSearchKeyTo[] = 565 const char kLanguageRemapSearchKeyTo[] =
555 // Note: we no longer use XKB for remapping these keys, but we can't change 566 // Note: we no longer use XKB for remapping these keys, but we can't change
556 // the pref names since the names are already synced with the cloud. 567 // the pref names since the names are already synced with the cloud.
557 "settings.language.xkb_remap_search_key_to"; 568 "settings.language.xkb_remap_search_key_to";
558 const char kLanguageRemapControlKeyTo[] = 569 const char kLanguageRemapControlKeyTo[] =
559 "settings.language.xkb_remap_control_key_to"; 570 "settings.language.xkb_remap_control_key_to";
(...skipping 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after
2275 // bubble. 2286 // bubble.
2276 const char kPasswordBubbleTimeStamp[] = "password_bubble.timestamp"; 2287 const char kPasswordBubbleTimeStamp[] = "password_bubble.timestamp";
2277 2288
2278 // The count of user's "Nope" for the password bubble. 2289 // The count of user's "Nope" for the password bubble.
2279 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; 2290 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes";
2280 2291
2281 // Last user's interaction with the password bubble. 2292 // Last user's interaction with the password bubble.
2282 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; 2293 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions";
2283 2294
2284 } // namespace prefs 2295 } // namespace prefs
OLDNEW
« chrome/browser/chromeos/input_method/input_method_syncer.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