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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 | 576 |
577 // Causes the GPU process to display a dialog on launch. | 577 // Causes the GPU process to display a dialog on launch. |
578 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 578 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
579 | 579 |
580 // Passes gpu vendor_id from browser process to GPU process. | 580 // Passes gpu vendor_id from browser process to GPU process. |
581 const char kGpuVendorID[] = "gpu-vendor-id"; | 581 const char kGpuVendorID[] = "gpu-vendor-id"; |
582 | 582 |
583 // These mappings only apply to the host resolver. | 583 // These mappings only apply to the host resolver. |
584 const char kHostResolverRules[] = "host-resolver-rules"; | 584 const char kHostResolverRules[] = "host-resolver-rules"; |
585 | 585 |
586 // Ignores certificate-related errors. | |
587 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; | |
588 | |
589 // Ignores GPU blacklist. | 586 // Ignores GPU blacklist. |
590 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; | 587 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; |
591 | 588 |
592 // Makes all APIs reflect the layout viewport. | 589 // Makes all APIs reflect the layout viewport. |
593 const char kInertVisualViewport[] = "inert-visual-viewport"; | 590 const char kInertVisualViewport[] = "inert-visual-viewport"; |
594 | 591 |
595 // Run the GPU process as a thread in the browser process. | 592 // Run the GPU process as a thread in the browser process. |
596 const char kInProcessGPU[] = "in-process-gpu"; | 593 const char kInProcessGPU[] = "in-process-gpu"; |
597 | 594 |
598 // Overrides the timeout, in seconds, that a child process waits for a | 595 // Overrides the timeout, in seconds, that a child process waits for a |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 // had pressed F11 right after startup. | 804 // had pressed F11 right after startup. |
808 const char kStartFullscreen[] = "start-fullscreen"; | 805 const char kStartFullscreen[] = "start-fullscreen"; |
809 | 806 |
810 // Specifies if the |StatsCollectionController| needs to be bound in the | 807 // Specifies if the |StatsCollectionController| needs to be bound in the |
811 // renderer. This binding happens on per-frame basis and hence can potentially | 808 // renderer. This binding happens on per-frame basis and hence can potentially |
812 // be a performance bottleneck. One should only enable it when running a test | 809 // be a performance bottleneck. One should only enable it when running a test |
813 // that needs to access the provided statistics. | 810 // that needs to access the provided statistics. |
814 const char kStatsCollectionController[] = | 811 const char kStatsCollectionController[] = |
815 "enable-stats-collection-bindings"; | 812 "enable-stats-collection-bindings"; |
816 | 813 |
817 // Allows for forcing socket connections to http/https to use fixed ports. | |
818 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | |
819 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | |
820 | |
821 // Type of the current test harness ("browser" or "ui"). | 814 // Type of the current test harness ("browser" or "ui"). |
822 const char kTestType[] = "test-type"; | 815 const char kTestType[] = "test-type"; |
823 | 816 |
824 // Groups all out-of-process iframes to a different process from the process | 817 // Groups all out-of-process iframes to a different process from the process |
825 // of the top document. This is a performance isolation mode. | 818 // of the top document. This is a performance isolation mode. |
826 const char kTopDocumentIsolation[] = "top-document-isolation"; | 819 const char kTopDocumentIsolation[] = "top-document-isolation"; |
827 | 820 |
828 // Controls how text selection granularity changes when touch text selection | 821 // Controls how text selection granularity changes when touch text selection |
829 // handles are dragged. Should be "character" or "direction". If not specified, | 822 // handles are dragged. Should be "character" or "direction". If not specified, |
830 // the platform default is used. | 823 // the platform default is used. |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1035 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
1043 | 1036 |
1044 // Enables the exporting of the tracing events to ETW. This is only supported on | 1037 // Enables the exporting of the tracing events to ETW. This is only supported on |
1045 // Windows Vista and later. | 1038 // Windows Vista and later. |
1046 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1039 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1047 #endif | 1040 #endif |
1048 | 1041 |
1049 // Don't dump stuff here, follow the same order as the header. | 1042 // Don't dump stuff here, follow the same order as the header. |
1050 | 1043 |
1051 } // namespace switches | 1044 } // namespace switches |
OLD | NEW |