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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 const char kDisablePinch[] = "disable-pinch"; | 216 const char kDisablePinch[] = "disable-pinch"; |
217 | 217 |
218 // Disable discovering third-party plugins. Effectively loading only | 218 // Disable discovering third-party plugins. Effectively loading only |
219 // ones shipped with the browser plus third-party ones as specified by | 219 // ones shipped with the browser plus third-party ones as specified by |
220 // --extra-plugin-dir and --load-plugin switches. | 220 // --extra-plugin-dir and --load-plugin switches. |
221 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; | 221 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; |
222 | 222 |
223 // Disables the Presentation API. | 223 // Disables the Presentation API. |
224 const char kDisablePresentationAPI[] = "disable-presentation-api"; | 224 const char kDisablePresentationAPI[] = "disable-presentation-api"; |
225 | 225 |
| 226 // Disables RGBA_4444 textures. |
| 227 const char kDisableRGBA4444Textures[] = "disable-rgba-4444-textures"; |
| 228 |
226 // Taints all <canvas> elements, regardless of origin. | 229 // Taints all <canvas> elements, regardless of origin. |
227 const char kDisableReadingFromCanvas[] = "disable-reading-from-canvas"; | 230 const char kDisableReadingFromCanvas[] = "disable-reading-from-canvas"; |
228 | 231 |
229 // Disables remote web font support. SVG font should always work whether this | 232 // Disables remote web font support. SVG font should always work whether this |
230 // option is specified or not. | 233 // option is specified or not. |
231 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 234 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
232 | 235 |
233 // Turns off the accessibility in the renderer. | 236 // Turns off the accessibility in the renderer. |
234 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; | 237 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; |
235 | 238 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 | 404 |
402 // Make the values returned to window.performance.memory more granular and more | 405 // Make the values returned to window.performance.memory more granular and more |
403 // up to date in shared worker. Without this flag, the memory information is | 406 // up to date in shared worker. Without this flag, the memory information is |
404 // still available, but it is bucketized and updated less frequently. This flag | 407 // still available, but it is bucketized and updated less frequently. This flag |
405 // also applys to workers. | 408 // also applys to workers. |
406 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 409 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
407 | 410 |
408 // Enables payloads for received push messages when using the W3C Push API. | 411 // Enables payloads for received push messages when using the W3C Push API. |
409 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; | 412 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; |
410 | 413 |
| 414 // Enables RGBA_4444 textures. |
| 415 const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures"; |
| 416 |
411 // Set options to cache V8 data. (off, preparse data, or code) | 417 // Set options to cache V8 data. (off, preparse data, or code) |
412 const char kV8CacheOptions[] = "v8-cache-options"; | 418 const char kV8CacheOptions[] = "v8-cache-options"; |
413 | 419 |
414 // Signals that the V8 natives file has been transfered to the child process | 420 // Signals that the V8 natives file has been transfered to the child process |
415 // by a file descriptor. | 421 // by a file descriptor. |
416 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd"; | 422 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd"; |
417 | 423 |
418 // Signals that the V8 startup snapshot file has been transfered to the child | 424 // Signals that the V8 startup snapshot file has been transfered to the child |
419 // process by a file descriptor. | 425 // process by a file descriptor. |
420 const char kV8SnapshotPassedByFD[] = "v8-snapshot-passed-by-fd"; | 426 const char kV8SnapshotPassedByFD[] = "v8-snapshot-passed-by-fd"; |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
986 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 992 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
987 | 993 |
988 // Enables the exporting of the tracing events to ETW. This is only supported on | 994 // Enables the exporting of the tracing events to ETW. This is only supported on |
989 // Windows Vista and later. | 995 // Windows Vista and later. |
990 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 996 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
991 #endif | 997 #endif |
992 | 998 |
993 // Don't dump stuff here, follow the same order as the header. | 999 // Don't dump stuff here, follow the same order as the header. |
994 | 1000 |
995 } // namespace switches | 1001 } // namespace switches |
OLD | NEW |