| 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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| 10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 // Disable rasterizer that writes directly to GPU memory. | 200 // Disable rasterizer that writes directly to GPU memory. |
| 201 // Overrides the kEnableOneCopy flag. | 201 // Overrides the kEnableOneCopy flag. |
| 202 const char kDisableOneCopy[] = "disable-one-copy"; | 202 const char kDisableOneCopy[] = "disable-one-copy"; |
| 203 | 203 |
| 204 // Disable Pepper3D. | 204 // Disable Pepper3D. |
| 205 const char kDisablePepper3d[] = "disable-pepper-3d"; | 205 const char kDisablePepper3d[] = "disable-pepper-3d"; |
| 206 | 206 |
| 207 // Disables compositor-accelerated touch-screen pinch gestures. | 207 // Disables compositor-accelerated touch-screen pinch gestures. |
| 208 const char kDisablePinch[] = "disable-pinch"; | 208 const char kDisablePinch[] = "disable-pinch"; |
| 209 | 209 |
| 210 // Disable discovering third-party plug-ins. Effectively loading only | 210 // Disable discovering third-party plugins. Effectively loading only |
| 211 // ones shipped with the browser plus third-party ones as specified by | 211 // ones shipped with the browser plus third-party ones as specified by |
| 212 // --extra-plugin-dir and --load-plugin switches. | 212 // --extra-plugin-dir and --load-plugin switches. |
| 213 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; | 213 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; |
| 214 | 214 |
| 215 // Taints all <canvas> elements, regardless of origin. | 215 // Taints all <canvas> elements, regardless of origin. |
| 216 const char kDisableReadingFromCanvas[] = "disable-reading-from-canvas"; | 216 const char kDisableReadingFromCanvas[] = "disable-reading-from-canvas"; |
| 217 | 217 |
| 218 // Disables remote web font support. SVG font should always work whether this | 218 // Disables remote web font support. SVG font should always work whether this |
| 219 // option is specified or not. | 219 // option is specified or not. |
| 220 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 220 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 const char kEnableNpapi[] = "enable-npapi"; | 985 const char kEnableNpapi[] = "enable-npapi"; |
| 986 | 986 |
| 987 #if defined(ENABLE_PLUGINS) | 987 #if defined(ENABLE_PLUGINS) |
| 988 // Enables the plugin power saver feature. | 988 // Enables the plugin power saver feature. |
| 989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 990 #endif | 990 #endif |
| 991 | 991 |
| 992 // Don't dump stuff here, follow the same order as the header. | 992 // Don't dump stuff here, follow the same order as the header. |
| 993 | 993 |
| 994 } // namespace switches | 994 } // namespace switches |
| OLD | NEW |