| 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 "chromeos/chromeos_switches.h" | 5 #include "chromeos/chromeos_switches.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 // TODO(rsorokin): alphabetize all of these switches so they | 9 // TODO(rsorokin): alphabetize all of these switches so they |
| 10 // match the order from the .h file | 10 // match the order from the .h file |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 const char kEnableEmbeddedSignin[] = "enable-embedded-signin"; | 112 const char kEnableEmbeddedSignin[] = "enable-embedded-signin"; |
| 113 | 113 |
| 114 // If this switch is set, the new Korean IME will be available in | 114 // If this switch is set, the new Korean IME will be available in |
| 115 // chrome://settings/languages. | 115 // chrome://settings/languages. |
| 116 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; | 116 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; |
| 117 | 117 |
| 118 // If this switch is set, the input view keyboard will be in materia design. | 118 // If this switch is set, the input view keyboard will be in materia design. |
| 119 const char kEnableNewMDInputView[] = "enable-new-md-input-view"; | 119 const char kEnableNewMDInputView[] = "enable-new-md-input-view"; |
| 120 | 120 |
| 121 // If this switch is set, the options for suggestions as typing on physical | 121 // If this switch is set, the options for suggestions as typing on physical |
| 122 // keyboard will be enabled. |
| 123 const char kEnablePhysicalKeyboardAutocorrect[] = |
| 124 "enable-physical-keyboard-autocorrect"; |
| 125 |
| 126 // If this switch is set, the options for suggestions as typing on physical |
| 122 // keyboard will be disabled. | 127 // keyboard will be disabled. |
| 123 const char kDisablePhysicalKeyboardAutocorrect[] = | 128 const char kDisablePhysicalKeyboardAutocorrect[] = |
| 124 "disable-physical-keyboard-autocorrect"; | 129 "disable-physical-keyboard-autocorrect"; |
| 125 | 130 |
| 126 // If this switch is set, the voice input will be disabled. | 131 // If this switch is set, the voice input will be disabled. |
| 127 const char kDisableVoiceInput[] = "disable-voice-input"; | 132 const char kDisableVoiceInput[] = "disable-voice-input"; |
| 128 | 133 |
| 129 // Enabled sharing assets for installed default apps. | 134 // Enabled sharing assets for installed default apps. |
| 130 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; | 135 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; |
| 131 | 136 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 } | 335 } |
| 331 if (option == "3") { | 336 if (option == "3") { |
| 332 return base::MemoryPressureObserverChromeOS:: | 337 return base::MemoryPressureObserverChromeOS:: |
| 333 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 338 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
| 334 } | 339 } |
| 335 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; | 340 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; |
| 336 } | 341 } |
| 337 | 342 |
| 338 } // namespace switches | 343 } // namespace switches |
| 339 } // namespace chromeos | 344 } // namespace chromeos |
| OLD | NEW |