Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: ash/ash_switches.cc

Issue 59043013: Add flag to enable immersive fullscreen for v2 apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 239 }
236 240
237 bool UseUsbChargerNotification() { 241 bool UseUsbChargerNotification() {
238 return !CommandLine::ForCurrentProcess()-> 242 return !CommandLine::ForCurrentProcess()->
239 HasSwitch(kAshDisableUsbChargerNotification); 243 HasSwitch(kAshDisableUsbChargerNotification);
240 } 244 }
241 #endif 245 #endif
242 246
243 } // namespace switches 247 } // namespace switches
244 } // namespace ash 248 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698