| 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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"; | |
| 544 | 542 |
| 545 // A string pref (comma-separated list) set to the preloaded (active) input | 543 // A string pref (comma-separated list) set to the preloaded (active) input |
| 546 // method IDs (ex. "pinyin,mozc"). | 544 // method IDs (ex. "pinyin,mozc"). |
| 547 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; | 545 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; |
| 548 const char kLanguagePreloadEnginesSyncable[] = | |
| 549 "settings.language.preload_engines_syncable"; | |
| 550 | 546 |
| 551 // A string pref (comma-separated list) set to the extension IMEs to be enabled. | 547 // A List pref (comma-separated list) set to the extension IMEs to be enabled. |
| 552 const char kLanguageEnabledExtensionImes[] = | 548 const char kLanguageEnabledExtensionImes[] = |
| 553 "settings.language.enabled_extension_imes"; | 549 "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"; | |
| 561 | 550 |
| 562 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and | 551 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and |
| 563 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in | 552 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in |
| 564 // src/chrome/browser/chromeos/input_method/xkeyboard.h | 553 // src/chrome/browser/chromeos/input_method/xkeyboard.h |
| 565 const char kLanguageRemapSearchKeyTo[] = | 554 const char kLanguageRemapSearchKeyTo[] = |
| 566 // Note: we no longer use XKB for remapping these keys, but we can't change | 555 // Note: we no longer use XKB for remapping these keys, but we can't change |
| 567 // the pref names since the names are already synced with the cloud. | 556 // the pref names since the names are already synced with the cloud. |
| 568 "settings.language.xkb_remap_search_key_to"; | 557 "settings.language.xkb_remap_search_key_to"; |
| 569 const char kLanguageRemapControlKeyTo[] = | 558 const char kLanguageRemapControlKeyTo[] = |
| 570 "settings.language.xkb_remap_control_key_to"; | 559 "settings.language.xkb_remap_control_key_to"; |
| (...skipping 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2286 // bubble. | 2275 // bubble. |
| 2287 const char kPasswordBubbleTimeStamp[] = "password_bubble.timestamp"; | 2276 const char kPasswordBubbleTimeStamp[] = "password_bubble.timestamp"; |
| 2288 | 2277 |
| 2289 // The count of user's "Nope" for the password bubble. | 2278 // The count of user's "Nope" for the password bubble. |
| 2290 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; | 2279 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; |
| 2291 | 2280 |
| 2292 // Last user's interaction with the password bubble. | 2281 // Last user's interaction with the password bubble. |
| 2293 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; | 2282 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; |
| 2294 | 2283 |
| 2295 } // namespace prefs | 2284 } // namespace prefs |
| OLD | NEW |