| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 const char kAshEnableMagnifierKeyScroller[] = | 51 const char kAshEnableMagnifierKeyScroller[] = |
| 52 "ash-enable-magnifier-key-scroller"; | 52 "ash-enable-magnifier-key-scroller"; |
| 53 | 53 |
| 54 // Enables unified desktop mode. | 54 // Enables unified desktop mode. |
| 55 const char kAshEnableUnifiedDesktop[] = "ash-enable-unified-desktop"; | 55 const char kAshEnableUnifiedDesktop[] = "ash-enable-unified-desktop"; |
| 56 | 56 |
| 57 // Enables the palette next to the status area. | 57 // Enables the palette next to the status area. |
| 58 const char kAshEnablePalette[] = "ash-enable-palette"; | 58 const char kAshEnablePalette[] = "ash-enable-palette"; |
| 59 | 59 |
| 60 // Enables experimental ash palette tools. | 60 // Enables experimental ash palette tools. |
| 61 const char kAshEnableExperimentalPaletteFeatures[] = | 61 const char kAshEnablePaletteExperimentalFeatures[] = |
| 62 "ash-enable-experimental-palette-features"; | 62 "ash-enable-palette-experimental-features"; |
| 63 |
| 64 // Enables the palette on every display, instead of only the internal one. |
| 65 const char kAshEnablePaletteOnAllDisplays[] = |
| 66 "ash-enable-palette-on-all-displays"; |
| 67 |
| 63 #endif | 68 #endif |
| 64 | 69 |
| 65 // Enables the observation of accelerometer events to enter touch-view mode. | 70 // Enables the observation of accelerometer events to enter touch-view mode. |
| 66 const char kAshEnableTouchView[] = "enable-touchview"; | 71 const char kAshEnableTouchView[] = "enable-touchview"; |
| 67 | 72 |
| 68 // Enables mirrored screen. | 73 // Enables mirrored screen. |
| 69 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; | 74 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; |
| 70 | 75 |
| 71 // Enables / disables a stable order between overview sessions, independent of | 76 // Enables / disables a stable order between overview sessions, independent of |
| 72 // the MRU order which attempts to preserve relative window positions. | 77 // the MRU order which attempts to preserve relative window positions. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 145 |
| 141 return base::SysInfo::IsRunningOnChromeOS() || | 146 return base::SysInfo::IsRunningOnChromeOS() || |
| 142 base::CommandLine::ForCurrentProcess()->HasSwitch( | 147 base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 143 kAshConstrainPointerToRoot); | 148 kAshConstrainPointerToRoot); |
| 144 } | 149 } |
| 145 | 150 |
| 146 #endif | 151 #endif |
| 147 | 152 |
| 148 } // namespace switches | 153 } // namespace switches |
| 149 } // namespace ash | 154 } // namespace ash |
| OLD | NEW |