| 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/common/content_switches.h" | 5 #include "content/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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 // Disable the GLSL translator. | 63 // Disable the GLSL translator. |
| 64 const char kDisableGLSLTranslator[] = "disable-glsl-translator"; | 64 const char kDisableGLSLTranslator[] = "disable-glsl-translator"; |
| 65 | 65 |
| 66 // Disable the GPU process sandbox. | 66 // Disable the GPU process sandbox. |
| 67 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; | 67 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; |
| 68 | 68 |
| 69 // Disable the thread that crashes the GPU process if it stops responding to | 69 // Disable the thread that crashes the GPU process if it stops responding to |
| 70 // messages. | 70 // messages. |
| 71 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; | 71 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; |
| 72 | 72 |
| 73 // Temporary flag to disable hole punching for accelerated surfaces. This is | |
| 74 // here to aid debugging eventual problems, it can be removed once hole punching | |
| 75 // has been out there for a few dev channel releases without problems. | |
| 76 const char kDisableHolePunching[] = "disable-hole-punching"; | |
| 77 | |
| 78 // Disable the Indexed Database API. | 73 // Disable the Indexed Database API. |
| 79 const char kDisableIndexedDatabase[] = "disable-indexed-database"; | 74 const char kDisableIndexedDatabase[] = "disable-indexed-database"; |
| 80 | 75 |
| 81 // Prevent Java from running. | 76 // Prevent Java from running. |
| 82 const char kDisableJava[] = "disable-java"; | 77 const char kDisableJava[] = "disable-java"; |
| 83 | 78 |
| 84 // Don't execute JavaScript (browser JS like the new tab page still runs). | 79 // Don't execute JavaScript (browser JS like the new tab page still runs). |
| 85 const char kDisableJavaScript[] = "disable-javascript"; | 80 const char kDisableJavaScript[] = "disable-javascript"; |
| 86 | 81 |
| 87 // Disable JavaScript I18N API. | 82 // Disable JavaScript I18N API. |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 | 390 |
| 396 // Causes the process to run as a renderer zygote. | 391 // Causes the process to run as a renderer zygote. |
| 397 const char kZygoteProcess[] = "zygote"; | 392 const char kZygoteProcess[] = "zygote"; |
| 398 | 393 |
| 399 #if !defined(OFFICIAL_BUILD) | 394 #if !defined(OFFICIAL_BUILD) |
| 400 // Causes the renderer process to throw an assertion on launch. | 395 // Causes the renderer process to throw an assertion on launch. |
| 401 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 396 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 402 #endif | 397 #endif |
| 403 | 398 |
| 404 } // namespace switches | 399 } // namespace switches |
| OLD | NEW |