| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; | 97 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; |
| 98 | 98 |
| 99 // Disable the per-domain blocking for 3D APIs after GPU reset. | 99 // Disable the per-domain blocking for 3D APIs after GPU reset. |
| 100 // This switch is intended only for tests. | 100 // This switch is intended only for tests. |
| 101 const char kDisableDomainBlockingFor3DAPIs[] = | 101 const char kDisableDomainBlockingFor3DAPIs[] = |
| 102 "disable-domain-blocking-for-3d-apis"; | 102 "disable-domain-blocking-for-3d-apis"; |
| 103 | 103 |
| 104 // Disable experimental WebGL support. | 104 // Disable experimental WebGL support. |
| 105 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 105 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
| 106 | 106 |
| 107 // Comma-separated list of feature names to disable. See also kEnableFeatures. |
| 108 const char kDisableFeatures[] = "disable-features"; |
| 109 |
| 107 // Disable FileSystem API. | 110 // Disable FileSystem API. |
| 108 const char kDisableFileSystem[] = "disable-file-system"; | 111 const char kDisableFileSystem[] = "disable-file-system"; |
| 109 | 112 |
| 110 // Disable 3D inside of flapper. | 113 // Disable 3D inside of flapper. |
| 111 const char kDisableFlash3d[] = "disable-flash-3d"; | 114 const char kDisableFlash3d[] = "disable-flash-3d"; |
| 112 | 115 |
| 113 // Disable Stage3D inside of flapper. | 116 // Disable Stage3D inside of flapper. |
| 114 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; | 117 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; |
| 115 | 118 |
| 116 // Disables GPU hardware acceleration. If software renderer is not in place, | 119 // Disables GPU hardware acceleration. If software renderer is not in place, |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 const char kDisableEncryptedMedia[] = "disable-encrypted-media"; | 340 const char kDisableEncryptedMedia[] = "disable-encrypted-media"; |
| 338 | 341 |
| 339 // Enable experimental canvas features, e.g. canvas 2D context attributes | 342 // Enable experimental canvas features, e.g. canvas 2D context attributes |
| 340 const char kEnableExperimentalCanvasFeatures[] = | 343 const char kEnableExperimentalCanvasFeatures[] = |
| 341 "enable-experimental-canvas-features"; | 344 "enable-experimental-canvas-features"; |
| 342 | 345 |
| 343 // Enables Web Platform features that are in development. | 346 // Enables Web Platform features that are in development. |
| 344 const char kEnableExperimentalWebPlatformFeatures[] = | 347 const char kEnableExperimentalWebPlatformFeatures[] = |
| 345 "enable-experimental-web-platform-features"; | 348 "enable-experimental-web-platform-features"; |
| 346 | 349 |
| 350 // Comma-separated list of feature names to enable. See also kDisableFeatures. |
| 351 const char kEnableFeatures[] = "enable-features"; |
| 352 |
| 347 // Enable Web Bluetooth. | 353 // Enable Web Bluetooth. |
| 348 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; | 354 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; |
| 349 | 355 |
| 350 // Enables TRACE for GL calls in the renderer. | 356 // Enables TRACE for GL calls in the renderer. |
| 351 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; | 357 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; |
| 352 | 358 |
| 353 // Enable GpuMemoryBuffer backed VideoFrames. | 359 // Enable GpuMemoryBuffer backed VideoFrames. |
| 354 const char kEnableGpuMemoryBufferVideoFrames[] = | 360 const char kEnableGpuMemoryBufferVideoFrames[] = |
| 355 "enable-gpu-memory-buffer-video-frames"; | 361 "enable-gpu-memory-buffer-video-frames"; |
| 356 | 362 |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 969 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 964 | 970 |
| 965 // Enables the exporting of the tracing events to ETW. This is only supported on | 971 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 966 // Windows Vista and later. | 972 // Windows Vista and later. |
| 967 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 973 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 968 #endif | 974 #endif |
| 969 | 975 |
| 970 // Don't dump stuff here, follow the same order as the header. | 976 // Don't dump stuff here, follow the same order as the header. |
| 971 | 977 |
| 972 } // namespace switches | 978 } // namespace switches |
| OLD | NEW |