| 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 | 524 |
| 525 // Enables Web MIDI API. | 525 // Enables Web MIDI API. |
| 526 const char kEnableWebMIDI[] = "enable-web-midi"; | 526 const char kEnableWebMIDI[] = "enable-web-midi"; |
| 527 | 527 |
| 528 // Enable WebRTC to open TCP server sockets. | 528 // Enable WebRTC to open TCP server sockets. |
| 529 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 529 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
| 530 | 530 |
| 531 // Enables experimental features for the geolocation API. | 531 // Enables experimental features for the geolocation API. |
| 532 // Current features: | 532 // Current features: |
| 533 // - CoreLocation support for Mac OS X 10.6 | 533 // - CoreLocation support for Mac OS X 10.6 |
| 534 // - Gateway location for Linux and Windows | |
| 535 // - Location platform support for Windows 7 | |
| 536 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 534 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
| 537 | 535 |
| 538 // Load NPAPI plugins from the specified directory. | 536 // Load NPAPI plugins from the specified directory. |
| 539 const char kExtraPluginDir[] = "extra-plugin-dir"; | 537 const char kExtraPluginDir[] = "extra-plugin-dir"; |
| 540 | 538 |
| 541 // If accelerated compositing is supported, always enter compositing mode for | 539 // If accelerated compositing is supported, always enter compositing mode for |
| 542 // the base layer even when compositing is not strictly required. | 540 // the base layer even when compositing is not strictly required. |
| 543 const char kForceCompositingMode[] = "force-compositing-mode"; | 541 const char kForceCompositingMode[] = "force-compositing-mode"; |
| 544 | 542 |
| 545 // Some field trials may be randomized in the browser, and the randomly selected | 543 // Some field trials may be randomized in the browser, and the randomly selected |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 923 #endif | 921 #endif |
| 924 | 922 |
| 925 #if defined(USE_AURA) | 923 #if defined(USE_AURA) |
| 926 // Forces usage of the test compositor. Needed to run ui tests on bots. | 924 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 927 extern const char kTestCompositor[] = "test-compositor"; | 925 extern const char kTestCompositor[] = "test-compositor"; |
| 928 #endif | 926 #endif |
| 929 | 927 |
| 930 // Don't dump stuff here, follow the same order as the header. | 928 // Don't dump stuff here, follow the same order as the header. |
| 931 | 929 |
| 932 } // namespace switches | 930 } // namespace switches |
| OLD | NEW |