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

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

Issue 6874038: Remove the last Chrome dependencies from renderer, and enforce no more includes through DEPS. I ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 // Disables GPU accelerated video display. 158 // Disables GPU accelerated video display.
159 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; 159 const char kDisableAcceleratedVideo[] = "disable-accelerated-video";
160 160
161 // Disables the alternate window station for the renderer. 161 // Disables the alternate window station for the renderer.
162 const char kDisableAltWinstation[] = "disable-winsta"; 162 const char kDisableAltWinstation[] = "disable-winsta";
163 163
164 // Replaces the audio IPC layer for <audio> and <video> with a mock audio 164 // Replaces the audio IPC layer for <audio> and <video> with a mock audio
165 // device, useful when using remote desktop or machines without sound cards. 165 // device, useful when using remote desktop or machines without sound cards.
166 // This is temporary until we fix the underlying problem. 166 // This is temporary until we fix the underlying problem.
167 //
168 // TODO(scherkus): remove --disable-audio when we have a proper fallback
169 // mechanism.
170 const char kDisableAudio[] = "disable-audio";
171 167
172 // Disable CNAME lookup of the host when generating the Kerberos SPN for a 168 // Disable CNAME lookup of the host when generating the Kerberos SPN for a
173 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN 169 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN
174 // for more background. 170 // for more background.
175 const char kDisableAuthNegotiateCnameLookup[] = 171 const char kDisableAuthNegotiateCnameLookup[] =
176 "disable-auth-negotiate-cname-lookup"; 172 "disable-auth-negotiate-cname-lookup";
177 173
178 // Disable background mode (background apps will not keep chrome running in the 174 // Disable background mode (background apps will not keep chrome running in the
179 // background). 175 // background).
180 const char kDisableBackgroundMode[] = "disable-background-mode"; 176 const char kDisableBackgroundMode[] = "disable-background-mode";
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 351
356 // Enable displaying net log events on the command line. 352 // Enable displaying net log events on the command line.
357 extern const char kLogNetLog[] = "log-net-log"; 353 extern const char kLogNetLog[] = "log-net-log";
358 354
359 // Enable gpu-accelerated 2d canvas. 355 // Enable gpu-accelerated 2d canvas.
360 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; 356 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas";
361 357
362 // Enables the hardware acceleration of plugins. 358 // Enables the hardware acceleration of plugins.
363 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; 359 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins";
364 360
365 // Enables WebKit accessibility within the renderer process.
366 const char kEnableAccessibility[] = "enable-accessibility";
367
368 // Enables AeroPeek for each tab. (This switch only works on Windows 7). 361 // Enables AeroPeek for each tab. (This switch only works on Windows 7).
369 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; 362 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs";
370 363
371 // Enable the inclusion of non-standard ports when generating the Kerberos SPN 364 // Enable the inclusion of non-standard ports when generating the Kerberos SPN
372 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN 365 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN
373 // for more background. 366 // for more background.
374 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; 367 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
375 368
376 // At this point, even if client-side phishing detection is enabled we will not, 369 // At this point, even if client-side phishing detection is enabled we will not,
377 // by default, display an interstitial if we detected a phishing site. Once 370 // by default, display an interstitial if we detected a phishing site. Once
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 const char kEnableNaClDebug[] = "enable-nacl-debug"; 455 const char kEnableNaClDebug[] = "enable-nacl-debug";
463 456
464 // This applies only when the process type is "service". Enables the 457 // This applies only when the process type is "service". Enables the
465 // Chromoting Host Process within the service process. 458 // Chromoting Host Process within the service process.
466 const char kEnableRemoting[] = "enable-remoting"; 459 const char kEnableRemoting[] = "enable-remoting";
467 460
468 // Enable content settings based on host *and* plug-in. 461 // Enable content settings based on host *and* plug-in.
469 const char kEnableResourceContentSettings[] = 462 const char kEnableResourceContentSettings[] =
470 "enable-resource-content-settings"; 463 "enable-resource-content-settings";
471 464
472 // Enable Pepper and JavaScript P2P API.
473 const char kEnableP2PApi[] = "enable-p2papi";
474
475 // Enable panels (always on-top docked pop-up windows). 465 // Enable panels (always on-top docked pop-up windows).
476 const char kEnablePanels[] = "enable-panels"; 466 const char kEnablePanels[] = "enable-panels";
477 467
478 // Enable speculative TCP/IP preconnection. 468 // Enable speculative TCP/IP preconnection.
479 const char kEnablePreconnect[] = "enable-preconnect"; 469 const char kEnablePreconnect[] = "enable-preconnect";
480 470
481 // Enable print preview (work in progress). 471 // Enable print preview (work in progress).
482 const char kEnablePrintPreview[] = "enable-print-preview"; 472 const char kEnablePrintPreview[] = "enable-print-preview";
483 473
484 // Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra 474 // Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra
(...skipping 19 matching lines...) Expand all
504 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; 494 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls";
505 495
506 // Enable use of experimental TCP sockets API for sending data in the 496 // Enable use of experimental TCP sockets API for sending data in the
507 // SYN packet. 497 // SYN packet.
508 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 498 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
509 499
510 // Enables the option to show tabs as a vertical stack down the side of the 500 // Enables the option to show tabs as a vertical stack down the side of the
511 // browser window. 501 // browser window.
512 const char kEnableVerticalTabs[] = "enable-vertical-tabs"; 502 const char kEnableVerticalTabs[] = "enable-vertical-tabs";
513 503
514 // Enables support for fullscreen video. Current implementation is
515 // incomplete and this flag is used for development and testing.
516 const char kEnableVideoFullscreen[] = "enable-video-fullscreen";
517
518 // Enables video logging where video elements log playback performance data to
519 // the debug log.
520 const char kEnableVideoLogging[] = "enable-video-logging";
521
522 // Spawn threads to watch for excessive delays in specified message loops. 504 // Spawn threads to watch for excessive delays in specified message loops.
523 // User should set breakpoints on Alarm() to examine problematic thread. 505 // User should set breakpoints on Alarm() to examine problematic thread.
524 // Usage: -enable-watchdog=[ui][io] 506 // Usage: -enable-watchdog=[ui][io]
525 // Order of the listed sub-arguments does not matter. 507 // Order of the listed sub-arguments does not matter.
526 const char kEnableWatchdog[] = "enable-watchdog"; 508 const char kEnableWatchdog[] = "enable-watchdog";
527 509
528 // Enables experimental features for Spellchecker. Right now, the first 510 // Enables experimental features for Spellchecker. Right now, the first
529 // experimental feature is auto spell correct, which corrects words which are 511 // experimental feature is auto spell correct, which corrects words which are
530 // misppelled by typing the word with two consecutive letters swapped. The 512 // misppelled by typing the word with two consecutive letters swapped. The
531 // features that will be added next are: 513 // features that will be added next are:
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 // Draws a FPS indicator 884 // Draws a FPS indicator
903 const char kShowFPSCounter[] = "show-fps-counter"; 885 const char kShowFPSCounter[] = "show-fps-counter";
904 886
905 // Change the DCHECKS to dump memory and continue instead of displaying error 887 // Change the DCHECKS to dump memory and continue instead of displaying error
906 // dialog. This is valid only in Release mode when --enable-dcheck is 888 // dialog. This is valid only in Release mode when --enable-dcheck is
907 // specified. 889 // specified.
908 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck"; 890 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck";
909 891
910 // Replaces the buffered data source for <audio> and <video> with a simplified 892 // Replaces the buffered data source for <audio> and <video> with a simplified
911 // resource loader that downloads the entire resource into memory. 893 // resource loader that downloads the entire resource into memory.
912 //
913 // TODO(scherkus): remove --simple-data-source when our media resource loading
914 // is cleaned up and playback testing completed.
915 const char kSimpleDataSource[] = "simple-data-source";
916 894
917 // Start the browser maximized, regardless of any previous settings. 895 // Start the browser maximized, regardless of any previous settings.
918 const char kStartMaximized[] = "start-maximized"; 896 const char kStartMaximized[] = "start-maximized";
919 897
920 // Allow insecure XMPP connections for sync (for testing). 898 // Allow insecure XMPP connections for sync (for testing).
921 const char kSyncAllowInsecureXmppConnection[] = 899 const char kSyncAllowInsecureXmppConnection[] =
922 "sync-allow-insecure-xmpp-connection"; 900 "sync-allow-insecure-xmpp-connection";
923 901
924 // Invalidate any login info passed into sync's XMPP connection. 902 // Invalidate any login info passed into sync's XMPP connection.
925 const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login"; 903 const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login";
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 1148
1171 // ----------------------------------------------------------------------------- 1149 // -----------------------------------------------------------------------------
1172 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1150 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1173 // 1151 //
1174 // You were going to just dump your switches here, weren't you? Instead, 1152 // You were going to just dump your switches here, weren't you? Instead,
1175 // please put them in alphabetical order above, or in order inside the 1153 // please put them in alphabetical order above, or in order inside the
1176 // appropriate ifdef at the bottom. The order should match the header. 1154 // appropriate ifdef at the bottom. The order should match the header.
1177 // ----------------------------------------------------------------------------- 1155 // -----------------------------------------------------------------------------
1178 1156
1179 } // namespace switches 1157 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698