OLD | NEW |
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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 | 507 |
508 // Register Pepper plugins (see pepper_plugin_registry.cc for its format). | 508 // Register Pepper plugins (see pepper_plugin_registry.cc for its format). |
509 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; | 509 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; |
510 | 510 |
511 // Enables remote debug over HTTP on the specified port. | 511 // Enables remote debug over HTTP on the specified port. |
512 const char kRemoteDebuggingPort[] = "remote-debugging-port"; | 512 const char kRemoteDebuggingPort[] = "remote-debugging-port"; |
513 | 513 |
514 // Causes the renderer process to throw an assertion on launch. | 514 // Causes the renderer process to throw an assertion on launch. |
515 const char kRendererAssertTest[] = "renderer-assert-test"; | 515 const char kRendererAssertTest[] = "renderer-assert-test"; |
516 | 516 |
| 517 #if defined(OS_POSIX) |
| 518 // Causes the renderer process to cleanly exit via calling exit(). |
| 519 const char kRendererCleanExit[] = "renderer-clean-exit"; |
| 520 #endif |
| 521 |
517 // On POSIX only: the contents of this flag are prepended to the renderer | 522 // On POSIX only: the contents of this flag are prepended to the renderer |
518 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 523 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
519 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; | 524 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; |
520 | 525 |
521 // Causes the renderer process to crash on launch. | 526 // Causes the renderer process to crash on launch. |
522 const char kRendererCrashTest[] = "renderer-crash-test"; | 527 const char kRendererCrashTest[] = "renderer-crash-test"; |
523 | 528 |
524 // Causes the process to run as renderer instead of as browser. | 529 // Causes the process to run as renderer instead of as browser. |
525 const char kRendererProcess[] = "renderer"; | 530 const char kRendererProcess[] = "renderer"; |
526 | 531 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 663 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
659 | 664 |
660 // Maximum time between mousedown and mouseup to be considered a tap. | 665 // Maximum time between mousedown and mouseup to be considered a tap. |
661 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 666 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
662 | 667 |
663 // Forces usage of the test compositor. Needed to run ui tests on bots. | 668 // Forces usage of the test compositor. Needed to run ui tests on bots. |
664 extern const char kTestCompositor[] = "test-compositor"; | 669 extern const char kTestCompositor[] = "test-compositor"; |
665 #endif | 670 #endif |
666 | 671 |
667 } // namespace switches | 672 } // namespace switches |
OLD | NEW |