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

Side by Side Diff: ash/ash_switches.cc

Issue 68513005: ash: Remove old OEM wallpaper flags. (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
« no previous file with comments | « ash/ash_switches.h ('k') | ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // such as battery level updates. 136 // such as battery level updates.
137 const char kAshHideNotificationsForFactory[] = 137 const char kAshHideNotificationsForFactory[] =
138 "ash-hide-notifications-for-factory"; 138 "ash-hide-notifications-for-factory";
139 139
140 // Sets a window size, optional position, and optional scale factor. 140 // Sets a window size, optional position, and optional scale factor.
141 // "1024x768" creates a window of size 1024x768. 141 // "1024x768" creates a window of size 1024x768.
142 // "100+200-1024x768" positions the window at 100,200. 142 // "100+200-1024x768" positions the window at 100,200.
143 // "1024x768*2" sets the scale factor to 2 for a high DPI display. 143 // "1024x768*2" sets the scale factor to 2 for a high DPI display.
144 const char kAshHostWindowBounds[] = "ash-host-window-bounds"; 144 const char kAshHostWindowBounds[] = "ash-host-window-bounds";
145 145
146 // OEM-supplied wallpaper (as paths to trusted, non-user-writable JPEG files).
147 // TODO(derat): Remove these switches once OEM wallpaper is passed via
148 // kAshDefaultWallpaper{Large,Small} and kAshDefaultWallpaperIsOem is set
149 // correctly: http://crbug.com/315267
150 const char kAshOemWallpaperLarge[] = "ash-oem-wallpaper-large";
151 const char kAshOemWallpaperSmall[] = "ash-oem-wallpaper-small";
152
153 // Specifies the delay in milliseconds before beginning overview mode after 146 // Specifies the delay in milliseconds before beginning overview mode after
154 // getting an alt tab keypress. 147 // getting an alt tab keypress.
155 const char kAshOverviewDelayOnAltTab[] = "ash-overview-delay-on-alt-tab"; 148 const char kAshOverviewDelayOnAltTab[] = "ash-overview-delay-on-alt-tab";
156 149
157 // Specifies the layout mode and offsets for the secondary display for 150 // Specifies the layout mode and offsets for the secondary display for
158 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, 151 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT,
159 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display 152 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display
160 // is positioned on the right with -100 offset. (above than primary) 153 // is positioned on the right with -100 offset. (above than primary)
161 const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout"; 154 const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout";
162 155
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 } 235 }
243 236
244 bool UseUsbChargerNotification() { 237 bool UseUsbChargerNotification() {
245 return !CommandLine::ForCurrentProcess()-> 238 return !CommandLine::ForCurrentProcess()->
246 HasSwitch(kAshDisableUsbChargerNotification); 239 HasSwitch(kAshDisableUsbChargerNotification);
247 } 240 }
248 #endif 241 #endif
249 242
250 } // namespace switches 243 } // namespace switches
251 } // namespace ash 244 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698