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 namespace chromeos { | 9 namespace chromeos { |
10 namespace switches { | 10 namespace switches { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 // If this switch is set, Chrome OS login screen uses |EmbeddedSignin| endpoint | 102 // If this switch is set, Chrome OS login screen uses |EmbeddedSignin| endpoint |
103 // of GAIA. | 103 // of GAIA. |
104 const char kEnableEmbeddedSignin[] = "enable-embedded-signin"; | 104 const char kEnableEmbeddedSignin[] = "enable-embedded-signin"; |
105 | 105 |
106 // If this switch is set, the new Korean IME will be available in | 106 // If this switch is set, the new Korean IME will be available in |
107 // chrome://settings/languages. | 107 // chrome://settings/languages. |
108 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; | 108 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; |
109 | 109 |
110 // If this switch is set, the input view keyboard will be in materia design. | 110 // If this switch is set, the input view keyboard will be in materia design. |
111 const char kEnableNewQPInputView[] = "enable-new-qp-input-view"; | 111 const char kEnableNewMDInputView[] = "enable-new-md-input-view"; |
112 | 112 |
113 // If this switch is set, the US keyboard input method will provide suggestions | 113 // If this switch is set, the US keyboard input method will provide suggestions |
114 // as typing on physical keyboard. | 114 // as typing on physical keyboard. |
115 const char kEnablePhysicalKeyboardAutocorrect[] = | 115 const char kEnablePhysicalKeyboardAutocorrect[] = |
116 "enable-physical-keyboard-autocorrect"; | 116 "enable-physical-keyboard-autocorrect"; |
117 | 117 |
118 // Enabled sharing assets for installed default apps. | 118 // Enabled sharing assets for installed default apps. |
119 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; | 119 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; |
120 | 120 |
121 // Enables notifications about captive portals in session. | 121 // Enables notifications about captive portals in session. |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 // Bypass proxy for captive portal authorization. | 284 // Bypass proxy for captive portal authorization. |
285 const char kEnableCaptivePortalBypassProxy[] = | 285 const char kEnableCaptivePortalBypassProxy[] = |
286 "enable-captive-portal-bypass-proxy"; | 286 "enable-captive-portal-bypass-proxy"; |
287 | 287 |
288 bool WakeOnWifiEnabled() { | 288 bool WakeOnWifiEnabled() { |
289 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi); | 289 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi); |
290 } | 290 } |
291 | 291 |
292 } // namespace switches | 292 } // namespace switches |
293 } // namespace chromeos | 293 } // namespace chromeos |
OLD | NEW |