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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 // Enables the creation of compositing layers for fixed position elements. | 252 // Enables the creation of compositing layers for fixed position elements. |
253 const char kEnableCompositingForFixedPosition[] = | 253 const char kEnableCompositingForFixedPosition[] = |
254 "enable-fixed-position-compositing"; | 254 "enable-fixed-position-compositing"; |
255 | 255 |
256 // Enables CSS3 custom filters | 256 // Enables CSS3 custom filters |
257 const char kEnableCssShaders[] = "enable-css-shaders"; | 257 const char kEnableCssShaders[] = "enable-css-shaders"; |
258 | 258 |
259 // Enables device motion events. | 259 // Enables device motion events. |
260 const char kEnableDeviceMotion[] = "enable-device-motion"; | 260 const char kEnableDeviceMotion[] = "enable-device-motion"; |
261 | 261 |
| 262 // Enables restarting interrupted downloads. |
| 263 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
| 264 |
262 // Enables support for encrypted media. Current implementation is | 265 // Enables support for encrypted media. Current implementation is |
263 // incomplete and this flag is used for development and testing. | 266 // incomplete and this flag is used for development and testing. |
264 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | 267 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; |
265 | 268 |
266 // Enables WebKit features that are in development. | 269 // Enables WebKit features that are in development. |
267 const char kEnableExperimentalWebKitFeatures[] = | 270 const char kEnableExperimentalWebKitFeatures[] = |
268 "enable-experimental-webkit-features"; | 271 "enable-experimental-webkit-features"; |
269 | 272 |
270 // Enables the fastback page cache. | 273 // Enables the fastback page cache. |
271 const char kEnableFastback[] = "enable-fastback"; | 274 const char kEnableFastback[] = "enable-fastback"; |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 = "disable-fixed-position-creates-stacking-context"; | 749 = "disable-fixed-position-creates-stacking-context"; |
747 | 750 |
748 // Defer image decoding in WebKit until painting. | 751 // Defer image decoding in WebKit until painting. |
749 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 752 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
750 | 753 |
751 // Enables history navigation in response to horizontal overscroll. | 754 // Enables history navigation in response to horizontal overscroll. |
752 const char kEnableOverscrollHistoryNavigation[] = | 755 const char kEnableOverscrollHistoryNavigation[] = |
753 "enable-overscroll-history-navigation"; | 756 "enable-overscroll-history-navigation"; |
754 | 757 |
755 } // namespace switches | 758 } // namespace switches |
OLD | NEW |