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