| 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 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 // Upscale defaults to "best". | 811 // Upscale defaults to "best". |
| 812 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; | 812 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; |
| 813 | 813 |
| 814 // Allows for forcing socket connections to http/https to use fixed ports. | 814 // Allows for forcing socket connections to http/https to use fixed ports. |
| 815 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 815 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 816 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 816 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 817 | 817 |
| 818 // Type of the current test harness ("browser" or "ui"). | 818 // Type of the current test harness ("browser" or "ui"). |
| 819 const char kTestType[] = "test-type"; | 819 const char kTestType[] = "test-type"; |
| 820 | 820 |
| 821 // Groups all out-of-process iframes to a different process from the process |
| 822 // of the top document. This is a performance isolation mode. |
| 823 const char kTopDocumentIsolation[] = "top-document-isolation"; |
| 824 |
| 821 // Controls how text selection granularity changes when touch text selection | 825 // Controls how text selection granularity changes when touch text selection |
| 822 // handles are dragged. Should be "character" or "direction". If not specified, | 826 // handles are dragged. Should be "character" or "direction". If not specified, |
| 823 // the platform default is used. | 827 // the platform default is used. |
| 824 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy"; | 828 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy"; |
| 825 | 829 |
| 826 // Prioritizes the UI's command stream in the GPU process | 830 // Prioritizes the UI's command stream in the GPU process |
| 827 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process"; | 831 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process"; |
| 828 | 832 |
| 829 // Bypass the media stream infobar by selecting the default device for media | 833 // Bypass the media stream infobar by selecting the default device for media |
| 830 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 834 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1047 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1051 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1048 | 1052 |
| 1049 // Enables the exporting of the tracing events to ETW. This is only supported on | 1053 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1050 // Windows Vista and later. | 1054 // Windows Vista and later. |
| 1051 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1055 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1052 #endif | 1056 #endif |
| 1053 | 1057 |
| 1054 // Don't dump stuff here, follow the same order as the header. | 1058 // Don't dump stuff here, follow the same order as the header. |
| 1055 | 1059 |
| 1056 } // namespace switches | 1060 } // namespace switches |
| OLD | NEW |