| 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 // Enables the memory benchmarking extension | 373 // Enables the memory benchmarking extension |
| 374 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 374 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
| 375 | 375 |
| 376 // Enables the network information API. | 376 // Enables the network information API. |
| 377 const char kEnableNetworkInformation[] = "enable-network-information"; | 377 const char kEnableNetworkInformation[] = "enable-network-information"; |
| 378 | 378 |
| 379 // Enable rasterizer that writes directly to GPU memory. | 379 // Enable rasterizer that writes directly to GPU memory. |
| 380 const char kEnableOneCopy[] = "enable-one-copy"; | 380 const char kEnableOneCopy[] = "enable-one-copy"; |
| 381 | 381 |
| 382 // Enables use of hardware overlay for fullscreen video playback. Android only. | 382 // Enables use of hardware overlay for fullscreen video playback. Android only. |
| 383 // TODO(watk): Remove this once blink is updated to pass |
| 384 // kForceOverlayFullscreenVideo for layout tests. http://crbug.com/511376 |
| 383 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 385 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
| 384 | 386 |
| 385 // Enables compositor-accelerated touch-screen pinch gestures. | 387 // Enables compositor-accelerated touch-screen pinch gestures. |
| 386 const char kEnablePinch[] = "enable-pinch"; | 388 const char kEnablePinch[] = "enable-pinch"; |
| 387 | 389 |
| 388 // Enables testing features of the Plugin Placeholder. For internal use only. | 390 // Enables testing features of the Plugin Placeholder. For internal use only. |
| 389 const char kEnablePluginPlaceholderTesting[] = | 391 const char kEnablePluginPlaceholderTesting[] = |
| 390 "enable-plugin-placeholder-testing"; | 392 "enable-plugin-placeholder-testing"; |
| 391 | 393 |
| 392 // Make the values returned to window.performance.memory more granular and more | 394 // Make the values returned to window.performance.memory more granular and more |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU | 518 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU |
| 517 // accelerated compositing + impl-side painting. Overrides the | 519 // accelerated compositing + impl-side painting. Overrides the |
| 518 // kEnableGpuRasterization flag. | 520 // kEnableGpuRasterization flag. |
| 519 const char kForceGpuRasterization[] = "force-gpu-rasterization"; | 521 const char kForceGpuRasterization[] = "force-gpu-rasterization"; |
| 520 | 522 |
| 521 // The number of multisample antialiasing samples for GPU rasterization. | 523 // The number of multisample antialiasing samples for GPU rasterization. |
| 522 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. | 524 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. |
| 523 const char kGpuRasterizationMSAASampleCount[] = | 525 const char kGpuRasterizationMSAASampleCount[] = |
| 524 "gpu-rasterization-msaa-sample-count"; | 526 "gpu-rasterization-msaa-sample-count"; |
| 525 | 527 |
| 528 // Forces use of hardware overlay for fullscreen video playback. Useful for |
| 529 // testing the Android overlay fullscreen functionality on other platforms. |
| 530 const char kForceOverlayFullscreenVideo[] = "force-overlay-fullscreen-video"; |
| 531 |
| 526 // Force renderer accessibility to be on instead of enabling it on demand when | 532 // Force renderer accessibility to be on instead of enabling it on demand when |
| 527 // a screen reader is detected. The disable-renderer-accessibility switch | 533 // a screen reader is detected. The disable-renderer-accessibility switch |
| 528 // overrides this if present. | 534 // overrides this if present. |
| 529 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 535 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
| 530 | 536 |
| 531 // Passes gpu device_id from browser process to GPU process. | 537 // Passes gpu device_id from browser process to GPU process. |
| 532 const char kGpuDeviceID[] = "gpu-device-id"; | 538 const char kGpuDeviceID[] = "gpu-device-id"; |
| 533 | 539 |
| 534 // Passes gpu driver_vendor from browser process to GPU process. | 540 // Passes gpu driver_vendor from browser process to GPU process. |
| 535 const char kGpuDriverVendor[] = "gpu-driver-vendor"; | 541 const char kGpuDriverVendor[] = "gpu-driver-vendor"; |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1021 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1016 | 1022 |
| 1017 // Enables the exporting of the tracing events to ETW. This is only supported on | 1023 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1018 // Windows Vista and later. | 1024 // Windows Vista and later. |
| 1019 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1025 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1020 #endif | 1026 #endif |
| 1021 | 1027 |
| 1022 // Don't dump stuff here, follow the same order as the header. | 1028 // Don't dump stuff here, follow the same order as the header. |
| 1023 | 1029 |
| 1024 } // namespace switches | 1030 } // namespace switches |
| OLD | NEW |