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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 10911222: Chrome OS should open to empty desktop when session restore is empty. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make switch available on all platforms Created 8 years, 3 months 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 | « chrome/common/chrome_switches.h ('k') | no next file » | 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; 208 const char kCrashOnHangThreads[] = "crash-on-hang-threads";
209 209
210 // Causes the browser process to crash if the number of browser threads that 210 // Causes the browser process to crash if the number of browser threads that
211 // are responding is equal to the given number. 211 // are responding is equal to the given number.
212 // 212 //
213 // For example: 213 // For example:
214 // --crash-on-live=1 --> Crash if only one thread is responsive and all 214 // --crash-on-live=1 --> Crash if only one thread is responsive and all
215 // other threads are not responsive. 215 // other threads are not responsive.
216 const char kCrashOnLive[] = "crash-on-live"; 216 const char kCrashOnLive[] = "crash-on-live";
217 217
218 // Some platforms like ChromeOS default to empty desktop.
219 // Browser tests may need to add this switch so that at least one browser
220 // instance is created on startup.
221 // TODO(nkostylev): Investigate if this switch could be removed.
222 // (http://crbug.com/148675)
223 const char kCreateBrowserOnStartupForTests[] =
224 "create-browser-on-startup-for-tests";
225
218 // Path to the inspector files on disk (allows reloading of devtool files 226 // Path to the inspector files on disk (allows reloading of devtool files
219 // without having to restart the browser). 227 // without having to restart the browser).
220 const char kDebugDevToolsFrontend[] = "debug-devtools-frontend"; 228 const char kDebugDevToolsFrontend[] = "debug-devtools-frontend";
221 229
222 // Enables a frame context menu item that toggles the frame in and out of glass 230 // Enables a frame context menu item that toggles the frame in and out of glass
223 // mode (Windows Vista and up only). 231 // mode (Windows Vista and up only).
224 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; 232 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle";
225 233
226 // Enables support to debug printing subsystem. 234 // Enables support to debug printing subsystem.
227 const char kDebugPrint[] = "debug-print"; 235 const char kDebugPrint[] = "debug-print";
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 1584
1577 // ----------------------------------------------------------------------------- 1585 // -----------------------------------------------------------------------------
1578 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1586 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1579 // 1587 //
1580 // You were going to just dump your switches here, weren't you? Instead, please 1588 // You were going to just dump your switches here, weren't you? Instead, please
1581 // put them in alphabetical order above, or in order inside the appropriate 1589 // put them in alphabetical order above, or in order inside the appropriate
1582 // ifdef at the bottom. The order should match the header. 1590 // ifdef at the bottom. The order should match the header.
1583 // ----------------------------------------------------------------------------- 1591 // -----------------------------------------------------------------------------
1584 1592
1585 } // namespace switches 1593 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698