Chromium Code Reviews| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 62 | 62 |
| 63 // Disable pop-up blocking. | 63 // Disable pop-up blocking. |
| 64 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 64 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
| 65 | 65 |
| 66 // Disable the seccomp sandbox (Linux only) | 66 // Disable the seccomp sandbox (Linux only) |
| 67 const char kDisableSeccompSandbox[] = "disable-seccomp-sandbox"; | 67 const char kDisableSeccompSandbox[] = "disable-seccomp-sandbox"; |
| 68 | 68 |
| 69 // Disable Web Sockets support. | 69 // Disable Web Sockets support. |
| 70 const char kDisableWebSockets[] = "disable-web-sockets"; | 70 const char kDisableWebSockets[] = "disable-web-sockets"; |
| 71 | 71 |
| 72 // Enable hardware accelerated page drawing. | |
| 73 // Please note that this flag is honored only if chromium is compiled with | |
| 74 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 | |
| 75 // in build/features_override.gypi. | |
| 76 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; | |
|
darin (slow to review)
2011/04/07 18:22:03
nit: please note the indentation of the "=" sign.
alokp
2011/04/07 18:59:19
Done. Does it really improve readability?
| |
| 77 | |
| 72 // Enables the benchmarking extensions. | 78 // Enables the benchmarking extensions. |
| 73 const char kEnableBenchmarking[] = "enable-benchmarking"; | 79 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 74 | 80 |
| 75 // Enable the GPU plugin and Pepper 3D rendering. | 81 // Enable the GPU plugin and Pepper 3D rendering. |
| 76 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; | 82 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; |
| 77 | 83 |
| 78 // Force logging to be enabled. Logging is disabled by default in release | 84 // Force logging to be enabled. Logging is disabled by default in release |
| 79 // builds. | 85 // builds. |
| 80 const char kEnableLogging[] = "enable-logging"; | 86 const char kEnableLogging[] = "enable-logging"; |
| 81 | 87 |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 268 | 274 |
| 269 // Causes the process to run as a worker subprocess. | 275 // Causes the process to run as a worker subprocess. |
| 270 const char kWorkerProcess[] = "worker"; | 276 const char kWorkerProcess[] = "worker"; |
| 271 | 277 |
| 272 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 278 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
| 273 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 279 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
| 274 | 280 |
| 275 // Causes the process to run as a renderer zygote. | 281 // Causes the process to run as a renderer zygote. |
| 276 const char kZygoteProcess[] = "zygote"; | 282 const char kZygoteProcess[] = "zygote"; |
| 277 } // namespace switches | 283 } // namespace switches |
| OLD | NEW |