| 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 <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/feature_list.h" | 10 #include "base/feature_list.h" |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 // Enables action handler apps (e.g. creating new notes) on lock screen. | 271 // Enables action handler apps (e.g. creating new notes) on lock screen. |
| 272 const char kEnableLockScreenApps[] = "enable-lock-screen-apps"; | 272 const char kEnableLockScreenApps[] = "enable-lock-screen-apps"; |
| 273 | 273 |
| 274 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode | 274 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode |
| 275 // rather than the kiosk app mode. | 275 // rather than the kiosk app mode. |
| 276 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 276 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 277 | 277 |
| 278 // Enables tethering to nearby LTE devices. | 278 // Enables tethering to nearby LTE devices. |
| 279 const char kEnableTether[] = "enable-tether"; | 279 const char kEnableTether[] = "enable-tether"; |
| 280 | 280 |
| 281 // Overrides Tether with stub service. Provide integer arguments for the number |
| 282 // of fake networks desired, e.g. 'tether-stub=2'. |
| 283 const char kTetherStub[] = "tether-stub"; |
| 284 |
| 281 // Disables material design OOBE UI. | 285 // Disables material design OOBE UI. |
| 282 const char kDisableMdOobe[] = "disable-md-oobe"; | 286 const char kDisableMdOobe[] = "disable-md-oobe"; |
| 283 | 287 |
| 284 // Enables notifications about captive portals in session. | 288 // Enables notifications about captive portals in session. |
| 285 const char kEnableNetworkPortalNotification[] = | 289 const char kEnableNetworkPortalNotification[] = |
| 286 "enable-network-portal-notification"; | 290 "enable-network-portal-notification"; |
| 287 | 291 |
| 288 // Enables suggestions while typing on a physical keyboard. | 292 // Enables suggestions while typing on a physical keyboard. |
| 289 const char kEnablePhysicalKeyboardAutocorrect[] = | 293 const char kEnablePhysicalKeyboardAutocorrect[] = |
| 290 "enable-physical-keyboard-autocorrect"; | 294 "enable-physical-keyboard-autocorrect"; |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 } | 547 } |
| 544 | 548 |
| 545 bool IsVoiceInteractionEnabled() { | 549 bool IsVoiceInteractionEnabled() { |
| 546 return base::CommandLine::ForCurrentProcess()->HasSwitch( | 550 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 547 kEnableVoiceInteraction) || | 551 kEnableVoiceInteraction) || |
| 548 base::FeatureList::IsEnabled(kVoiceInteractionFeature); | 552 base::FeatureList::IsEnabled(kVoiceInteractionFeature); |
| 549 } | 553 } |
| 550 | 554 |
| 551 } // namespace switches | 555 } // namespace switches |
| 552 } // namespace chromeos | 556 } // namespace chromeos |
| OLD | NEW |