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 | 8 |
9 namespace ash { | 9 namespace ash { |
10 namespace switches { | 10 namespace switches { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // Always enable brightness control. Used by machines that don't report their | 92 // Always enable brightness control. Used by machines that don't report their |
93 // main monitor as internal. | 93 // main monitor as internal. |
94 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; | 94 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; |
95 | 95 |
96 // Disable ability to dock windows at the desktop edge. | 96 // Disable ability to dock windows at the desktop edge. |
97 const char kAshDisableDockedWindows[] = "ash-disable-docked-windows"; | 97 const char kAshDisableDockedWindows[] = "ash-disable-docked-windows"; |
98 | 98 |
99 // Disable dragging items off the shelf to unpin them. | 99 // Disable dragging items off the shelf to unpin them. |
100 const char kAshDisableDragOffShelf[] = "ash-disable-drag-off-shelf"; | 100 const char kAshDisableDragOffShelf[] = "ash-disable-drag-off-shelf"; |
101 | 101 |
| 102 // Enables putting all windows into immersive fullscreen via <F4>. |
| 103 const char kAshEnableImmersiveFullscreenForAllWindows[] = |
| 104 "ash-enable-immersive-all-windows"; |
| 105 |
102 #if defined(OS_CHROMEOS) | 106 #if defined(OS_CHROMEOS) |
103 // Enables the "full multi profile mode" - as it was in M-31. | 107 // Enables the "full multi profile mode" - as it was in M-31. |
104 const char kAshEnableFullMultiProfileMode[] = | 108 const char kAshEnableFullMultiProfileMode[] = |
105 "ash-enable-full-multi-profile-mode"; | 109 "ash-enable-full-multi-profile-mode"; |
106 #endif | 110 #endif |
107 | 111 |
108 #if defined(OS_LINUX) | 112 #if defined(OS_LINUX) |
109 // Enable memory monitoring. | 113 // Enable memory monitoring. |
110 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; | 114 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; |
111 #endif | 115 #endif |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 } | 255 } |
252 | 256 |
253 bool UseUsbChargerNotification() { | 257 bool UseUsbChargerNotification() { |
254 return !CommandLine::ForCurrentProcess()-> | 258 return !CommandLine::ForCurrentProcess()-> |
255 HasSwitch(kAshDisableUsbChargerNotification); | 259 HasSwitch(kAshDisableUsbChargerNotification); |
256 } | 260 } |
257 #endif | 261 #endif |
258 | 262 |
259 } // namespace switches | 263 } // namespace switches |
260 } // namespace ash | 264 } // namespace ash |
OLD | NEW |