| 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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 | 563 |
| 564 // Causes the GPU process to display a dialog on launch. | 564 // Causes the GPU process to display a dialog on launch. |
| 565 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 565 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
| 566 | 566 |
| 567 // Passes gpu vendor_id from browser process to GPU process. | 567 // Passes gpu vendor_id from browser process to GPU process. |
| 568 const char kGpuVendorID[] = "gpu-vendor-id"; | 568 const char kGpuVendorID[] = "gpu-vendor-id"; |
| 569 | 569 |
| 570 // These mappings only apply to the host resolver. | 570 // These mappings only apply to the host resolver. |
| 571 const char kHostResolverRules[] = "host-resolver-rules"; | 571 const char kHostResolverRules[] = "host-resolver-rules"; |
| 572 | 572 |
| 573 // Ignores certificate-related errors. | |
| 574 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; | |
| 575 | |
| 576 // Ignores GPU blacklist. | 573 // Ignores GPU blacklist. |
| 577 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; | 574 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; |
| 578 | 575 |
| 579 // Makes all APIs reflect the layout viewport. | 576 // Makes all APIs reflect the layout viewport. |
| 580 const char kInertVisualViewport[] = "inert-visual-viewport"; | 577 const char kInertVisualViewport[] = "inert-visual-viewport"; |
| 581 | 578 |
| 582 // Run the GPU process as a thread in the browser process. | 579 // Run the GPU process as a thread in the browser process. |
| 583 const char kInProcessGPU[] = "in-process-gpu"; | 580 const char kInProcessGPU[] = "in-process-gpu"; |
| 584 | 581 |
| 585 // Overrides the timeout, in seconds, that a child process waits for a | 582 // 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... |
| 787 // had pressed F11 right after startup. | 784 // had pressed F11 right after startup. |
| 788 const char kStartFullscreen[] = "start-fullscreen"; | 785 const char kStartFullscreen[] = "start-fullscreen"; |
| 789 | 786 |
| 790 // Specifies if the |StatsCollectionController| needs to be bound in the | 787 // Specifies if the |StatsCollectionController| needs to be bound in the |
| 791 // renderer. This binding happens on per-frame basis and hence can potentially | 788 // renderer. This binding happens on per-frame basis and hence can potentially |
| 792 // be a performance bottleneck. One should only enable it when running a test | 789 // be a performance bottleneck. One should only enable it when running a test |
| 793 // that needs to access the provided statistics. | 790 // that needs to access the provided statistics. |
| 794 const char kStatsCollectionController[] = | 791 const char kStatsCollectionController[] = |
| 795 "enable-stats-collection-bindings"; | 792 "enable-stats-collection-bindings"; |
| 796 | 793 |
| 797 // Allows for forcing socket connections to http/https to use fixed ports. | |
| 798 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | |
| 799 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | |
| 800 | |
| 801 // Type of the current test harness ("browser" or "ui"). | 794 // Type of the current test harness ("browser" or "ui"). |
| 802 const char kTestType[] = "test-type"; | 795 const char kTestType[] = "test-type"; |
| 803 | 796 |
| 804 // Groups all out-of-process iframes to a different process from the process | 797 // Groups all out-of-process iframes to a different process from the process |
| 805 // of the top document. This is a performance isolation mode. | 798 // of the top document. This is a performance isolation mode. |
| 806 const char kTopDocumentIsolation[] = "top-document-isolation"; | 799 const char kTopDocumentIsolation[] = "top-document-isolation"; |
| 807 | 800 |
| 808 // Controls how text selection granularity changes when touch text selection | 801 // Controls how text selection granularity changes when touch text selection |
| 809 // handles are dragged. Should be "character" or "direction". If not specified, | 802 // handles are dragged. Should be "character" or "direction". If not specified, |
| 810 // the platform default is used. | 803 // the platform default is used. |
| (...skipping 207 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 |