| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 // If this switch is set, Chrome OS login screen uses |EmbeddedSignin| endpoint | 110 // If this switch is set, Chrome OS login screen uses |EmbeddedSignin| endpoint |
| 111 // of GAIA. | 111 // of GAIA. |
| 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 kEnableNewQPInputView[] = "enable-new-qp-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 disabled. | 122 // keyboard will be disabled. |
| 123 const char kDisablePhysicalKeyboardAutocorrect[] = | 123 const char kDisablePhysicalKeyboardAutocorrect[] = |
| 124 "disable-physical-keyboard-autocorrect"; | 124 "disable-physical-keyboard-autocorrect"; |
| 125 | 125 |
| 126 // If this switch is set, the voice input will be disabled. | 126 // If this switch is set, the voice input will be disabled. |
| 127 const char kDisableVoiceInput[] = "disable-voice-input"; | 127 const char kDisableVoiceInput[] = "disable-voice-input"; |
| 128 | 128 |
| 129 // Enabled sharing assets for installed default apps. | 129 // Enabled sharing assets for installed default apps. |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 } | 329 } |
| 330 if (option == "3") { | 330 if (option == "3") { |
| 331 return base::MemoryPressureObserverChromeOS:: | 331 return base::MemoryPressureObserverChromeOS:: |
| 332 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 332 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
| 333 } | 333 } |
| 334 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; | 334 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; |
| 335 } | 335 } |
| 336 | 336 |
| 337 } // namespace switches | 337 } // namespace switches |
| 338 } // namespace chromeos | 338 } // namespace chromeos |
| OLD | NEW |