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/ash_switches.h" | 5 #include "ash/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 observation of accelerometer events to enter touch-view mode. | 57 // Enables the observation of accelerometer events to enter touch-view mode. |
58 const char kAshEnableTouchView[] = "enable-touchview"; | 58 const char kAshEnableTouchView[] = "enable-touchview"; |
59 #endif | 59 #endif |
60 | 60 |
| 61 // Enables / disables Material Design mode for the Chrome OS system UI. |
| 62 const char kAshEnableMaterialDesign[] = "ash-enable-md"; |
| 63 const char kAshDisableMaterialDesign[] = "ash-disable-md"; |
| 64 |
61 // Enables mirrored screen. | 65 // Enables mirrored screen. |
62 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; | 66 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; |
63 | 67 |
64 // Enables / disables a stable order between overview sessions, independent of | 68 // Enables / disables a stable order between overview sessions, independent of |
65 // the MRU order which attempts to preserve relative window positions. | 69 // the MRU order which attempts to preserve relative window positions. |
66 const char kAshDisableStableOverviewOrder[] = | 70 const char kAshDisableStableOverviewOrder[] = |
67 "ash-disable-stable-overview-order"; | 71 "ash-disable-stable-overview-order"; |
68 const char kAshEnableStableOverviewOrder[] = "ash-enable-stable-overview-order"; | 72 const char kAshEnableStableOverviewOrder[] = "ash-enable-stable-overview-order"; |
69 | 73 |
70 // Enables software based mirroring. | 74 // Enables software based mirroring. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 133 |
130 return base::SysInfo::IsRunningOnChromeOS() || | 134 return base::SysInfo::IsRunningOnChromeOS() || |
131 base::CommandLine::ForCurrentProcess()->HasSwitch( | 135 base::CommandLine::ForCurrentProcess()->HasSwitch( |
132 kAshConstrainPointerToRoot); | 136 kAshConstrainPointerToRoot); |
133 } | 137 } |
134 | 138 |
135 #endif | 139 #endif |
136 | 140 |
137 } // namespace switches | 141 } // namespace switches |
138 } // namespace ash | 142 } // namespace ash |
OLD | NEW |