| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 // Enables device motion events. | 290 // Enables device motion events. |
| 291 const char kEnableDeviceMotion[] = "enable-device-motion"; | 291 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 292 | 292 |
| 293 // Enables restarting interrupted downloads. | 293 // Enables restarting interrupted downloads. |
| 294 const char kEnableDownloadResumption[] = "enable-download-resumption"; | 294 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
| 295 | 295 |
| 296 // Enables WebKit features that are in development. | 296 // Enables WebKit features that are in development. |
| 297 const char kEnableExperimentalWebKitFeatures[] = | 297 const char kEnableExperimentalWebKitFeatures[] = |
| 298 "enable-experimental-webkit-features"; | 298 "enable-experimental-webkit-features"; |
| 299 | 299 |
| 300 // Disables the threaded HTML parser in WebKit | 300 // Enables the threaded HTML parser in WebKit |
| 301 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 301 const char kEnableThreadedHTMLParser[] = "enable-threaded-html-parser"; |
| 302 | 302 |
| 303 // Enables the fastback page cache. | 303 // Enables the fastback page cache. |
| 304 const char kEnableFastback[] = "enable-fastback"; | 304 const char kEnableFastback[] = "enable-fastback"; |
| 305 | 305 |
| 306 // By default, a page is laid out to fill the entire width of the window. | 306 // By default, a page is laid out to fill the entire width of the window. |
| 307 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 307 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
| 308 // or to a specified width and height using --enable-fixed-layout=w,h | 308 // or to a specified width and height using --enable-fixed-layout=w,h |
| 309 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 309 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
| 310 | 310 |
| 311 // Disable the JavaScript Full Screen API. | 311 // Disable the JavaScript Full Screen API. |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 = "disable-fixed-position-creates-stacking-context"; | 796 = "disable-fixed-position-creates-stacking-context"; |
| 797 | 797 |
| 798 // Defer image decoding in WebKit until painting. | 798 // Defer image decoding in WebKit until painting. |
| 799 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 799 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 800 | 800 |
| 801 // Disables history navigation in response to horizontal overscroll. | 801 // Disables history navigation in response to horizontal overscroll. |
| 802 const char kDisableOverscrollHistoryNavigation[] = | 802 const char kDisableOverscrollHistoryNavigation[] = |
| 803 "disable-overscroll-history-navigation"; | 803 "disable-overscroll-history-navigation"; |
| 804 | 804 |
| 805 } // namespace switches | 805 } // namespace switches |
| OLD | NEW |