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

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

Issue 1523593002: Add an option in language settings for activating the IME menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test failure. Created 4 years, 11 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chromeos/chromeos_switches.h » ('j') | 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/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; 498 const char kLanguagePreloadEngines[] = "settings.language.preload_engines";
499 const char kLanguagePreloadEnginesSyncable[] = 499 const char kLanguagePreloadEnginesSyncable[] =
500 "settings.language.preload_engines_syncable"; 500 "settings.language.preload_engines_syncable";
501 501
502 // A string pref (comma-separated list) set to the extension IMEs to be enabled. 502 // A string pref (comma-separated list) set to the extension IMEs to be enabled.
503 const char kLanguageEnabledExtensionImes[] = 503 const char kLanguageEnabledExtensionImes[] =
504 "settings.language.enabled_extension_imes"; 504 "settings.language.enabled_extension_imes";
505 const char kLanguageEnabledExtensionImesSyncable[] = 505 const char kLanguageEnabledExtensionImesSyncable[] =
506 "settings.language.enabled_extension_imes_syncable"; 506 "settings.language.enabled_extension_imes_syncable";
507 507
508 // A boolean pref set to true if the IME menu is activated.
509 const char kLangugaeImeMenuActivated[] = "settings.language.ime_menu_activated";
510
508 // A boolean pref to indicate whether we still need to add the globally synced 511 // A boolean pref to indicate whether we still need to add the globally synced
509 // input methods. False after the initial post-OOBE sync. 512 // input methods. False after the initial post-OOBE sync.
510 const char kLanguageShouldMergeInputMethods[] = 513 const char kLanguageShouldMergeInputMethods[] =
511 "settings.language.merge_input_methods"; 514 "settings.language.merge_input_methods";
512 515
513 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and 516 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and
514 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in 517 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in
515 // src/chrome/browser/chromeos/input_method/xkeyboard.h 518 // src/chrome/browser/chromeos/input_method/xkeyboard.h
516 const char kLanguageRemapSearchKeyTo[] = 519 const char kLanguageRemapSearchKeyTo[] =
517 // Note: we no longer use XKB for remapping these keys, but we can't change 520 // Note: we no longer use XKB for remapping these keys, but we can't change
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after
2176 #endif 2179 #endif
2177 2180
2178 #if defined(ENABLE_MEDIA_ROUTER) 2181 #if defined(ENABLE_MEDIA_ROUTER)
2179 // Whether or not the Media Router first run flow has been acknowledged by the 2182 // Whether or not the Media Router first run flow has been acknowledged by the
2180 // user. 2183 // user.
2181 const char kMediaRouterFirstRunFlowAcknowledged[] = 2184 const char kMediaRouterFirstRunFlowAcknowledged[] =
2182 "media_router.firstrunflow.acknowledged"; 2185 "media_router.firstrunflow.acknowledged";
2183 #endif 2186 #endif
2184 2187
2185 } // namespace prefs 2188 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698