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/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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 87 // Always enable brightness control. Used by machines that don't report their | 87 // Always enable brightness control. Used by machines that don't report their |
| 88 // main monitor as internal. | 88 // main monitor as internal. |
| 89 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; | 89 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; |
| 90 | 90 |
| 91 // Enable the dock area on a desktop. | 91 // Enable the dock area on a desktop. |
| 92 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; | 92 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; |
| 93 | 93 |
| 94 // Disable dragging items off the shelf to unpin them. | 94 // Disable dragging items off the shelf to unpin them. |
| 95 const char kAshDisableDragOffShelf[] = "ash-disable-drag-off-shelf"; | 95 const char kAshDisableDragOffShelf[] = "ash-disable-drag-off-shelf"; |
| 96 | 96 |
| 97 // Enables putting apps into immersive fullscreen via <F4>. | |
| 98 const char kAshEnableAppImmersiveFullscreen[] = | |
| 99 "ash-enable-app-immersive-fullscreen"; | |
|
oshima
2013/11/07 18:56:13
shouldn't this be in apps/switches? (ash doesn't h
pkotwicz
2013/11/07 22:21:48
It should probably stay here because the switch wi
oshima
2013/11/08 00:26:29
If that's the case, this should be in chrome/commo
pkotwicz
2013/11/08 01:16:57
I do not think that we want to eventually support
oshima
2013/11/08 18:22:29
Ash should not know about apps v1/v2 stuff, and th
| |
| 100 | |
| 97 #if defined(OS_CHROMEOS) | 101 #if defined(OS_CHROMEOS) |
| 98 // Enables the "full multi profile mode" - as it was in M-31. | 102 // Enables the "full multi profile mode" - as it was in M-31. |
| 99 const char kAshEnableFullMultiProfileMode[] = | 103 const char kAshEnableFullMultiProfileMode[] = |
| 100 "ash-enable-full-multi-profile-mode"; | 104 "ash-enable-full-multi-profile-mode"; |
| 101 #endif | 105 #endif |
| 102 | 106 |
| 103 #if defined(OS_LINUX) | 107 #if defined(OS_LINUX) |
| 104 // Enable memory monitoring. | 108 // Enable memory monitoring. |
| 105 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; | 109 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; |
| 106 #endif | 110 #endif |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 230 } | 234 } |
| 231 | 235 |
| 232 bool UseUsbChargerNotification() { | 236 bool UseUsbChargerNotification() { |
| 233 return !CommandLine::ForCurrentProcess()-> | 237 return !CommandLine::ForCurrentProcess()-> |
| 234 HasSwitch(kAshDisableUsbChargerNotification); | 238 HasSwitch(kAshDisableUsbChargerNotification); |
| 235 } | 239 } |
| 236 #endif | 240 #endif |
| 237 | 241 |
| 238 } // namespace switches | 242 } // namespace switches |
| 239 } // namespace ash | 243 } // namespace ash |
| OLD | NEW |