| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 const char kEnableBrowserPluginOldImplementation[] = | 251 const char kEnableBrowserPluginOldImplementation[] = |
| 252 "enable-browser-plugin-old-implementation"; | 252 "enable-browser-plugin-old-implementation"; |
| 253 | 253 |
| 254 // Enables the creation of compositing layers for fixed position elements. | 254 // Enables the creation of compositing layers for fixed position elements. |
| 255 const char kEnableCompositingForFixedPosition[] = | 255 const char kEnableCompositingForFixedPosition[] = |
| 256 "enable-fixed-position-compositing"; | 256 "enable-fixed-position-compositing"; |
| 257 | 257 |
| 258 // Enables CSS3 custom filters | 258 // Enables CSS3 custom filters |
| 259 const char kEnableCssShaders[] = "enable-css-shaders"; | 259 const char kEnableCssShaders[] = "enable-css-shaders"; |
| 260 | 260 |
| 261 // Enables delegated renderer. |
| 262 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
| 263 |
| 261 // Enables device motion events. | 264 // Enables device motion events. |
| 262 const char kEnableDeviceMotion[] = "enable-device-motion"; | 265 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 263 | 266 |
| 264 // Enables support for encrypted media. Current implementation is | 267 // Enables support for encrypted media. Current implementation is |
| 265 // incomplete and this flag is used for development and testing. | 268 // incomplete and this flag is used for development and testing. |
| 266 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | 269 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; |
| 267 | 270 |
| 268 // Enables WebKit features that are in development. | 271 // Enables WebKit features that are in development. |
| 269 const char kEnableExperimentalWebKitFeatures[] = | 272 const char kEnableExperimentalWebKitFeatures[] = |
| 270 "enable-experimental-webkit-features"; | 273 "enable-experimental-webkit-features"; |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 // Sets the width and height above which a composited layer will get tiled. | 733 // Sets the width and height above which a composited layer will get tiled. |
| 731 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 734 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 732 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 735 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 733 | 736 |
| 734 const char kEnableFixedPositionCreatesStackingContext[] | 737 const char kEnableFixedPositionCreatesStackingContext[] |
| 735 = "enable-fixed-position-creates-stacking-context"; | 738 = "enable-fixed-position-creates-stacking-context"; |
| 736 const char kDisableFixedPositionCreatesStackingContext[] | 739 const char kDisableFixedPositionCreatesStackingContext[] |
| 737 = "disable-fixed-position-creates-stacking-context"; | 740 = "disable-fixed-position-creates-stacking-context"; |
| 738 | 741 |
| 739 } // namespace switches | 742 } // namespace switches |
| OLD | NEW |