| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 | 7 |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 | 557 |
| 558 // Causes the GPU process to display a dialog on launch. | 558 // Causes the GPU process to display a dialog on launch. |
| 559 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 559 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
| 560 | 560 |
| 561 // Passes gpu vendor_id from browser process to GPU process. | 561 // Passes gpu vendor_id from browser process to GPU process. |
| 562 const char kGpuVendorID[] = "gpu-vendor-id"; | 562 const char kGpuVendorID[] = "gpu-vendor-id"; |
| 563 | 563 |
| 564 // These mappings only apply to the host resolver. | 564 // These mappings only apply to the host resolver. |
| 565 const char kHostResolverRules[] = "host-resolver-rules"; | 565 const char kHostResolverRules[] = "host-resolver-rules"; |
| 566 | 566 |
| 567 // Ignores certificate-related errors. | |
| 568 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; | |
| 569 | |
| 570 // Ignores GPU blacklist. | 567 // Ignores GPU blacklist. |
| 571 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; | 568 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; |
| 572 | 569 |
| 573 // Makes all APIs reflect the layout viewport. | 570 // Makes all APIs reflect the layout viewport. |
| 574 const char kInertVisualViewport[] = "inert-visual-viewport"; | 571 const char kInertVisualViewport[] = "inert-visual-viewport"; |
| 575 | 572 |
| 576 // Run the GPU process as a thread in the browser process. | 573 // Run the GPU process as a thread in the browser process. |
| 577 const char kInProcessGPU[] = "in-process-gpu"; | 574 const char kInProcessGPU[] = "in-process-gpu"; |
| 578 | 575 |
| 579 // Overrides the timeout, in seconds, that a child process waits for a | 576 // Overrides the timeout, in seconds, that a child process waits for a |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 // had pressed F11 right after startup. | 778 // had pressed F11 right after startup. |
| 782 const char kStartFullscreen[] = "start-fullscreen"; | 779 const char kStartFullscreen[] = "start-fullscreen"; |
| 783 | 780 |
| 784 // Specifies if the |StatsCollectionController| needs to be bound in the | 781 // Specifies if the |StatsCollectionController| needs to be bound in the |
| 785 // renderer. This binding happens on per-frame basis and hence can potentially | 782 // renderer. This binding happens on per-frame basis and hence can potentially |
| 786 // be a performance bottleneck. One should only enable it when running a test | 783 // be a performance bottleneck. One should only enable it when running a test |
| 787 // that needs to access the provided statistics. | 784 // that needs to access the provided statistics. |
| 788 const char kStatsCollectionController[] = | 785 const char kStatsCollectionController[] = |
| 789 "enable-stats-collection-bindings"; | 786 "enable-stats-collection-bindings"; |
| 790 | 787 |
| 791 // Allows for forcing socket connections to http/https to use fixed ports. | |
| 792 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | |
| 793 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | |
| 794 | |
| 795 // Type of the current test harness ("browser" or "ui"). | 788 // Type of the current test harness ("browser" or "ui"). |
| 796 const char kTestType[] = "test-type"; | 789 const char kTestType[] = "test-type"; |
| 797 | 790 |
| 798 // Groups all out-of-process iframes to a different process from the process | 791 // Groups all out-of-process iframes to a different process from the process |
| 799 // of the top document. This is a performance isolation mode. | 792 // of the top document. This is a performance isolation mode. |
| 800 const char kTopDocumentIsolation[] = "top-document-isolation"; | 793 const char kTopDocumentIsolation[] = "top-document-isolation"; |
| 801 | 794 |
| 802 // Controls how text selection granularity changes when touch text selection | 795 // Controls how text selection granularity changes when touch text selection |
| 803 // handles are dragged. Should be "character" or "direction". If not specified, | 796 // handles are dragged. Should be "character" or "direction". If not specified, |
| 804 // the platform default is used. | 797 // the platform default is used. |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1011 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1019 | 1012 |
| 1020 // Enables the exporting of the tracing events to ETW. This is only supported on | 1013 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1021 // Windows Vista and later. | 1014 // Windows Vista and later. |
| 1022 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1015 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1023 #endif | 1016 #endif |
| 1024 | 1017 |
| 1025 // Don't dump stuff here, follow the same order as the header. | 1018 // Don't dump stuff here, follow the same order as the header. |
| 1026 | 1019 |
| 1027 } // namespace switches | 1020 } // namespace switches |
| OLD | NEW |