| 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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 // pinch gestures. | 461 // pinch gestures. |
| 462 const char kEnableViewport[] = "enable-viewport"; | 462 const char kEnableViewport[] = "enable-viewport"; |
| 463 | 463 |
| 464 // Enables experimental features for the geolocation API. | 464 // Enables experimental features for the geolocation API. |
| 465 // Current features: | 465 // Current features: |
| 466 // - CoreLocation support for Mac OS X 10.6 | 466 // - CoreLocation support for Mac OS X 10.6 |
| 467 // - Gateway location for Linux and Windows | 467 // - Gateway location for Linux and Windows |
| 468 // - Location platform support for Windows 7 | 468 // - Location platform support for Windows 7 |
| 469 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 469 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
| 470 | 470 |
| 471 // Exposes the window.internals object to JavaScript for interactive development |
| 472 // and debugging of layout tests that rely on it. For testing only, since |
| 473 // (like other testing flags) it has security implications. |
| 474 const char kExposeInternalsForTesting[] = "expose-internals-for-testing"; |
| 475 |
| 471 // If accelerated compositing is supported, always enter compositing mode for | 476 // If accelerated compositing is supported, always enter compositing mode for |
| 472 // the base layer even when compositing is not strictly required. | 477 // the base layer even when compositing is not strictly required. |
| 473 const char kForceCompositingMode[] = "force-compositing-mode"; | 478 const char kForceCompositingMode[] = "force-compositing-mode"; |
| 474 | 479 |
| 475 // This flag disables force compositing mode and prevents it from being enabled | 480 // This flag disables force compositing mode and prevents it from being enabled |
| 476 // via field trials. | 481 // via field trials. |
| 477 const char kDisableForceCompositingMode[] = "disable-force-compositing-mode"; | 482 const char kDisableForceCompositingMode[] = "disable-force-compositing-mode"; |
| 478 | 483 |
| 479 // Some field trials may be randomized in the browser, and the randomly selected | 484 // Some field trials may be randomized in the browser, and the randomly selected |
| 480 // outcome needs to be propagated to the renderer. For instance, this is used | 485 // outcome needs to be propagated to the renderer. For instance, this is used |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 860 const char kOverscrollHistoryNavigation[] = | 865 const char kOverscrollHistoryNavigation[] = |
| 861 "overscroll-history-navigation"; | 866 "overscroll-history-navigation"; |
| 862 | 867 |
| 863 // Forward overscroll event data from the renderer to the browser. | 868 // Forward overscroll event data from the renderer to the browser. |
| 864 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 869 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 865 | 870 |
| 866 // Enables WebGL extensions not yet approved by the community. | 871 // Enables WebGL extensions not yet approved by the community. |
| 867 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 872 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 868 | 873 |
| 869 } // namespace switches | 874 } // namespace switches |
| OLD | NEW |