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

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

Issue 6873014: Clear RenderThread of any Chrome specific code, and move a bunch of stuff out of RenderView. (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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/render_messages.h » ('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) 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 const char kDebugPrint[] = "debug-print"; 145 const char kDebugPrint[] = "debug-print";
146 146
147 // Specifies the URL at which to fetch configuration policy from the device 147 // Specifies the URL at which to fetch configuration policy from the device
148 // management backend. Specifying this switch turns on managed policy from the 148 // management backend. Specifying this switch turns on managed policy from the
149 // device management backend. 149 // device management backend.
150 const char kDeviceManagementUrl[] = "device-management-url"; 150 const char kDeviceManagementUrl[] = "device-management-url";
151 151
152 // Triggers a pletora of diagnostic modes. 152 // Triggers a pletora of diagnostic modes.
153 const char kDiagnostics[] = "diagnostics"; 153 const char kDiagnostics[] = "diagnostics";
154 154
155 // Disables accelerated compositing.
156 const char kDisableAcceleratedCompositing[] =
157 "disable-accelerated-compositing";
158
159 // Disables the hardware acceleration of 3D CSS and animation. 155 // Disables the hardware acceleration of 3D CSS and animation.
160 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; 156 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers";
161 157
162 // Disables GPU accelerated video display. 158 // Disables GPU accelerated video display.
163 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; 159 const char kDisableAcceleratedVideo[] = "disable-accelerated-video";
164 160
165 // Disables the alternate window station for the renderer. 161 // Disables the alternate window station for the renderer.
166 const char kDisableAltWinstation[] = "disable-winsta"; 162 const char kDisableAltWinstation[] = "disable-winsta";
167 163
168 // 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
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 const char kDisableClientSidePhishingDetection[] = 196 const char kDisableClientSidePhishingDetection[] =
201 "disable-client-side-phishing-detection"; 197 "disable-client-side-phishing-detection";
202 198
203 // Disables establishing a backup TCP connection if a specified timeout is 199 // Disables establishing a backup TCP connection if a specified timeout is
204 // exceeded. 200 // exceeded.
205 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; 201 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs";
206 202
207 // Disables the custom JumpList on Windows 7. 203 // Disables the custom JumpList on Windows 7.
208 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; 204 const char kDisableCustomJumpList[] = "disable-custom-jumplist";
209 205
210 // Disables data transfer items.
211 const char kDisableDataTransferItems[] = "disable-data-transfer-items";
212
213 // Browser flag to disable the web inspector for all renderers. 206 // Browser flag to disable the web inspector for all renderers.
214 const char kDisableDevTools[] = "disable-dev-tools"; 207 const char kDisableDevTools[] = "disable-dev-tools";
215 208
216 // Disables device orientation events.
217 const char kDisableDeviceOrientation[] = "disable-device-orientation";
218
219 // Disable extensions. 209 // Disable extensions.
220 const char kDisableExtensions[] = "disable-extensions"; 210 const char kDisableExtensions[] = "disable-extensions";
221 211
222 // Disable checking for user opt-in for extensions that want to inject script 212 // Disable checking for user opt-in for extensions that want to inject script
223 // into file URLs (ie, always allow it). This is used during automated testing. 213 // into file URLs (ie, always allow it). This is used during automated testing.
224 const char kDisableExtensionsFileAccessCheck[] = 214 const char kDisableExtensionsFileAccessCheck[] =
225 "disable-extensions-file-access-check"; 215 "disable-extensions-file-access-check";
226 216
227 // Disables the sandbox for the built-in flash player. 217 // Disables the sandbox for the built-in flash player.
228 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; 218 const char kDisableFlashSandbox[] = "disable-flash-sandbox";
229 219
230 // Suppresses support for the Geolocation javascript API.
231 const char kDisableGeolocation[] = "disable-geolocation";
232
233 // Disable GL multisampling.
234 const char kDisableGLMultisampling[] = "disable-gl-multisampling";
235
236 // Disable the GLSL translator.
237 const char kDisableGLSLTranslator[] = "disable-glsl-translator";
238
239 // Suppresses hang monitor dialogs in renderer processes. This may allow slow 220 // Suppresses hang monitor dialogs in renderer processes. This may allow slow
240 // unload handlers on a page to prevent the tab from closing, but the Task 221 // unload handlers on a page to prevent the tab from closing, but the Task
241 // Manager can be used to terminate the offending process in this case. 222 // Manager can be used to terminate the offending process in this case.
242 const char kDisableHangMonitor[] = "disable-hang-monitor"; 223 const char kDisableHangMonitor[] = "disable-hang-monitor";
243 224
244 // Disable the use of the HistoryQuickProvider for autocomplete results. 225 // Disable the use of the HistoryQuickProvider for autocomplete results.
245 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider"; 226 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider";
246 227
247 // Disable the use of the HistoryURLProvider for autocomplete results. 228 // Disable the use of the HistoryURLProvider for autocomplete results.
248 const char kDisableHistoryURLProvider[] = "disable-history-url-provider"; 229 const char kDisableHistoryURLProvider[] = "disable-history-url-provider";
249 230
250 // Disable the Indexed Database API.
251 const char kDisableIndexedDatabase[] = "disable-indexed-database";
252
253 // Disables HTML5 Forms interactive validation. 231 // Disables HTML5 Forms interactive validation.
254 const char kDisableInteractiveFormValidation[] = 232 const char kDisableInteractiveFormValidation[] =
255 "disable-interactive-form-validation"; 233 "disable-interactive-form-validation";
256 234
257 // Disable the internal Flash Player. 235 // Disable the internal Flash Player.
258 const char kDisableInternalFlash[] = "disable-internal-flash"; 236 const char kDisableInternalFlash[] = "disable-internal-flash";
259 237
260 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging 238 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging
261 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to 239 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to
262 // file bugs if something isn't working properly in the presence of IPv6. 240 // file bugs if something isn't working properly in the presence of IPv6.
263 // This flag can be overidden by the "enable-ipv6" flag. 241 // This flag can be overidden by the "enable-ipv6" flag.
264 const char kDisableIPv6[] = "disable-ipv6"; 242 const char kDisableIPv6[] = "disable-ipv6";
265 243
266 // Disables IP Pooling within the networks stack (SPDY only). When a connection 244 // Disables IP Pooling within the networks stack (SPDY only). When a connection
267 // is needed for a domain which shares an IP with an existing connection, 245 // is needed for a domain which shares an IP with an existing connection,
268 // attempt to use the existing connection. 246 // attempt to use the existing connection.
269 const char kDisableIPPooling[] = "disable-ip-pooling"; 247 const char kDisableIPPooling[] = "disable-ip-pooling";
270 248
271 // Disable speculative TCP/IP preconnection. 249 // Disable speculative TCP/IP preconnection.
272 const char kDisablePreconnect[] = "disable-preconnect"; 250 const char kDisablePreconnect[] = "disable-preconnect";
273 251
274 // Prevent Java from running.
275 const char kDisableJava[] = "disable-java";
276
277 // Don't execute JavaScript (browser JS like the new tab page still runs).
278 const char kDisableJavaScript[] = "disable-javascript";
279
280 // Disable JavaScript I18N API.
281 const char kDisableJavaScriptI18NAPI[] = "disable-javascript-i18n-api";
282
283 // Disable LocalStorage.
284 const char kDisableLocalStorage[] = "disable-local-storage";
285
286 // Whether we should prevent the new tab page from showing the first run 252 // Whether we should prevent the new tab page from showing the first run
287 // notification. 253 // notification.
288 const char kDisableNewTabFirstRun[] = "disable-new-tab-first-run"; 254 const char kDisableNewTabFirstRun[] = "disable-new-tab-first-run";
289 255
290 // Normally when the user attempts to navigate to a page that was the result of 256 // Normally when the user attempts to navigate to a page that was the result of
291 // a post we prompt to make sure they want to. This switch may be used to 257 // a post we prompt to make sure they want to. This switch may be used to
292 // disable that check. This switch is used during automated testing. 258 // disable that check. This switch is used during automated testing.
293 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 259 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
294 260
295 // Disable remote web font support. SVG font should always work whether 261 // Disable remote web font support. SVG font should always work whether
296 // this option is specified or not. 262 // this option is specified or not.
297 const char kDisableRemoteFonts[] = "disable-remote-fonts"; 263 const char kDisableRemoteFonts[] = "disable-remote-fonts";
298 264
299 // Turns off the accessibility in the renderer. 265 // Turns off the accessibility in the renderer.
300 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; 266 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility";
301 267
302 // Prevents the URLs of BackgroundContents from being remembered and re-launched 268 // Prevents the URLs of BackgroundContents from being remembered and re-launched
303 // when the browser restarts. 269 // when the browser restarts.
304 const char kDisableRestoreBackgroundContents[] = 270 const char kDisableRestoreBackgroundContents[] =
305 "disable-restore-background-contents"; 271 "disable-restore-background-contents";
306 272
307 // Disable session storage.
308 const char kDisableSessionStorage[] = "disable-session-storage";
309
310 // Enable shared workers. Functionality not yet complete.
311 const char kDisableSharedWorkers[] = "disable-shared-workers";
312
313 // Disable site-specific tailoring to compatibility issues in WebKit. 273 // Disable site-specific tailoring to compatibility issues in WebKit.
314 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; 274 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks";
315 275
316 // Disables speech input.
317 const char kDisableSpeechInput[] = "disable-speech-input";
318
319 // Disable False Start in SSL and TLS connections. 276 // Disable False Start in SSL and TLS connections.
320 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; 277 const char kDisableSSLFalseStart[] = "disable-ssl-false-start";
321 278
322 // Disable syncing browser data to a Google Account. 279 // Disable syncing browser data to a Google Account.
323 const char kDisableSync[] = "disable-sync"; 280 const char kDisableSync[] = "disable-sync";
324 281
325 // Disable syncing of apps. 282 // Disable syncing of apps.
326 const char kDisableSyncApps[] = "disable-sync-apps"; 283 const char kDisableSyncApps[] = "disable-sync-apps";
327 284
328 // Disable syncing of autofill. 285 // Disable syncing of autofill.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 // Enables compositing to texture instead of display. 397 // Enables compositing to texture instead of display.
441 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; 398 const char kEnableCompositeToTexture[] = "enable-composite-to-texture";
442 399
443 // Enables establishing a backup TCP connection if a specified timeout is 400 // Enables establishing a backup TCP connection if a specified timeout is
444 // exceeded. 401 // exceeded.
445 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; 402 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs";
446 403
447 // Enables web developers to create apps for Chrome without using crx packages. 404 // Enables web developers to create apps for Chrome without using crx packages.
448 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; 405 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps";
449 406
450 // Enables device motion events.
451 const char kEnableDeviceMotion[] = "enable-device-motion";
452
453 // Enable DNS side checking of certificates. Still experimental, should only 407 // Enable DNS side checking of certificates. Still experimental, should only
454 // be used by developers at the current time. 408 // be used by developers at the current time.
455 const char kEnableDNSCertProvenanceChecking[] = 409 const char kEnableDNSCertProvenanceChecking[] =
456 "enable-dns-cert-provenance-checking"; 410 "enable-dns-cert-provenance-checking";
457 411
458 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; 412 const char kEnableDNSSECCerts[] = "enable-dnssec-certs";
459 413
460 // Enables app manifest features that are in development. 414 // Enables app manifest features that are in development.
461 const char kEnableExperimentalAppManifests[] = 415 const char kEnableExperimentalAppManifests[] =
462 "enable-experimental-app-manifests"; 416 "enable-experimental-app-manifests";
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 // Enables video logging where video elements log playback performance data to 518 // Enables video logging where video elements log playback performance data to
565 // the debug log. 519 // the debug log.
566 const char kEnableVideoLogging[] = "enable-video-logging"; 520 const char kEnableVideoLogging[] = "enable-video-logging";
567 521
568 // Spawn threads to watch for excessive delays in specified message loops. 522 // Spawn threads to watch for excessive delays in specified message loops.
569 // User should set breakpoints on Alarm() to examine problematic thread. 523 // User should set breakpoints on Alarm() to examine problematic thread.
570 // Usage: -enable-watchdog=[ui][io] 524 // Usage: -enable-watchdog=[ui][io]
571 // Order of the listed sub-arguments does not matter. 525 // Order of the listed sub-arguments does not matter.
572 const char kEnableWatchdog[] = "enable-watchdog"; 526 const char kEnableWatchdog[] = "enable-watchdog";
573 527
574 // Enable web audio API.
575 const char kEnableWebAudio[] = "enable-webaudio";
576
577 // Enables experimental features for Spellchecker. Right now, the first 528 // Enables experimental features for Spellchecker. Right now, the first
578 // experimental feature is auto spell correct, which corrects words which are 529 // experimental feature is auto spell correct, which corrects words which are
579 // misppelled by typing the word with two consecutive letters swapped. The 530 // misppelled by typing the word with two consecutive letters swapped. The
580 // features that will be added next are: 531 // features that will be added next are:
581 // 1 - Allow multiple spellcheckers to work simultaneously. 532 // 1 - Allow multiple spellcheckers to work simultaneously.
582 // 2 - Allow automatic detection of spell check language. 533 // 2 - Allow automatic detection of spell check language.
583 // TODO(sidchat): Implement the above fetaures to work under this flag. 534 // TODO(sidchat): Implement the above fetaures to work under this flag.
584 const char kExperimentalSpellcheckerFeatures[] = 535 const char kExperimentalSpellcheckerFeatures[] =
585 "experimental-spellchecker-features"; 536 "experimental-spellchecker-features";
586 537
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; 634 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist";
684 635
685 // Perform importing from another browser. The value associated with this 636 // Perform importing from another browser. The value associated with this
686 // setting encodes the target browser and what items to import. 637 // setting encodes the target browser and what items to import.
687 const char kImport[] = "import"; 638 const char kImport[] = "import";
688 639
689 // Perform bookmark importing from an HTML file. The value associated with this 640 // Perform bookmark importing from an HTML file. The value associated with this
690 // setting encodes the file path. It may be used jointly with kImport. 641 // setting encodes the file path. It may be used jointly with kImport.
691 const char kImportFromFile[] = "import-from-file"; 642 const char kImportFromFile[] = "import-from-file";
692 643
693 // Runs plugins inside the renderer process
694 const char kInProcessPlugins[] = "in-process-plugins";
695
696 // Causes the browser to launch directly in incognito mode. 644 // Causes the browser to launch directly in incognito mode.
697 const char kIncognito[] = "incognito"; 645 const char kIncognito[] = "incognito";
698 646
699 // URL to use for instant. If specified this overrides the url from the 647 // URL to use for instant. If specified this overrides the url from the
700 // TemplateURL. 648 // TemplateURL.
701 const char kInstantURL[] = "instant-url"; 649 const char kInstantURL[] = "instant-url";
702 650
703 // Specifies the flags passed to JS engine
704 const char kJavaScriptFlags[] = "js-flags";
705
706 // Used for testing - keeps browser alive after last browser window closes. 651 // Used for testing - keeps browser alive after last browser window closes.
707 const char kKeepAliveForTest[] = "keep-alive-for-test"; 652 const char kKeepAliveForTest[] = "keep-alive-for-test";
708 653
709 // Load an extension from the specified directory. 654 // Load an extension from the specified directory.
710 const char kLoadExtension[] = "load-extension"; 655 const char kLoadExtension[] = "load-extension";
711 656
712 // Load the opencryptoki library into NSS at startup. This is only 657 // Load the opencryptoki library into NSS at startup. This is only
713 // needed temporarily for developers who need to work on WiFi/VPN 658 // needed temporarily for developers who need to work on WiFi/VPN
714 // certificate code. 659 // certificate code.
715 // TODO(gspencer): Remove this switch once cryptohomed work is finished: 660 // TODO(gspencer): Remove this switch once cryptohomed work is finished:
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 // Disables all experiments set on about:flags. Does not disable about:flags 718 // Disables all experiments set on about:flags. Does not disable about:flags
774 // itself. Useful if an experiment makes chrome crash at startup: One can start 719 // itself. Useful if an experiment makes chrome crash at startup: One can start
775 // chrome with --no-experiments, disable the problematic lab at about:flags and 720 // chrome with --no-experiments, disable the problematic lab at about:flags and
776 // then restart chrome without this switch again. 721 // then restart chrome without this switch again.
777 const char kNoExperiments[] = "no-experiments"; 722 const char kNoExperiments[] = "no-experiments";
778 723
779 // whether or not it's actually the first run. Overrides kFirstRun in case 724 // whether or not it's actually the first run. Overrides kFirstRun in case
780 // you're for some reason tempted to pass them both. 725 // you're for some reason tempted to pass them both.
781 const char kNoFirstRun[] = "no-first-run"; 726 const char kNoFirstRun[] = "no-first-run";
782 727
783 // Support a separate switch that enables the v8 playback extension.
784 // The extension causes javascript calls to Date.now() and Math.random()
785 // to return consistent values, such that subsequent loads of the same
786 // page will result in consistent js-generated data and XHR requests.
787 // Pages may still be able to generate inconsistent data from plugins.
788 const char kNoJsRandomness[] = "no-js-randomness";
789
790 // Don't send hyperlink auditing pings 728 // Don't send hyperlink auditing pings
791 const char kNoPings[] = "no-pings"; 729 const char kNoPings[] = "no-pings";
792 730
793 // Don't use a proxy server, always make direct connections. Overrides any 731 // Don't use a proxy server, always make direct connections. Overrides any
794 // other proxy server flags that are passed. 732 // other proxy server flags that are passed.
795 const char kNoProxyServer[] = "no-proxy-server"; 733 const char kNoProxyServer[] = "no-proxy-server";
796 734
797 // Disables the service process from adding itself as an autorun process. This 735 // Disables the service process from adding itself as an autorun process. This
798 // does not delete existing autorun registrations, it just prevents the service 736 // does not delete existing autorun registrations, it just prevents the service
799 // from registering a new one. 737 // from registering a new one.
(...skipping 19 matching lines...) Expand all
819 757
820 // Package an extension to a .crx installable file from a given directory. 758 // Package an extension to a .crx installable file from a given directory.
821 const char kPackExtension[] = "pack-extension"; 759 const char kPackExtension[] = "pack-extension";
822 760
823 // Optional PEM private key is to use in signing packaged .crx. 761 // Optional PEM private key is to use in signing packaged .crx.
824 const char kPackExtensionKey[] = "pack-extension-key"; 762 const char kPackExtensionKey[] = "pack-extension-key";
825 763
826 // Specifies the path to the user data folder for the parent profile. 764 // Specifies the path to the user data folder for the parent profile.
827 const char kParentProfile[] = "parent-profile"; 765 const char kParentProfile[] = "parent-profile";
828 766
829 // Read previously recorded data from the cache. Only cached data is read.
830 // See kRecordMode.
831 const char kPlaybackMode[] = "playback-mode";
832
833 // Forces the PPAPI version of Flash (if it's being used) to run in the 767 // Forces the PPAPI version of Flash (if it's being used) to run in the
834 // renderer process rather than in a separate plugin process. 768 // renderer process rather than in a separate plugin process.
835 const char kPpapiFlashInProcess[] = "ppapi-flash-in-process"; 769 const char kPpapiFlashInProcess[] = "ppapi-flash-in-process";
836 770
837 // Controls speculative prerendering of pages, and content prefetching. Both 771 // Controls speculative prerendering of pages, and content prefetching. Both
838 // are dispatched from <link rel=prefetch href=...> elements. 772 // are dispatched from <link rel=prefetch href=...> elements.
839 const char kPrerender[] = "prerender"; 773 const char kPrerender[] = "prerender";
840 // These are the values the switch may have, as in "--prerender=auto". 774 // These are the values the switch may have, as in "--prerender=auto".
841 // auto: Allow field trial selection in both prerender and prefetch. 775 // auto: Allow field trial selection in both prerender and prefetch.
842 const char kPrerenderSwitchValueAuto[] = "auto"; 776 const char kPrerenderSwitchValueAuto[] = "auto";
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 // affects HTTP and HTTPS requests. 825 // affects HTTP and HTTPS requests.
892 const char kProxyServer[] = "proxy-server"; 826 const char kProxyServer[] = "proxy-server";
893 827
894 // Adds a "Purge memory" button to the Task Manager, which tries to dump as 828 // Adds a "Purge memory" button to the Task Manager, which tries to dump as
895 // much memory as possible. This is mostly useful for testing how well the 829 // much memory as possible. This is mostly useful for testing how well the
896 // MemoryPurger functionality works. 830 // MemoryPurger functionality works.
897 // 831 //
898 // NOTE: This is only implemented for Views. 832 // NOTE: This is only implemented for Views.
899 const char kPurgeMemoryButton[] = "purge-memory-button"; 833 const char kPurgeMemoryButton[] = "purge-memory-button";
900 834
901 // Chrome supports a playback and record mode. Record mode saves *everything*
902 // to the cache. Playback mode reads data exclusively from the cache. This
903 // allows us to record a session into the cache and then replay it at will.
904 // See also kPlaybackMode.
905 const char kRecordMode[] = "record-mode";
906
907 // Reload pages that have been killed when they are next focused by the user. 835 // Reload pages that have been killed when they are next focused by the user.
908 const char kReloadKilledTabs[] = "reload-killed-tabs"; 836 const char kReloadKilledTabs[] = "reload-killed-tabs";
909 837
910 // Enable remote debug over HTTP on the specified port. 838 // Enable remote debug over HTTP on the specified port.
911 const char kRemoteDebuggingPort[] = "remote-debugging-port"; 839 const char kRemoteDebuggingPort[] = "remote-debugging-port";
912 840
913 // Enable remote debug / automation shell on the specified port. 841 // Enable remote debug / automation shell on the specified port.
914 const char kRemoteShellPort[] = "remote-shell-port"; 842 const char kRemoteShellPort[] = "remote-shell-port";
915 843
916 // Causes the renderer process to throw an assertion on launch. 844 // Causes the renderer process to throw an assertion on launch.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 // layer compositing. 895 // layer compositing.
968 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 896 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
969 897
970 // Draws a textual dump of the compositor layer tree to help debug and study 898 // Draws a textual dump of the compositor layer tree to help debug and study
971 // layer compositing. 899 // layer compositing.
972 const char kShowCompositedLayerTree[] = "show-composited-layer-tree"; 900 const char kShowCompositedLayerTree[] = "show-composited-layer-tree";
973 901
974 // Draws a FPS indicator 902 // Draws a FPS indicator
975 const char kShowFPSCounter[] = "show-fps-counter"; 903 const char kShowFPSCounter[] = "show-fps-counter";
976 904
977 // Visibly render a border around paint rects in the web page to help debug
978 // and study painting behavior.
979 const char kShowPaintRects[] = "show-paint-rects";
980
981 // Change the DCHECKS to dump memory and continue instead of displaying error 905 // Change the DCHECKS to dump memory and continue instead of displaying error
982 // dialog. This is valid only in Release mode when --enable-dcheck is 906 // dialog. This is valid only in Release mode when --enable-dcheck is
983 // specified. 907 // specified.
984 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck"; 908 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck";
985 909
986 // Replaces the buffered data source for <audio> and <video> with a simplified 910 // Replaces the buffered data source for <audio> and <video> with a simplified
987 // resource loader that downloads the entire resource into memory. 911 // resource loader that downloads the entire resource into memory.
988 // 912 //
989 // TODO(scherkus): remove --simple-data-source when our media resource loading 913 // TODO(scherkus): remove --simple-data-source when our media resource loading
990 // is cleaned up and playback testing completed. 914 // is cleaned up and playback testing completed.
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 1166
1243 // ----------------------------------------------------------------------------- 1167 // -----------------------------------------------------------------------------
1244 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1168 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1245 // 1169 //
1246 // You were going to just dump your switches here, weren't you? Instead, 1170 // You were going to just dump your switches here, weren't you? Instead,
1247 // please put them in alphabetical order above, or in order inside the 1171 // please put them in alphabetical order above, or in order inside the
1248 // appropriate ifdef at the bottom. The order should match the header. 1172 // appropriate ifdef at the bottom. The order should match the header.
1249 // ----------------------------------------------------------------------------- 1173 // -----------------------------------------------------------------------------
1250 1174
1251 } // namespace switches 1175 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698