| 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 // Enable Pepper and JavaScript P2P API. | 398 // Enable Pepper and JavaScript P2P API. |
| 404 const char kEnableP2PApi[] = "enable-p2papi"; | 399 const char kEnableP2PApi[] = "enable-p2papi"; |
| 405 #endif | 400 #endif |
| 406 | 401 |
| 407 #if !defined(OFFICIAL_BUILD) | 402 #if !defined(OFFICIAL_BUILD) |
| 408 // Causes the renderer process to throw an assertion on launch. | 403 // Causes the renderer process to throw an assertion on launch. |
| 409 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 404 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 410 #endif | 405 #endif |
| 411 | 406 |
| 412 } // namespace switches | 407 } // namespace switches |
| OLD | NEW |