| 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 // 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 // Disable session storage. | 159 // Disable session storage. |
| 160 const char kDisableSessionStorage[] = "disable-session-storage"; | 160 const char kDisableSessionStorage[] = "disable-session-storage"; |
| 161 | 161 |
| 162 // Enable shared workers. Functionality not yet complete. | 162 // Enable shared workers. Functionality not yet complete. |
| 163 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 163 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
| 164 | 164 |
| 165 // Disables speech input. | 165 // Disables speech input. |
| 166 const char kDisableSpeechInput[] = "disable-speech-input"; | 166 const char kDisableSpeechInput[] = "disable-speech-input"; |
| 167 | 167 |
| 168 // Disable Spellcheck API. | |
| 169 const char kDisableSpellcheckAPI[] = "disable-spellcheck-api"; | |
| 170 | |
| 171 // Disable web audio API. | 168 // Disable web audio API. |
| 172 const char kDisableWebAudio[] = "disable-webaudio"; | 169 const char kDisableWebAudio[] = "disable-webaudio"; |
| 173 | 170 |
| 174 // Disable Web Sockets support. | 171 // Disable Web Sockets support. |
| 175 const char kDisableWebSockets[] = "disable-web-sockets"; | 172 const char kDisableWebSockets[] = "disable-web-sockets"; |
| 176 | 173 |
| 177 // Enable gpu-accelerated 2d canvas. | 174 // Enable gpu-accelerated 2d canvas. |
| 178 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; | 175 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; |
| 179 | 176 |
| 180 // Enable hardware accelerated page painting. | 177 // Enable hardware accelerated page painting. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 203 | 200 |
| 204 // Enable the JavaScript Full Screen API. | 201 // Enable the JavaScript Full Screen API. |
| 205 const char kDisableFullScreen[] = "disable-fullscreen"; | 202 const char kDisableFullScreen[] = "disable-fullscreen"; |
| 206 | 203 |
| 207 // Enable the JavaScript Pointer Lock API. | 204 // Enable the JavaScript Pointer Lock API. |
| 208 const char kEnablePointerLock[] = "enable-pointer-lock"; | 205 const char kEnablePointerLock[] = "enable-pointer-lock"; |
| 209 | 206 |
| 210 // Enable the Gamepad API | 207 // Enable the Gamepad API |
| 211 const char kEnableGamepad[] = "enable-gamepad"; | 208 const char kEnableGamepad[] = "enable-gamepad"; |
| 212 | 209 |
| 213 // Enable the GPU plugin and Pepper 3D rendering. | |
| 214 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; | |
| 215 | |
| 216 // Force logging to be enabled. Logging is disabled by default in release | 210 // Force logging to be enabled. Logging is disabled by default in release |
| 217 // builds. | 211 // builds. |
| 218 const char kEnableLogging[] = "enable-logging"; | 212 const char kEnableLogging[] = "enable-logging"; |
| 219 | 213 |
| 220 // Enables Media Source API on <audio>/<video> elements. | 214 // Enables Media Source API on <audio>/<video> elements. |
| 221 const char kEnableMediaSource[] = "enable-media-source"; | 215 const char kEnableMediaSource[] = "enable-media-source"; |
| 222 | 216 |
| 223 // Enable media stream in WebKit. | 217 // Enable media stream in WebKit. |
| 224 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam | 218 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam |
| 225 const char kEnableMediaStream[] = "enable-media-stream"; | 219 const char kEnableMediaStream[] = "enable-media-stream"; |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 559 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 566 #endif | 560 #endif |
| 567 | 561 |
| 568 // Enable per-tile page painting. | 562 // Enable per-tile page painting. |
| 569 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 563 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
| 570 | 564 |
| 571 // Disables the use of a 3D software rasterizer. | 565 // Disables the use of a 3D software rasterizer. |
| 572 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 566 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
| 573 | 567 |
| 574 } // namespace switches | 568 } // namespace switches |
| OLD | NEW |