| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 // On POSIX only: the contents of this flag are prepended to the renderer | 484 // On POSIX only: the contents of this flag are prepended to the renderer |
| 485 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 485 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
| 486 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; | 486 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; |
| 487 | 487 |
| 488 // Causes the renderer process to crash on launch. | 488 // Causes the renderer process to crash on launch. |
| 489 const char kRendererCrashTest[] = "renderer-crash-test"; | 489 const char kRendererCrashTest[] = "renderer-crash-test"; |
| 490 | 490 |
| 491 // Causes the process to run as renderer instead of as browser. | 491 // Causes the process to run as renderer instead of as browser. |
| 492 const char kRendererProcess[] = "renderer"; | 492 const char kRendererProcess[] = "renderer"; |
| 493 | 493 |
| 494 // Overrides the default/calculated limit to the number of renderer processes. |
| 495 // Very high values for this setting can lead to high memory/resource usage |
| 496 // or instability. |
| 497 const char kRendererProcessLimit[] = "renderer-process-limit"; |
| 498 |
| 494 // Causes the renderer process to display a dialog on launch. | 499 // Causes the renderer process to display a dialog on launch. |
| 495 const char kRendererStartupDialog[] = "renderer-startup-dialog"; | 500 const char kRendererStartupDialog[] = "renderer-startup-dialog"; |
| 496 | 501 |
| 497 // Causes the process to run as a service process. | 502 // Causes the process to run as a service process. |
| 498 const char kServiceProcess[] = "service"; | 503 const char kServiceProcess[] = "service"; |
| 499 | 504 |
| 500 // Renders a border around composited Render Layers to help debug and study | 505 // Renders a border around composited Render Layers to help debug and study |
| 501 // layer compositing. | 506 // layer compositing. |
| 502 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; | 507 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; |
| 503 | 508 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 614 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 610 #endif | 615 #endif |
| 611 | 616 |
| 612 // Enable per-tile page painting. | 617 // Enable per-tile page painting. |
| 613 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 618 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
| 614 | 619 |
| 615 // Disables the use of a 3D software rasterizer. | 620 // Disables the use of a 3D software rasterizer. |
| 616 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 621 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
| 617 | 622 |
| 618 } // namespace switches | 623 } // namespace switches |
| OLD | NEW |