| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #if defined(OS_CHROMEOS) | 46 #if defined(OS_CHROMEOS) |
| 47 // Enables fullscreen app list if Ash is in maximize mode. | 47 // Enables fullscreen app list if Ash is in maximize mode. |
| 48 const char kAshEnableFullscreenAppList[] = "ash-enable-fullscreen-app-list"; | 48 const char kAshEnableFullscreenAppList[] = "ash-enable-fullscreen-app-list"; |
| 49 | 49 |
| 50 // Enables key bindings to scroll magnified screen. | 50 // Enables key bindings to scroll magnified screen. |
| 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 |
| 57 // Enables the palette next to the status area. |
| 58 const char kAshEnablePalette[] = "ash-enable-palette"; |
| 56 #endif | 59 #endif |
| 57 | 60 |
| 58 // Enables the observation of accelerometer events to enter touch-view mode. | 61 // Enables the observation of accelerometer events to enter touch-view mode. |
| 59 const char kAshEnableTouchView[] = "enable-touchview"; | 62 const char kAshEnableTouchView[] = "enable-touchview"; |
| 60 | 63 |
| 61 // Enables mirrored screen. | 64 // Enables mirrored screen. |
| 62 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; | 65 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; |
| 63 | 66 |
| 64 // Enables / disables a stable order between overview sessions, independent of | 67 // Enables / disables a stable order between overview sessions, independent of |
| 65 // the MRU order which attempts to preserve relative window positions. | 68 // the MRU order which attempts to preserve relative window positions. |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 145 |
| 143 return base::SysInfo::IsRunningOnChromeOS() || | 146 return base::SysInfo::IsRunningOnChromeOS() || |
| 144 base::CommandLine::ForCurrentProcess()->HasSwitch( | 147 base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 145 kAshConstrainPointerToRoot); | 148 kAshConstrainPointerToRoot); |
| 146 } | 149 } |
| 147 | 150 |
| 148 #endif | 151 #endif |
| 149 | 152 |
| 150 } // namespace switches | 153 } // namespace switches |
| 151 } // namespace ash | 154 } // namespace ash |
| OLD | NEW |