| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 const char kEnableDeviceMotion[] = "enable-device-motion"; | 328 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 329 | 329 |
| 330 #if defined(OS_ANDROID) | 330 #if defined(OS_ANDROID) |
| 331 // Disables device motion events. | 331 // Disables device motion events. |
| 332 const char kDisableDeviceMotion[] = "disable-device-motion"; | 332 const char kDisableDeviceMotion[] = "disable-device-motion"; |
| 333 #endif | 333 #endif |
| 334 | 334 |
| 335 // Enables restarting interrupted downloads. | 335 // Enables restarting interrupted downloads. |
| 336 const char kEnableDownloadResumption[] = "enable-download-resumption"; | 336 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
| 337 | 337 |
| 338 #if defined(OS_CHROMEOS) | |
| 339 // Enables hardware-encoded screen capture. | |
| 340 const char kEnableEncodedScreenCapture[] = "enable-encoded-screen-capture"; | |
| 341 #endif | |
| 342 | |
| 343 // Enables Web Platform features that are in development. | 338 // Enables Web Platform features that are in development. |
| 344 const char kEnableExperimentalWebPlatformFeatures[] = | 339 const char kEnableExperimentalWebPlatformFeatures[] = |
| 345 "enable-experimental-web-platform-features"; | 340 "enable-experimental-web-platform-features"; |
| 346 | 341 |
| 347 // Enables the CSS multicol implementation that uses the regions implementation. | 342 // Enables the CSS multicol implementation that uses the regions implementation. |
| 348 const char kEnableRegionBasedColumns[] = | 343 const char kEnableRegionBasedColumns[] = |
| 349 "enable-region-based-columns"; | 344 "enable-region-based-columns"; |
| 350 | 345 |
| 351 // Disables the threaded HTML parser in WebKit | 346 // Disables the threaded HTML parser in WebKit |
| 352 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 347 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
| (...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 906 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 901 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 907 | 902 |
| 908 // Enables/disables accelerated compositing for backgrounds of root layers with | 903 // Enables/disables accelerated compositing for backgrounds of root layers with |
| 909 // background-attachment: fixed. Requires kForceCompositingMode. | 904 // background-attachment: fixed. Requires kForceCompositingMode. |
| 910 const char kDisableAcceleratedFixedRootBackground[] = | 905 const char kDisableAcceleratedFixedRootBackground[] = |
| 911 "disable-accelerated-fixed-root-background"; | 906 "disable-accelerated-fixed-root-background"; |
| 912 const char kEnableAcceleratedFixedRootBackground[] = | 907 const char kEnableAcceleratedFixedRootBackground[] = |
| 913 "enable-accelerated-fixed-root-background"; | 908 "enable-accelerated-fixed-root-background"; |
| 914 | 909 |
| 915 } // namespace switches | 910 } // namespace switches |
| OLD | NEW |