Chromium Code Reviews| 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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 454 // On POSIX only: the contents of this flag are prepended to the renderer | 454 // On POSIX only: the contents of this flag are prepended to the renderer |
| 455 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 455 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
| 456 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; | 456 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; |
| 457 | 457 |
| 458 // Causes the renderer process to crash on launch. | 458 // Causes the renderer process to crash on launch. |
| 459 const char kRendererCrashTest[] = "renderer-crash-test"; | 459 const char kRendererCrashTest[] = "renderer-crash-test"; |
| 460 | 460 |
| 461 // Causes the process to run as renderer instead of as browser. | 461 // Causes the process to run as renderer instead of as browser. |
| 462 const char kRendererProcess[] = "renderer"; | 462 const char kRendererProcess[] = "renderer"; |
| 463 | 463 |
| 464 // Overwrites the default/calculated limit to the number of renderer processes. | |
|
Charlie Reis
2012/02/07 17:36:36
Nit: Overrides
nasko
2012/02/07 19:01:22
Done.
| |
| 465 // Very high values for this setting can lead to high memory/resource usage | |
| 466 // or instability. | |
| 467 const char kRendererProcessLimit[] = "renderer-process-limit"; | |
| 468 | |
| 464 // Causes the renderer process to display a dialog on launch. | 469 // Causes the renderer process to display a dialog on launch. |
| 465 const char kRendererStartupDialog[] = "renderer-startup-dialog"; | 470 const char kRendererStartupDialog[] = "renderer-startup-dialog"; |
| 466 | 471 |
| 467 // Causes the process to run as a service process. | 472 // Causes the process to run as a service process. |
| 468 const char kServiceProcess[] = "service"; | 473 const char kServiceProcess[] = "service"; |
| 469 | 474 |
| 470 // Visibly render a border around paint rects in the web page to help debug | 475 // Visibly render a border around paint rects in the web page to help debug |
| 471 // and study painting behavior. | 476 // and study painting behavior. |
| 472 const char kShowPaintRects[] = "show-paint-rects"; | 477 const char kShowPaintRects[] = "show-paint-rects"; |
| 473 | 478 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 568 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 573 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 569 #endif | 574 #endif |
| 570 | 575 |
| 571 // Enable per-tile page painting. | 576 // Enable per-tile page painting. |
| 572 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 577 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
| 573 | 578 |
| 574 // Disables the use of a 3D software rasterizer. | 579 // Disables the use of a 3D software rasterizer. |
| 575 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 580 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
| 576 | 581 |
| 577 } // namespace switches | 582 } // namespace switches |
| OLD | NEW |