| 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 support for encrypted media. Current implementation is | |
| 263 // incomplete and this flag is used for development and testing. | |
| 264 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | |
| 265 | |
| 266 // Enables WebKit features that are in development. | 262 // Enables WebKit features that are in development. |
| 267 const char kEnableExperimentalWebKitFeatures[] = | 263 const char kEnableExperimentalWebKitFeatures[] = |
| 268 "enable-experimental-webkit-features"; | 264 "enable-experimental-webkit-features"; |
| 269 | 265 |
| 270 // Enables the fastback page cache. | 266 // Enables the fastback page cache. |
| 271 const char kEnableFastback[] = "enable-fastback"; | 267 const char kEnableFastback[] = "enable-fastback"; |
| 272 | 268 |
| 273 // By default, a page is laid out to fill the entire width of the window. | 269 // By default, a page is laid out to fill the entire width of the window. |
| 274 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 270 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
| 275 // or to a specified width and height using --enable-fixed-layout=w,h | 271 // 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... |
| 746 = "disable-fixed-position-creates-stacking-context"; | 742 = "disable-fixed-position-creates-stacking-context"; |
| 747 | 743 |
| 748 // Defer image decoding in WebKit until painting. | 744 // Defer image decoding in WebKit until painting. |
| 749 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 745 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 750 | 746 |
| 751 // Enables history navigation in response to horizontal overscroll. | 747 // Enables history navigation in response to horizontal overscroll. |
| 752 const char kEnableOverscrollHistoryNavigation[] = | 748 const char kEnableOverscrollHistoryNavigation[] = |
| 753 "enable-overscroll-history-navigation"; | 749 "enable-overscroll-history-navigation"; |
| 754 | 750 |
| 755 } // namespace switches | 751 } // namespace switches |
| OLD | NEW |