| 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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| 10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // Disable the use of an ImageTransportSurface. This means the GPU process | 233 // Disable the use of an ImageTransportSurface. This means the GPU process |
| 234 // will present the rendered page rather than the browser process. | 234 // will present the rendered page rather than the browser process. |
| 235 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; | 235 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; |
| 236 | 236 |
| 237 // Prevent Java from running. | 237 // Prevent Java from running. |
| 238 const char kDisableJava[] = "disable-java"; | 238 const char kDisableJava[] = "disable-java"; |
| 239 | 239 |
| 240 // Don't execute JavaScript (browser JS like the new tab page still runs). | 240 // Don't execute JavaScript (browser JS like the new tab page still runs). |
| 241 const char kDisableJavaScript[] = "disable-javascript"; | 241 const char kDisableJavaScript[] = "disable-javascript"; |
| 242 | 242 |
| 243 // Don't kill a child process when it sends a bad IPC message. Apart |
| 244 // from testing, it is a bad idea from a security perspective to enable |
| 245 // this switch. |
| 246 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; |
| 247 |
| 243 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). | 248 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). |
| 244 const char kDisablePrefixedEncryptedMedia[] = | 249 const char kDisablePrefixedEncryptedMedia[] = |
| 245 "disable-prefixed-encrypted-media"; | 250 "disable-prefixed-encrypted-media"; |
| 246 | 251 |
| 247 // Disable LocalStorage. | 252 // Disable LocalStorage. |
| 248 const char kDisableLocalStorage[] = "disable-local-storage"; | 253 const char kDisableLocalStorage[] = "disable-local-storage"; |
| 249 | 254 |
| 250 // Force logging to be disabled. Logging is enabled by default in debug | 255 // Force logging to be disabled. Logging is enabled by default in debug |
| 251 // builds. | 256 // builds. |
| 252 const char kDisableLogging[] = "disable-logging"; | 257 const char kDisableLogging[] = "disable-logging"; |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 #endif | 1022 #endif |
| 1018 | 1023 |
| 1019 #if defined(OS_POSIX) | 1024 #if defined(OS_POSIX) |
| 1020 // Causes the child processes to cleanly exit via calling exit(). | 1025 // Causes the child processes to cleanly exit via calling exit(). |
| 1021 const char kChildCleanExit[] = "child-clean-exit"; | 1026 const char kChildCleanExit[] = "child-clean-exit"; |
| 1022 #endif | 1027 #endif |
| 1023 | 1028 |
| 1024 // Don't dump stuff here, follow the same order as the header. | 1029 // Don't dump stuff here, follow the same order as the header. |
| 1025 | 1030 |
| 1026 } // namespace switches | 1031 } // namespace switches |
| OLD | NEW |