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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 | 265 |
266 // Enables CSS3 custom filters | 266 // Enables CSS3 custom filters |
267 const char kEnableCssShaders[] = "enable-css-shaders"; | 267 const char kEnableCssShaders[] = "enable-css-shaders"; |
268 | 268 |
269 // Enables RTCPeerConnection data channels | 269 // Enables RTCPeerConnection data channels |
270 const char kEnableDataChannels[] = "enable-data-channels"; | 270 const char kEnableDataChannels[] = "enable-data-channels"; |
271 | 271 |
272 // Enables device motion events. | 272 // Enables device motion events. |
273 const char kEnableDeviceMotion[] = "enable-device-motion"; | 273 const char kEnableDeviceMotion[] = "enable-device-motion"; |
274 | 274 |
| 275 // Enables restarting interrupted downloads. |
| 276 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
| 277 |
275 // Enables WebKit features that are in development. | 278 // Enables WebKit features that are in development. |
276 const char kEnableExperimentalWebKitFeatures[] = | 279 const char kEnableExperimentalWebKitFeatures[] = |
277 "enable-experimental-webkit-features"; | 280 "enable-experimental-webkit-features"; |
278 | 281 |
279 // Enables the fastback page cache. | 282 // Enables the fastback page cache. |
280 const char kEnableFastback[] = "enable-fastback"; | 283 const char kEnableFastback[] = "enable-fastback"; |
281 | 284 |
282 // By default, a page is laid out to fill the entire width of the window. | 285 // By default, a page is laid out to fill the entire width of the window. |
283 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 286 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
284 // or to a specified width and height using --enable-fixed-layout=w,h | 287 // or to a specified width and height using --enable-fixed-layout=w,h |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 = "disable-fixed-position-creates-stacking-context"; | 769 = "disable-fixed-position-creates-stacking-context"; |
767 | 770 |
768 // Defer image decoding in WebKit until painting. | 771 // Defer image decoding in WebKit until painting. |
769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 772 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
770 | 773 |
771 // Enables history navigation in response to horizontal overscroll. | 774 // Enables history navigation in response to horizontal overscroll. |
772 const char kEnableOverscrollHistoryNavigation[] = | 775 const char kEnableOverscrollHistoryNavigation[] = |
773 "enable-overscroll-history-navigation"; | 776 "enable-overscroll-history-navigation"; |
774 | 777 |
775 } // namespace switches | 778 } // namespace switches |
OLD | NEW |