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 namespace ash { | 7 namespace ash { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Enables an animated transition from the boot splash screen (Chrome logo on a | 10 // Enables an animated transition from the boot splash screen (Chrome logo on a |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Disable new network handlers in the status area. | 57 // Disable new network handlers in the status area. |
58 const char kAshDisableNewNetworkStatusArea[] = | 58 const char kAshDisableNewNetworkStatusArea[] = |
59 "ash-disable-new-network-status-area"; | 59 "ash-disable-new-network-status-area"; |
60 | 60 |
61 // Disable the per application grouping version of the launcher. | 61 // Disable the per application grouping version of the launcher. |
62 const char kAshDisablePerAppLauncher[] = "ash-disable-per-app-launcher"; | 62 const char kAshDisablePerAppLauncher[] = "ash-disable-per-app-launcher"; |
63 | 63 |
64 // Disables display rotation. | 64 // Disables display rotation. |
65 const char kAshDisableDisplayRotation[] = "ash-disable-display-rotation"; | 65 const char kAshDisableDisplayRotation[] = "ash-disable-display-rotation"; |
66 | 66 |
| 67 // Disable immersive fullscreen mode, regardless of default setting. |
| 68 const char kAshDisableImmersiveFullscreen[] = |
| 69 "ash-disable-immersive-fullscreen"; |
| 70 |
67 // Disables ui scaling. | 71 // Disables ui scaling. |
68 const char kAshDisableUIScaling[] = "ash-disable-ui-scaling"; | 72 const char kAshDisableUIScaling[] = "ash-disable-ui-scaling"; |
69 | 73 |
70 // Enable advanced gestures (e.g. for window management). | 74 // Enable advanced gestures (e.g. for window management). |
71 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; | 75 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; |
72 | 76 |
73 // Always enable brightness control. Used by machines that don't report their | 77 // Always enable brightness control. Used by machines that don't report their |
74 // main monitor as internal. | 78 // main monitor as internal. |
75 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; | 79 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; |
76 | 80 |
| 81 // Enable immersive fullscreen mode, regardless of default setting. |
| 82 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; |
| 83 |
77 #if defined(OS_LINUX) | 84 #if defined(OS_LINUX) |
78 // Enable memory monitoring. | 85 // Enable memory monitoring. |
79 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; | 86 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; |
80 #endif | 87 #endif |
81 | 88 |
82 // Enables the Oak tree viewer. | 89 // Enables the Oak tree viewer. |
83 const char kAshEnableOak[] = "ash-enable-oak"; | 90 const char kAshEnableOak[] = "ash-enable-oak"; |
84 | 91 |
85 // Enables showing the tray bubble by dragging on the shelf. | 92 // Enables showing the tray bubble by dragging on the shelf. |
86 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; | 93 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; |
87 | 94 |
88 // Enable workspace switching via a three finger vertical scroll. | 95 // Enable workspace switching via a three finger vertical scroll. |
89 const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing"; | 96 const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing"; |
90 | 97 |
91 // Sets a window size, optional position, and optional scale factor. | 98 // Sets a window size, optional position, and optional scale factor. |
92 // "1024x768" creates a window of size 1024x768. | 99 // "1024x768" creates a window of size 1024x768. |
93 // "100+200-1024x768" positions the window at 100,200. | 100 // "100+200-1024x768" positions the window at 100,200. |
94 // "1024x768*2" sets the scale factor to 2 for a high DPI display. | 101 // "1024x768*2" sets the scale factor to 2 for a high DPI display. |
95 const char kAshHostWindowBounds[] = "ash-host-window-bounds"; | 102 const char kAshHostWindowBounds[] = "ash-host-window-bounds"; |
96 | 103 |
97 // Enable immersive fullscreen mode. | |
98 const char kAshImmersiveFullscreen[] = "ash-immersive-fullscreen"; | |
99 | |
100 // Hides the small tab indicators at the top of the screen during immersive | 104 // Hides the small tab indicators at the top of the screen during immersive |
101 // fullscreen mode. | 105 // fullscreen mode. |
102 const char kAshImmersiveHideTabIndicators[] = | 106 const char kAshImmersiveHideTabIndicators[] = |
103 "ash-immersive-hide-tab-indicators"; | 107 "ash-immersive-hide-tab-indicators"; |
104 | 108 |
105 // Specifies the internal display's ui scale. | 109 // Specifies the internal display's ui scale. |
106 const char kAshInternalDisplayUIScale[] = "ash-internal-display-ui-scale"; | 110 const char kAshInternalDisplayUIScale[] = "ash-internal-display-ui-scale"; |
107 | 111 |
108 // Specifies the layout mode and offsets for the secondary display for | 112 // Specifies the layout mode and offsets for the secondary display for |
109 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, | 113 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, |
(...skipping 12 matching lines...) Expand all Loading... |
122 | 126 |
123 #if defined(OS_WIN) | 127 #if defined(OS_WIN) |
124 // Force Ash to open its root window on the desktop, even on Windows 8 where | 128 // Force Ash to open its root window on the desktop, even on Windows 8 where |
125 // it would normally end up in metro. | 129 // it would normally end up in metro. |
126 const char kForceAshToDesktop[] = "ash-force-desktop"; | 130 const char kForceAshToDesktop[] = "ash-force-desktop"; |
127 ; | 131 ; |
128 #endif | 132 #endif |
129 | 133 |
130 } // namespace switches | 134 } // namespace switches |
131 } // namespace ash | 135 } // namespace ash |
OLD | NEW |