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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 // Enables the creation of compositing layers for fixed position elements. | 256 // Enables the creation of compositing layers for fixed position elements. |
257 const char kEnableCompositingForFixedPosition[] = | 257 const char kEnableCompositingForFixedPosition[] = |
258 "enable-fixed-position-compositing"; | 258 "enable-fixed-position-compositing"; |
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 device motion events. | 263 // Enables device motion events. |
264 const char kEnableDeviceMotion[] = "enable-device-motion"; | 264 const char kEnableDeviceMotion[] = "enable-device-motion"; |
265 | 265 |
266 // Enables support for encrypted media. Current implementation is | |
267 // incomplete and this flag is used for development and testing. | |
268 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | |
269 | |
270 // Enables WebKit features that are in development. | 266 // Enables WebKit features that are in development. |
271 const char kEnableExperimentalWebKitFeatures[] = | 267 const char kEnableExperimentalWebKitFeatures[] = |
272 "enable-experimental-webkit-features"; | 268 "enable-experimental-webkit-features"; |
273 | 269 |
274 // Enables the fastback page cache. | 270 // Enables the fastback page cache. |
275 const char kEnableFastback[] = "enable-fastback"; | 271 const char kEnableFastback[] = "enable-fastback"; |
276 | 272 |
277 // By default, a page is laid out to fill the entire width of the window. | 273 // By default, a page is laid out to fill the entire width of the window. |
278 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 274 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
279 // or to a specified width and height using --enable-fixed-layout=w,h | 275 // or to a specified width and height using --enable-fixed-layout=w,h |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 = "disable-fixed-position-creates-stacking-context"; | 746 = "disable-fixed-position-creates-stacking-context"; |
751 | 747 |
752 // Defer image decoding in WebKit until painting. | 748 // Defer image decoding in WebKit until painting. |
753 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 749 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
754 | 750 |
755 // Enables history navigation in response to horizontal overscroll. | 751 // Enables history navigation in response to horizontal overscroll. |
756 const char kEnableOverscrollHistoryNavigation[] = | 752 const char kEnableOverscrollHistoryNavigation[] = |
757 "enable-overscroll-history-navigation"; | 753 "enable-overscroll-history-navigation"; |
758 | 754 |
759 } // namespace switches | 755 } // namespace switches |
OLD | NEW |