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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 | 510 |
511 // Forces use of hardware overlay for fullscreen video playback. Useful for | 511 // Forces use of hardware overlay for fullscreen video playback. Useful for |
512 // testing the Android overlay fullscreen functionality on other platforms. | 512 // testing the Android overlay fullscreen functionality on other platforms. |
513 const char kForceOverlayFullscreenVideo[] = "force-overlay-fullscreen-video"; | 513 const char kForceOverlayFullscreenVideo[] = "force-overlay-fullscreen-video"; |
514 | 514 |
515 // Force renderer accessibility to be on instead of enabling it on demand when | 515 // Force renderer accessibility to be on instead of enabling it on demand when |
516 // a screen reader is detected. The disable-renderer-accessibility switch | 516 // a screen reader is detected. The disable-renderer-accessibility switch |
517 // overrides this if present. | 517 // overrides this if present. |
518 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 518 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
519 | 519 |
| 520 // For development / testing only. When running content_browsertests, |
| 521 // saves output of failing accessibility tests to their expectations files in |
| 522 // content/test/data/accessibility/, overwriting existing file content. |
| 523 const char kGenerateAccessibilityTestExpectations[] = |
| 524 "generate-accessibility-test-expectations"; |
| 525 |
520 // Passes gpu device_id from browser process to GPU process. | 526 // Passes gpu device_id from browser process to GPU process. |
521 const char kGpuDeviceID[] = "gpu-device-id"; | 527 const char kGpuDeviceID[] = "gpu-device-id"; |
522 | 528 |
523 // Passes gpu driver_vendor from browser process to GPU process. | 529 // Passes gpu driver_vendor from browser process to GPU process. |
524 const char kGpuDriverVendor[] = "gpu-driver-vendor"; | 530 const char kGpuDriverVendor[] = "gpu-driver-vendor"; |
525 | 531 |
526 // Passes gpu driver_version from browser process to GPU process. | 532 // Passes gpu driver_version from browser process to GPU process. |
527 const char kGpuDriverVersion[] = "gpu-driver-version"; | 533 const char kGpuDriverVersion[] = "gpu-driver-version"; |
528 | 534 |
529 // Extra command line options for launching the GPU process (normally used | 535 // Extra command line options for launching the GPU process (normally used |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 986 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
981 | 987 |
982 // Enables the exporting of the tracing events to ETW. This is only supported on | 988 // Enables the exporting of the tracing events to ETW. This is only supported on |
983 // Windows Vista and later. | 989 // Windows Vista and later. |
984 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 990 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
985 #endif | 991 #endif |
986 | 992 |
987 // Don't dump stuff here, follow the same order as the header. | 993 // Don't dump stuff here, follow the same order as the header. |
988 | 994 |
989 } // namespace switches | 995 } // namespace switches |
OLD | NEW |