| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 const char kEnableDeviceMotion[] = "enable-device-motion"; | 323 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 324 | 324 |
| 325 // Enables restarting interrupted downloads. | 325 // Enables restarting interrupted downloads. |
| 326 const char kEnableDownloadResumption[] = "enable-download-resumption"; | 326 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
| 327 | 327 |
| 328 #if defined(OS_CHROMEOS) | 328 #if defined(OS_CHROMEOS) |
| 329 // Enables hardware-encoded screen capture. | 329 // Enables hardware-encoded screen capture. |
| 330 const char kEnableEncodedScreenCapture[] = "enable-encoded-screen-capture"; | 330 const char kEnableEncodedScreenCapture[] = "enable-encoded-screen-capture"; |
| 331 #endif | 331 #endif |
| 332 | 332 |
| 333 // Enables WebKit features that are in development. | 333 // Enables Web Platform features that are in development. |
| 334 const char kEnableExperimentalWebKitFeatures[] = | 334 const char kEnableExperimentalWebPlatformFeatures[] = |
| 335 "enable-experimental-webkit-features"; | 335 "enable-experimental-web-platform-features"; |
| 336 | 336 |
| 337 // Enables the CSS multicol implementation that uses the regions implementation. | 337 // Enables the CSS multicol implementation that uses the regions implementation. |
| 338 const char kEnableRegionBasedColumns[] = | 338 const char kEnableRegionBasedColumns[] = |
| 339 "enable-region-based-columns"; | 339 "enable-region-based-columns"; |
| 340 | 340 |
| 341 // Disables the threaded HTML parser in WebKit | 341 // Disables the threaded HTML parser in WebKit |
| 342 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 342 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
| 343 | 343 |
| 344 // By default, a page is laid out to fill the entire width of the window. | 344 // By default, a page is laid out to fill the entire width of the window. |
| 345 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 345 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 874 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 875 | 875 |
| 876 // Enables/disables accelerated compositing for backgrounds of root layers with | 876 // Enables/disables accelerated compositing for backgrounds of root layers with |
| 877 // background-attachment: fixed. Requires kForceCompositingMode. | 877 // background-attachment: fixed. Requires kForceCompositingMode. |
| 878 const char kDisableAcceleratedFixedRootBackground[] = | 878 const char kDisableAcceleratedFixedRootBackground[] = |
| 879 "disable-accelerated-fixed-root-background"; | 879 "disable-accelerated-fixed-root-background"; |
| 880 const char kEnableAcceleratedFixedRootBackground[] = | 880 const char kEnableAcceleratedFixedRootBackground[] = |
| 881 "enable-accelerated-fixed-root-background"; | 881 "enable-accelerated-fixed-root-background"; |
| 882 | 882 |
| 883 } // namespace switches | 883 } // namespace switches |
| OLD | NEW |