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

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

Issue 3202004: Switch kRestoreBackgroundContents to kDisableRestoreBackgroundContents (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Eliminated append of kDisableRestoreBackgroundContents Created 10 years, 4 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
« 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // disable that check. This switch is used during automated testing. 210 // disable that check. This switch is used during automated testing.
211 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 211 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
212 212
213 // Disable remote web font support. SVG font should always work whether 213 // Disable remote web font support. SVG font should always work whether
214 // this option is specified or not. 214 // this option is specified or not.
215 const char kDisableRemoteFonts[] = "disable-remote-fonts"; 215 const char kDisableRemoteFonts[] = "disable-remote-fonts";
216 216
217 // Turns off the accessibility in the renderer. 217 // Turns off the accessibility in the renderer.
218 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; 218 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility";
219 219
220 // Prevents the URLs of BackgroundContents from being remembered and re-launched
221 // when the browser restarts.
222 const char kDisableRestoreBackgroundContents[] =
223 "disable-restore-background-contents";
224
220 // Disable session storage. 225 // Disable session storage.
221 const char kDisableSessionStorage[] = "disable-session-storage"; 226 const char kDisableSessionStorage[] = "disable-session-storage";
222 227
223 // Enable shared workers. Functionality not yet complete. 228 // Enable shared workers. Functionality not yet complete.
224 const char kDisableSharedWorkers[] = "disable-shared-workers"; 229 const char kDisableSharedWorkers[] = "disable-shared-workers";
225 230
226 // Disable site-specific tailoring to compatibility issues in WebKit. 231 // Disable site-specific tailoring to compatibility issues in WebKit.
227 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; 232 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks";
228 233
229 // Disable False Start in SSL and TLS connections. 234 // Disable False Start in SSL and TLS connections.
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 849
845 // Causes the renderer process to crash on launch. 850 // Causes the renderer process to crash on launch.
846 const char kRendererCrashTest[] = "renderer-crash-test"; 851 const char kRendererCrashTest[] = "renderer-crash-test";
847 852
848 // Causes the process to run as renderer instead of as browser. 853 // Causes the process to run as renderer instead of as browser.
849 const char kRendererProcess[] = "renderer"; 854 const char kRendererProcess[] = "renderer";
850 855
851 // Causes the renderer process to display a dialog on launch. 856 // Causes the renderer process to display a dialog on launch.
852 const char kRendererStartupDialog[] = "renderer-startup-dialog"; 857 const char kRendererStartupDialog[] = "renderer-startup-dialog";
853 858
854 // Causes the URLs of BackgroundContents to be remembered and re-launched when
855 // the browser restarts.
856 const char kRestoreBackgroundContents[] = "restore-background-contents";
857
858 // Indicates the last session should be restored on startup. This overrides 859 // Indicates the last session should be restored on startup. This overrides
859 // the preferences value and is primarily intended for testing. The value of 860 // the preferences value and is primarily intended for testing. The value of
860 // this switch is the number of tabs to wait until loaded before 861 // this switch is the number of tabs to wait until loaded before
861 // 'load completed' is sent to the ui_test. 862 // 'load completed' is sent to the ui_test.
862 const char kRestoreLastSession[] = "restore-last-session"; 863 const char kRestoreLastSession[] = "restore-last-session";
863 864
864 // Runs the plugin processes inside the sandbox. 865 // Runs the plugin processes inside the sandbox.
865 const char kSafePlugins[] = "safe-plugins"; 866 const char kSafePlugins[] = "safe-plugins";
866 867
867 // Select the safe-browsing database storage. "old" for the original 868 // Select the safe-browsing database storage. "old" for the original
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 1198
1198 // ----------------------------------------------------------------------------- 1199 // -----------------------------------------------------------------------------
1199 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1200 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1200 // 1201 //
1201 // You were going to just dump your switches here, weren't you? Instead, 1202 // You were going to just dump your switches here, weren't you? Instead,
1202 // please put them in alphabetical order above, or in order inside the 1203 // please put them in alphabetical order above, or in order inside the
1203 // appropriate ifdef at the bottom. The order should match the header. 1204 // appropriate ifdef at the bottom. The order should match the header.
1204 // ----------------------------------------------------------------------------- 1205 // -----------------------------------------------------------------------------
1205 1206
1206 } // namespace switches 1207 } // 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