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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // be used by developers at the current time. | 189 // be used by developers at the current time. |
190 const char kEnableDNSCertProvenanceChecking[] = | 190 const char kEnableDNSCertProvenanceChecking[] = |
191 "enable-dns-cert-provenance-checking"; | 191 "enable-dns-cert-provenance-checking"; |
192 | 192 |
193 // Enables device motion events. | 193 // Enables device motion events. |
194 const char kEnableDeviceMotion[] = "enable-device-motion"; | 194 const char kEnableDeviceMotion[] = "enable-device-motion"; |
195 | 195 |
196 // Enable the JavaScript Full Screen API. | 196 // Enable the JavaScript Full Screen API. |
197 const char kDisableFullScreen[] = "disable-fullscreen"; | 197 const char kDisableFullScreen[] = "disable-fullscreen"; |
198 | 198 |
| 199 // Enable the JavaScript Pointer Lock API. |
| 200 const char kEnablePointerLock[] = "enable-pointer-lock"; |
| 201 |
199 // Enable the Gamepad API | 202 // Enable the Gamepad API |
200 const char kEnableGamepad[] = "enable-gamepad"; | 203 const char kEnableGamepad[] = "enable-gamepad"; |
201 | 204 |
202 // Enable the GPU plugin and Pepper 3D rendering. | 205 // Enable the GPU plugin and Pepper 3D rendering. |
203 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; | 206 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; |
204 | 207 |
205 // Force logging to be enabled. Logging is disabled by default in release | 208 // Force logging to be enabled. Logging is disabled by default in release |
206 // builds. | 209 // builds. |
207 const char kEnableLogging[] = "enable-logging"; | 210 const char kEnableLogging[] = "enable-logging"; |
208 | 211 |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 // instead of NSS for SSL. | 547 // instead of NSS for SSL. |
545 const char kUseSystemSSL[] = "use-system-ssl"; | 548 const char kUseSystemSSL[] = "use-system-ssl"; |
546 #endif | 549 #endif |
547 | 550 |
548 #if !defined(OFFICIAL_BUILD) | 551 #if !defined(OFFICIAL_BUILD) |
549 // Causes the renderer process to throw an assertion on launch. | 552 // Causes the renderer process to throw an assertion on launch. |
550 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 553 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
551 #endif | 554 #endif |
552 | 555 |
553 } // namespace switches | 556 } // namespace switches |
OLD | NEW |