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