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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 131 | 131 |
| 132 // Enable shared workers. Functionality not yet complete. | 132 // Enable shared workers. Functionality not yet complete. |
| 133 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 133 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
| 134 | 134 |
| 135 // Disables speech input. | 135 // Disables speech input. |
| 136 const char kDisableSpeechInput[] = "disable-speech-input"; | 136 const char kDisableSpeechInput[] = "disable-speech-input"; |
| 137 | 137 |
| 138 // Disable Spellcheck API. | 138 // Disable Spellcheck API. |
| 139 const char kDisableSpellcheckAPI[] = "disable-spellcheck-api"; | 139 const char kDisableSpellcheckAPI[] = "disable-spellcheck-api"; |
| 140 | 140 |
| 141 // Disable web audio API. | |
| 142 const char kDisableWebAudio[] = "disable-webaudio"; | |
|
Ken Russell (switch to Gerrit)
2011/06/27 20:40:00
'=' sign doesn't line up.
| |
| 143 | |
| 141 // Disable Web Sockets support. | 144 // Disable Web Sockets support. |
| 142 const char kDisableWebSockets[] = "disable-web-sockets"; | 145 const char kDisableWebSockets[] = "disable-web-sockets"; |
| 143 | 146 |
| 144 // Enable gpu-accelerated 2d canvas. | 147 // Enable gpu-accelerated 2d canvas. |
| 145 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; | 148 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; |
| 146 | 149 |
| 147 // Enable hardware accelerated page drawing. | 150 // Enable hardware accelerated page drawing. |
| 148 // Please note that this flag is honored only if chromium is compiled with | 151 // Please note that this flag is honored only if chromium is compiled with |
| 149 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 | 152 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 |
| 150 // in build/features_override.gypi. | 153 // in build/features_override.gypi. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 192 const char kEnableStatsTable[] = "enable-stats-table"; | 195 const char kEnableStatsTable[] = "enable-stats-table"; |
| 193 | 196 |
| 194 // Enables support for fullscreen video. Current implementation is | 197 // Enables support for fullscreen video. Current implementation is |
| 195 // incomplete and this flag is used for development and testing. | 198 // incomplete and this flag is used for development and testing. |
| 196 const char kEnableVideoFullscreen[] = "enable-video-fullscreen"; | 199 const char kEnableVideoFullscreen[] = "enable-video-fullscreen"; |
| 197 | 200 |
| 198 // Enables video logging where video elements log playback performance data to | 201 // Enables video logging where video elements log playback performance data to |
| 199 // the debug log. | 202 // the debug log. |
| 200 const char kEnableVideoLogging[] = "enable-video-logging"; | 203 const char kEnableVideoLogging[] = "enable-video-logging"; |
| 201 | 204 |
| 202 // Enable web audio API. | |
| 203 const char kEnableWebAudio[] = "enable-webaudio"; | |
| 204 | |
| 205 // Enables experimental features for the geolocation API. | 205 // Enables experimental features for the geolocation API. |
| 206 // Current features: | 206 // Current features: |
| 207 // - CoreLocation support for Mac OS X 10.6 | 207 // - CoreLocation support for Mac OS X 10.6 |
| 208 // - Gateway location for Linux and Windows | 208 // - Gateway location for Linux and Windows |
| 209 // - Location platform support for Windows 7 | 209 // - Location platform support for Windows 7 |
| 210 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 210 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
| 211 | 211 |
| 212 // Load NPAPI plugins from the specified directory. | 212 // Load NPAPI plugins from the specified directory. |
| 213 const char kExtraPluginDir[] = "extra-plugin-dir"; | 213 const char kExtraPluginDir[] = "extra-plugin-dir"; |
| 214 | 214 |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 463 // Enable Pepper and JavaScript P2P API. | 463 // Enable Pepper and JavaScript P2P API. |
| 464 const char kEnableP2PApi[] = "enable-p2papi"; | 464 const char kEnableP2PApi[] = "enable-p2papi"; |
| 465 #endif | 465 #endif |
| 466 | 466 |
| 467 #if !defined(OFFICIAL_BUILD) | 467 #if !defined(OFFICIAL_BUILD) |
| 468 // Causes the renderer process to throw an assertion on launch. | 468 // Causes the renderer process to throw an assertion on launch. |
| 469 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 469 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 470 #endif | 470 #endif |
| 471 | 471 |
| 472 } // namespace switches | 472 } // namespace switches |
| OLD | NEW |