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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
295 | 295 |
296 // Enables delegated renderer. | 296 // Enables delegated renderer. |
297 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; | 297 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
298 | 298 |
299 // Enables device motion events. | 299 // Enables device motion events. |
300 const char kEnableDeviceMotion[] = "enable-device-motion"; | 300 const char kEnableDeviceMotion[] = "enable-device-motion"; |
301 | 301 |
302 // Enables restarting interrupted downloads. | 302 // Enables restarting interrupted downloads. |
303 const char kEnableDownloadResumption[] = "enable-download-resumption"; | 303 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
304 | 304 |
305 // Enables WebKit features that are in development. | 305 // Enables Web Platform features that are in development. |
306 const char kEnableExperimentalWebKitFeatures[] = | 306 const char kEnableExperimentalWebPlatformFeatures[] = |
307 "enable-experimental-webkit-features"; | 307 "enable-experimental-web-platform-features"; |
jochen (gone - plz use gerrit)
2013/05/07 09:41:14
you will probably want keep the old switch around
| |
308 | 308 |
309 // Disables the threaded HTML parser in WebKit | 309 // Disables the threaded HTML parser in WebKit |
310 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 310 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
311 | 311 |
312 // By default, a page is laid out to fill the entire width of the window. | 312 // By default, a page is laid out to fill the entire width of the window. |
313 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 313 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
314 // or to a specified width and height using --enable-fixed-layout=w,h | 314 // or to a specified width and height using --enable-fixed-layout=w,h |
315 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 315 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
316 | 316 |
317 // Disable the JavaScript Full Screen API. | 317 // Disable the JavaScript Full Screen API. |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
798 // Enables or disables history navigation in response to horizontal overscroll. | 798 // Enables or disables history navigation in response to horizontal overscroll. |
799 // Set the value to '1' to enable the feature, and set to '0' to disable. | 799 // Set the value to '1' to enable the feature, and set to '0' to disable. |
800 // Defaults to enabled. | 800 // Defaults to enabled. |
801 const char kOverscrollHistoryNavigation[] = | 801 const char kOverscrollHistoryNavigation[] = |
802 "overscroll-history-navigation"; | 802 "overscroll-history-navigation"; |
803 | 803 |
804 // Enables 'image/webp' accept header for image requests. | 804 // Enables 'image/webp' accept header for image requests. |
805 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 805 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
806 | 806 |
807 } // namespace switches | 807 } // namespace switches |
OLD | NEW |