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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 | 511 |
512 #if defined(OS_POSIX) | 512 #if defined(OS_POSIX) |
513 // Causes the renderer process to cleanly exit via calling exit(). | 513 // Causes the renderer process to cleanly exit via calling exit(). |
514 const char kRendererCleanExit[] = "renderer-clean-exit"; | 514 const char kRendererCleanExit[] = "renderer-clean-exit"; |
515 #endif | 515 #endif |
516 | 516 |
517 // On POSIX only: the contents of this flag are prepended to the renderer | 517 // 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". | 518 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
519 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; | 519 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; |
520 | 520 |
521 // Causes the renderer process to crash on launch. | |
522 const char kRendererCrashTest[] = "renderer-crash-test"; | |
523 | |
524 // Causes the process to run as renderer instead of as browser. | 521 // Causes the process to run as renderer instead of as browser. |
525 const char kRendererProcess[] = "renderer"; | 522 const char kRendererProcess[] = "renderer"; |
526 | 523 |
527 // Overrides the default/calculated limit to the number of renderer processes. | 524 // Overrides the default/calculated limit to the number of renderer processes. |
528 // Very high values for this setting can lead to high memory/resource usage | 525 // Very high values for this setting can lead to high memory/resource usage |
529 // or instability. | 526 // or instability. |
530 const char kRendererProcessLimit[] = "renderer-process-limit"; | 527 const char kRendererProcessLimit[] = "renderer-process-limit"; |
531 | 528 |
532 // Causes the renderer process to display a dialog on launch. | 529 // Causes the renderer process to display a dialog on launch. |
533 const char kRendererStartupDialog[] = "renderer-startup-dialog"; | 530 const char kRendererStartupDialog[] = "renderer-startup-dialog"; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 // Specify the amount the trackpad should scroll by. | 632 // Specify the amount the trackpad should scroll by. |
636 const char kScrollPixels[] = "scroll-pixels"; | 633 const char kScrollPixels[] = "scroll-pixels"; |
637 #endif | 634 #endif |
638 | 635 |
639 #if defined(OS_MACOSX) || defined(OS_WIN) | 636 #if defined(OS_MACOSX) || defined(OS_WIN) |
640 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) | 637 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) |
641 // instead of NSS for SSL. | 638 // instead of NSS for SSL. |
642 const char kUseSystemSSL[] = "use-system-ssl"; | 639 const char kUseSystemSSL[] = "use-system-ssl"; |
643 #endif | 640 #endif |
644 | 641 |
645 #if !defined(OFFICIAL_BUILD) | |
646 // Causes the renderer process to throw an assertion on launch. | |
647 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | |
648 #endif | |
649 | |
650 // Enable per-tile page painting. | 642 // Enable per-tile page painting. |
651 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 643 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
652 | 644 |
653 // Disables the use of a 3D software rasterizer. | 645 // Disables the use of a 3D software rasterizer. |
654 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 646 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
655 | 647 |
656 #if defined(USE_AURA) | 648 #if defined(USE_AURA) |
657 // Configures the time after a GestureFlingCancel in which taps are cancelled. | 649 // Configures the time after a GestureFlingCancel in which taps are cancelled. |
658 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 650 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
659 | 651 |
660 // Maximum time between mousedown and mouseup to be considered a tap. | 652 // Maximum time between mousedown and mouseup to be considered a tap. |
661 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 653 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
662 | 654 |
663 // Forces usage of the test compositor. Needed to run ui tests on bots. | 655 // Forces usage of the test compositor. Needed to run ui tests on bots. |
664 extern const char kTestCompositor[] = "test-compositor"; | 656 extern const char kTestCompositor[] = "test-compositor"; |
665 #endif | 657 #endif |
666 | 658 |
667 } // namespace switches | 659 } // namespace switches |
OLD | NEW |