| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 | 456 |
| 457 // Causes the renderer process to display a dialog on launch. | 457 // Causes the renderer process to display a dialog on launch. |
| 458 const char kRendererStartupDialog[] = "renderer-startup-dialog"; | 458 const char kRendererStartupDialog[] = "renderer-startup-dialog"; |
| 459 | 459 |
| 460 // Causes the process to run as a service process. | 460 // Causes the process to run as a service process. |
| 461 const char kServiceProcess[] = "service"; | 461 const char kServiceProcess[] = "service"; |
| 462 | 462 |
| 463 // Visibly render a border around paint rects in the web page to help debug | 463 // Visibly render a border around paint rects in the web page to help debug |
| 464 // and study painting behavior. | 464 // and study painting behavior. |
| 465 const char kShowPaintRects[] = "show-paint-rects"; | 465 const char kShowPaintRects[] = "show-paint-rects"; |
| 466 // | |
| 467 // TODO(scherkus): remove --simple-data-source when our media resource loading | |
| 468 // is cleaned up and playback testing completed. | |
| 469 const char kSimpleDataSource[] = "simple-data-source"; | |
| 470 | 466 |
| 471 // Runs the renderer and plugins in the same process as the browser | 467 // Runs the renderer and plugins in the same process as the browser |
| 472 const char kSingleProcess[] = "single-process"; | 468 const char kSingleProcess[] = "single-process"; |
| 473 | 469 |
| 474 // Skip gpu info collection, blacklist loading, and blacklist auto-update | 470 // Skip gpu info collection, blacklist loading, and blacklist auto-update |
| 475 // scheduling at browser startup time. | 471 // scheduling at browser startup time. |
| 476 // Therefore, all GPU features are available, and about:gpu page shows empty | 472 // Therefore, all GPU features are available, and about:gpu page shows empty |
| 477 // content. The switch is intended only for tests. | 473 // content. The switch is intended only for tests. |
| 478 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | 474 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; |
| 479 | 475 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 | 558 |
| 563 #if !defined(OFFICIAL_BUILD) | 559 #if !defined(OFFICIAL_BUILD) |
| 564 // Causes the renderer process to throw an assertion on launch. | 560 // Causes the renderer process to throw an assertion on launch. |
| 565 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 561 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 566 #endif | 562 #endif |
| 567 | 563 |
| 568 // Enable per-tile page painting. | 564 // Enable per-tile page painting. |
| 569 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 565 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
| 570 | 566 |
| 571 } // namespace switches | 567 } // namespace switches |
| OLD | NEW |