| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 // Enables device motion events. | 315 // Enables device motion events. |
| 316 const char kEnableDeviceMotion[] = "enable-device-motion"; | 316 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 317 | 317 |
| 318 // Enables restarting interrupted downloads. | 318 // Enables restarting interrupted downloads. |
| 319 const char kEnableDownloadResumption[] = "enable-download-resumption"; | 319 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
| 320 | 320 |
| 321 // Enables WebKit features that are in development. | 321 // Enables WebKit features that are in development. |
| 322 const char kEnableExperimentalWebKitFeatures[] = | 322 const char kEnableExperimentalWebKitFeatures[] = |
| 323 "enable-experimental-webkit-features"; | 323 "enable-experimental-webkit-features"; |
| 324 | 324 |
| 325 // Enables the CSS multicol implementation that uses the regions implementation. |
| 326 const char kEnableRegionBasedColumns[] = |
| 327 "enable-region-based-columns"; |
| 328 |
| 325 // Disables the threaded HTML parser in WebKit | 329 // Disables the threaded HTML parser in WebKit |
| 326 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 330 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
| 327 | 331 |
| 328 // By default, a page is laid out to fill the entire width of the window. | 332 // By default, a page is laid out to fill the entire width of the window. |
| 329 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 333 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
| 330 // or to a specified width and height using --enable-fixed-layout=w,h | 334 // or to a specified width and height using --enable-fixed-layout=w,h |
| 331 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 335 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
| 332 | 336 |
| 333 // Disable the JavaScript Full Screen API. | 337 // Disable the JavaScript Full Screen API. |
| 334 const char kDisableFullScreen[] = "disable-fullscreen"; | 338 const char kDisableFullScreen[] = "disable-fullscreen"; |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 // Forward overscroll event data from the renderer to the browser. | 857 // Forward overscroll event data from the renderer to the browser. |
| 854 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 858 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 855 | 859 |
| 856 // Enables 'image/webp' accept header for image requests. | 860 // Enables 'image/webp' accept header for image requests. |
| 857 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 861 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 858 | 862 |
| 859 // Enables WebGL extensions not yet approved by the community. | 863 // Enables WebGL extensions not yet approved by the community. |
| 860 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 864 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 861 | 865 |
| 862 } // namespace switches | 866 } // namespace switches |
| OLD | NEW |