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 | 301 // Disables the threaded HTML parser in WebKit |
302 const char kEnableThreadedHTMLParser[] = "enable-threaded-html-parser"; | 302 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
303 | 303 |
304 // Enables the fastback page cache. | 304 // Enables the fastback page cache. |
305 const char kEnableFastback[] = "enable-fastback"; | 305 const char kEnableFastback[] = "enable-fastback"; |
306 | 306 |
307 // 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. |
308 // 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, |
309 // 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 |
310 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 310 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
311 | 311 |
312 // Disable the JavaScript Full Screen API. | 312 // Disable the JavaScript Full Screen API. |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 = "disable-fixed-position-creates-stacking-context"; | 797 = "disable-fixed-position-creates-stacking-context"; |
798 | 798 |
799 // Defer image decoding in WebKit until painting. | 799 // Defer image decoding in WebKit until painting. |
800 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 800 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
801 | 801 |
802 // Disables history navigation in response to horizontal overscroll. | 802 // Disables history navigation in response to horizontal overscroll. |
803 const char kDisableOverscrollHistoryNavigation[] = | 803 const char kDisableOverscrollHistoryNavigation[] = |
804 "disable-overscroll-history-navigation"; | 804 "disable-overscroll-history-navigation"; |
805 | 805 |
806 } // namespace switches | 806 } // namespace switches |
OLD | NEW |