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

Side by Side Diff: content/public/common/content_switches.cc

Issue 10834068: On Posix, make all child processes quit when the browser dies, not just the renderers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/renderer_main.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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 525
526 // Register Pepper plugins (see pepper_plugin_registry.cc for its format). 526 // Register Pepper plugins (see pepper_plugin_registry.cc for its format).
527 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; 527 const char kRegisterPepperPlugins[] = "register-pepper-plugins";
528 528
529 // Enables remote debug over HTTP on the specified port. 529 // Enables remote debug over HTTP on the specified port.
530 const char kRemoteDebuggingPort[] = "remote-debugging-port"; 530 const char kRemoteDebuggingPort[] = "remote-debugging-port";
531 531
532 // Causes the renderer process to throw an assertion on launch. 532 // Causes the renderer process to throw an assertion on launch.
533 const char kRendererAssertTest[] = "renderer-assert-test"; 533 const char kRendererAssertTest[] = "renderer-assert-test";
534 534
535 #if defined(OS_POSIX)
536 // Causes the renderer process to cleanly exit via calling exit().
537 const char kRendererCleanExit[] = "renderer-clean-exit";
538 #endif
539
540 // On POSIX only: the contents of this flag are prepended to the renderer 535 // On POSIX only: the contents of this flag are prepended to the renderer
541 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". 536 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
542 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; 537 const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
543 538
544 // Causes the process to run as renderer instead of as browser. 539 // Causes the process to run as renderer instead of as browser.
545 const char kRendererProcess[] = "renderer"; 540 const char kRendererProcess[] = "renderer";
546 541
547 // Overrides the default/calculated limit to the number of renderer processes. 542 // Overrides the default/calculated limit to the number of renderer processes.
548 // Very high values for this setting can lead to high memory/resource usage 543 // Very high values for this setting can lead to high memory/resource usage
549 // or instability. 544 // or instability.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 // Set when Chromium should use a mobile user agent. 651 // Set when Chromium should use a mobile user agent.
657 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 652 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
658 // Omnibus flag setting an Android graphics mode. May be: 653 // Omnibus flag setting an Android graphics mode. May be:
659 // "basic" (untiled software path) 654 // "basic" (untiled software path)
660 // "compositor" (hardware-accelerated compositing), 655 // "compositor" (hardware-accelerated compositing),
661 const char kGraphicsMode[] = "graphics-mode"; 656 const char kGraphicsMode[] = "graphics-mode";
662 const char kGraphicsModeValueBasic[] = "basic"; 657 const char kGraphicsModeValueBasic[] = "basic";
663 const char kGraphicsModeValueCompositor[] = "compositor"; 658 const char kGraphicsModeValueCompositor[] = "compositor";
664 #endif 659 #endif
665 660
661 #if defined(OS_POSIX)
662 // Causes the child processes to cleanly exit via calling exit().
663 const char kChildCleanExit[] = "child-clean-exit";
664 #endif
665
666 #if defined(OS_POSIX) && !defined(OS_MACOSX) 666 #if defined(OS_POSIX) && !defined(OS_MACOSX)
667 // Specify the amount the trackpad should scroll by. 667 // Specify the amount the trackpad should scroll by.
668 const char kScrollPixels[] = "scroll-pixels"; 668 const char kScrollPixels[] = "scroll-pixels";
669 #endif 669 #endif
670 670
671 #if defined(OS_MACOSX) || defined(OS_WIN) 671 #if defined(OS_MACOSX) || defined(OS_WIN)
672 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) 672 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows)
673 // instead of NSS for SSL. 673 // instead of NSS for SSL.
674 const char kUseSystemSSL[] = "use-system-ssl"; 674 const char kUseSystemSSL[] = "use-system-ssl";
675 #endif 675 #endif
(...skipping 22 matching lines...) Expand all
698 // Sets the width and height above which a composited layer will get tiled. 698 // Sets the width and height above which a composited layer will get tiled.
699 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 699 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
700 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 700 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
701 701
702 const char kEnableFixedPositionCreatesStackingContext[] 702 const char kEnableFixedPositionCreatesStackingContext[]
703 = "enable-fixed-position-creates-stacking-context"; 703 = "enable-fixed-position-creates-stacking-context";
704 const char kDisableFixedPositionCreatesStackingContext[] 704 const char kDisableFixedPositionCreatesStackingContext[]
705 = "disable-fixed-position-creates-stacking-context"; 705 = "disable-fixed-position-creates-stacking-context";
706 706
707 } // namespace switches 707 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698