Chromium Code Reviews| 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 "ash/common/ash_switches.h" | 5 #include "ash/common/ash_switches.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 const char kAshEnableStableOverviewOrder[] = "ash-enable-stable-overview-order"; | 68 const char kAshEnableStableOverviewOrder[] = "ash-enable-stable-overview-order"; |
| 69 | 69 |
| 70 // Enables software based mirroring. | 70 // Enables software based mirroring. |
| 71 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; | 71 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; |
| 72 | 72 |
| 73 // Enables touch view testing. | 73 // Enables touch view testing. |
| 74 // TODO(skuhne): Remove TOGGLE_TOUCH_VIEW_TESTING accelerator once this | 74 // TODO(skuhne): Remove TOGGLE_TOUCH_VIEW_TESTING accelerator once this |
| 75 // flag is removed. | 75 // flag is removed. |
| 76 const char kAshEnableTouchViewTesting[] = "ash-enable-touch-view-testing"; | 76 const char kAshEnableTouchViewTesting[] = "ash-enable-touch-view-testing"; |
| 77 | 77 |
| 78 // Enables the window cycling UI (more visual feedback for alt-tab). | |
| 79 const char kAshEnableWindowCycleUi[] = "ash-enable-window-cycle-ui"; | |
|
varkha
2016/07/07 17:40:28
Not sure if we need this or could just use ash-md=
Evan Stade
2016/07/09 00:35:05
I think this is useful for when we want to launch
| |
| 80 | |
| 78 // When this flag is set, system sounds will not be played. | 81 // When this flag is set, system sounds will not be played. |
| 79 const char kAshDisableSystemSounds[] = "ash-disable-system-sounds"; | 82 const char kAshDisableSystemSounds[] = "ash-disable-system-sounds"; |
| 80 | 83 |
| 81 // When this flag is set, system sounds will be played whether the | 84 // When this flag is set, system sounds will be played whether the |
| 82 // ChromeVox is enabled or not. | 85 // ChromeVox is enabled or not. |
| 83 const char kAshEnableSystemSounds[] = "ash-enable-system-sounds"; | 86 const char kAshEnableSystemSounds[] = "ash-enable-system-sounds"; |
| 84 | 87 |
| 85 // Hides notifications that are irrelevant to Chrome OS device factory testing, | 88 // Hides notifications that are irrelevant to Chrome OS device factory testing, |
| 86 // such as battery level updates. | 89 // such as battery level updates. |
| 87 const char kAshHideNotificationsForFactory[] = | 90 const char kAshHideNotificationsForFactory[] = |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 136 | 139 |
| 137 return base::SysInfo::IsRunningOnChromeOS() || | 140 return base::SysInfo::IsRunningOnChromeOS() || |
| 138 base::CommandLine::ForCurrentProcess()->HasSwitch( | 141 base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 139 kAshConstrainPointerToRoot); | 142 kAshConstrainPointerToRoot); |
| 140 } | 143 } |
| 141 | 144 |
| 142 #endif | 145 #endif |
| 143 | 146 |
| 144 } // namespace switches | 147 } // namespace switches |
| 145 } // namespace ash | 148 } // namespace ash |
| OLD | NEW |