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

Side by Side Diff: ash/ash_switches.cc

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

Powered by Google App Engine
This is Rietveld 408576698