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 all types of pages. |
| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 // Sets the width and height above which a composited layer will get tiled. | 737 // Sets the width and height above which a composited layer will get tiled. |
734 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 738 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
735 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 739 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
736 | 740 |
737 const char kEnableFixedPositionCreatesStackingContext[] | 741 const char kEnableFixedPositionCreatesStackingContext[] |
738 = "enable-fixed-position-creates-stacking-context"; | 742 = "enable-fixed-position-creates-stacking-context"; |
739 const char kDisableFixedPositionCreatesStackingContext[] | 743 const char kDisableFixedPositionCreatesStackingContext[] |
740 = "disable-fixed-position-creates-stacking-context"; | 744 = "disable-fixed-position-creates-stacking-context"; |
741 | 745 |
742 } // namespace switches | 746 } // namespace switches |
OLD | NEW |