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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // such as battery level updates. | 141 // such as battery level updates. |
142 const char kAshHideNotificationsForFactory[] = | 142 const char kAshHideNotificationsForFactory[] = |
143 "ash-hide-notifications-for-factory"; | 143 "ash-hide-notifications-for-factory"; |
144 | 144 |
145 // Sets a window size, optional position, and optional scale factor. | 145 // Sets a window size, optional position, and optional scale factor. |
146 // "1024x768" creates a window of size 1024x768. | 146 // "1024x768" creates a window of size 1024x768. |
147 // "100+200-1024x768" positions the window at 100,200. | 147 // "100+200-1024x768" positions the window at 100,200. |
148 // "1024x768*2" sets the scale factor to 2 for a high DPI display. | 148 // "1024x768*2" sets the scale factor to 2 for a high DPI display. |
149 const char kAshHostWindowBounds[] = "ash-host-window-bounds"; | 149 const char kAshHostWindowBounds[] = "ash-host-window-bounds"; |
150 | 150 |
151 // Hides the small tab indicators at the top of the screen during immersive | |
152 // fullscreen mode. | |
153 const char kAshImmersiveHideTabIndicators[] = | |
154 "ash-immersive-hide-tab-indicators"; | |
155 | |
156 // OEM-supplied wallpaper (as paths to trusted, non-user-writable JPEG files). | 151 // OEM-supplied wallpaper (as paths to trusted, non-user-writable JPEG files). |
157 const char kAshOemWallpaperLarge[] = "ash-oem-wallpaper-large"; | 152 const char kAshOemWallpaperLarge[] = "ash-oem-wallpaper-large"; |
158 const char kAshOemWallpaperSmall[] = "ash-oem-wallpaper-small"; | 153 const char kAshOemWallpaperSmall[] = "ash-oem-wallpaper-small"; |
159 | 154 |
160 // Specifies the layout mode and offsets for the secondary display for | 155 // Specifies the layout mode and offsets for the secondary display for |
161 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, | 156 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, |
162 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display | 157 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display |
163 // is positioned on the right with -100 offset. (above than primary) | 158 // is positioned on the right with -100 offset. (above than primary) |
164 const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout"; | 159 const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout"; |
165 | 160 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 } | 236 } |
242 | 237 |
243 bool UseUsbChargerNotification() { | 238 bool UseUsbChargerNotification() { |
244 return !CommandLine::ForCurrentProcess()-> | 239 return !CommandLine::ForCurrentProcess()-> |
245 HasSwitch(kAshDisableUsbChargerNotification); | 240 HasSwitch(kAshDisableUsbChargerNotification); |
246 } | 241 } |
247 #endif | 242 #endif |
248 | 243 |
249 } // namespace switches | 244 } // namespace switches |
250 } // namespace ash | 245 } // namespace ash |
OLD | NEW |