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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // be used by developers at the current time. | 185 // be used by developers at the current time. |
186 const char kEnableDNSCertProvenanceChecking[] = | 186 const char kEnableDNSCertProvenanceChecking[] = |
187 "enable-dns-cert-provenance-checking"; | 187 "enable-dns-cert-provenance-checking"; |
188 | 188 |
189 // Enables device motion events. | 189 // Enables device motion events. |
190 const char kEnableDeviceMotion[] = "enable-device-motion"; | 190 const char kEnableDeviceMotion[] = "enable-device-motion"; |
191 | 191 |
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 Gamepad API |
| 196 const char kEnableGamepad[] = "enable-gamepad"; |
| 197 |
195 // Enable the GPU plugin and Pepper 3D rendering. | 198 // Enable the GPU plugin and Pepper 3D rendering. |
196 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; | 199 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; |
197 | 200 |
198 // Force logging to be enabled. Logging is disabled by default in release | 201 // Force logging to be enabled. Logging is disabled by default in release |
199 // builds. | 202 // builds. |
200 const char kEnableLogging[] = "enable-logging"; | 203 const char kEnableLogging[] = "enable-logging"; |
201 | 204 |
202 // Enables Media Source API on <audio>/<video> elements. | 205 // Enables Media Source API on <audio>/<video> elements. |
203 const char kEnableMediaSource[] = "enable-media-source"; | 206 const char kEnableMediaSource[] = "enable-media-source"; |
204 | 207 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 // instead of NSS for SSL. | 511 // instead of NSS for SSL. |
509 const char kUseSystemSSL[] = "use-system-ssl"; | 512 const char kUseSystemSSL[] = "use-system-ssl"; |
510 #endif | 513 #endif |
511 | 514 |
512 #if !defined(OFFICIAL_BUILD) | 515 #if !defined(OFFICIAL_BUILD) |
513 // Causes the renderer process to throw an assertion on launch. | 516 // Causes the renderer process to throw an assertion on launch. |
514 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 517 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
515 #endif | 518 #endif |
516 | 519 |
517 } // namespace switches | 520 } // namespace switches |
OLD | NEW |