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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
240 | 240 |
241 // Enables the hardware acceleration of plugins. | 241 // Enables the hardware acceleration of plugins. |
242 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; | 242 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; |
243 | 243 |
244 // Enable gpu-accelerated SVG/W3C filters. | 244 // Enable gpu-accelerated SVG/W3C filters. |
245 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; | 245 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; |
246 | 246 |
247 // Turns on extremely verbose logging of accessibility events. | 247 // Turns on extremely verbose logging of accessibility events. |
248 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 248 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
249 | 249 |
250 // Enables browser plugin for regular pages as well (not just apps). | |
Charlie Reis
2012/10/08 16:47:20
The "not just apps" part doesn't make sense in the
lazyboy
2012/10/08 19:23:57
Done.
| |
251 const char kEnableBrowserPluginForAllViewTypes[] = | |
252 "enable-browser-plugin-for-all-view-types"; | |
253 | |
250 // Enables old implementation path for browser plugin instead of current one. | 254 // Enables old implementation path for browser plugin instead of current one. |
251 const char kEnableBrowserPluginOldImplementation[] = | 255 const char kEnableBrowserPluginOldImplementation[] = |
252 "enable-browser-plugin-old-implementation"; | 256 "enable-browser-plugin-old-implementation"; |
253 | 257 |
254 // Enables the creation of compositing layers for fixed position elements. | 258 // Enables the creation of compositing layers for fixed position elements. |
255 const char kEnableCompositingForFixedPosition[] = | 259 const char kEnableCompositingForFixedPosition[] = |
256 "enable-fixed-position-compositing"; | 260 "enable-fixed-position-compositing"; |
257 | 261 |
258 // Enables CSS3 custom filters | 262 // Enables CSS3 custom filters |
259 const char kEnableCssShaders[] = "enable-css-shaders"; | 263 const char kEnableCssShaders[] = "enable-css-shaders"; |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
726 // Sets the width and height above which a composited layer will get tiled. | 730 // Sets the width and height above which a composited layer will get tiled. |
727 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 731 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
728 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 732 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
729 | 733 |
730 const char kEnableFixedPositionCreatesStackingContext[] | 734 const char kEnableFixedPositionCreatesStackingContext[] |
731 = "enable-fixed-position-creates-stacking-context"; | 735 = "enable-fixed-position-creates-stacking-context"; |
732 const char kDisableFixedPositionCreatesStackingContext[] | 736 const char kDisableFixedPositionCreatesStackingContext[] |
733 = "disable-fixed-position-creates-stacking-context"; | 737 = "disable-fixed-position-creates-stacking-context"; |
734 | 738 |
735 } // namespace switches | 739 } // namespace switches |
OLD | NEW |