| 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/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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 // Enable the JavaScript Full Screen API. | 192 // Enable the JavaScript Full Screen API. |
| 193 const char kDisableFullScreen[] = "disable-fullscreen"; | 193 const char kDisableFullScreen[] = "disable-fullscreen"; |
| 194 | 194 |
| 195 // Enable the GPU plugin and Pepper 3D rendering. | 195 // Enable the GPU plugin and Pepper 3D rendering. |
| 196 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; | 196 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; |
| 197 | 197 |
| 198 // Force logging to be enabled. Logging is disabled by default in release | 198 // Force logging to be enabled. Logging is disabled by default in release |
| 199 // builds. | 199 // builds. |
| 200 const char kEnableLogging[] = "enable-logging"; | 200 const char kEnableLogging[] = "enable-logging"; |
| 201 | 201 |
| 202 // Enables Media Source API on <audio>/<video> elements. |
| 203 const char kEnableMediaSource[] = "enable-media-source"; |
| 204 |
| 202 // Enable media stream in WebKit. | 205 // Enable media stream in WebKit. |
| 203 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam | 206 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam |
| 204 const char kEnableMediaStream[] = "enable-media-stream"; | 207 const char kEnableMediaStream[] = "enable-media-stream"; |
| 205 | 208 |
| 206 // On Windows, converts the page to the currently-installed monitor profile. | 209 // On Windows, converts the page to the currently-installed monitor profile. |
| 207 // This does NOT enable color management for images. The source is still | 210 // This does NOT enable color management for images. The source is still |
| 208 // assumed to be sRGB. | 211 // assumed to be sRGB. |
| 209 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 212 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 210 | 213 |
| 211 // Enables TLS origin bound certificate extension. | 214 // Enables TLS origin bound certificate extension. |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 // instead of NSS for SSL. | 506 // instead of NSS for SSL. |
| 504 const char kUseSystemSSL[] = "use-system-ssl"; | 507 const char kUseSystemSSL[] = "use-system-ssl"; |
| 505 #endif | 508 #endif |
| 506 | 509 |
| 507 #if !defined(OFFICIAL_BUILD) | 510 #if !defined(OFFICIAL_BUILD) |
| 508 // Causes the renderer process to throw an assertion on launch. | 511 // Causes the renderer process to throw an assertion on launch. |
| 509 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 512 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 510 #endif | 513 #endif |
| 511 | 514 |
| 512 } // namespace switches | 515 } // namespace switches |
| OLD | NEW |