| 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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 // had pressed F11 right after startup. | 782 // had pressed F11 right after startup. |
| 783 const char kStartFullscreen[] = "start-fullscreen"; | 783 const char kStartFullscreen[] = "start-fullscreen"; |
| 784 | 784 |
| 785 // Specifies if the |StatsCollectionController| needs to be bound in the | 785 // Specifies if the |StatsCollectionController| needs to be bound in the |
| 786 // renderer. This binding happens on per-frame basis and hence can potentially | 786 // renderer. This binding happens on per-frame basis and hence can potentially |
| 787 // be a performance bottleneck. One should only enable it when running a test | 787 // be a performance bottleneck. One should only enable it when running a test |
| 788 // that needs to access the provided statistics. | 788 // that needs to access the provided statistics. |
| 789 const char kStatsCollectionController[] = | 789 const char kStatsCollectionController[] = |
| 790 "enable-stats-collection-bindings"; | 790 "enable-stats-collection-bindings"; |
| 791 | 791 |
| 792 // Upscale defaults to "good". | |
| 793 const char kTabCaptureDownscaleQuality[] = "tab-capture-downscale-quality"; | |
| 794 | |
| 795 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best". | |
| 796 // One flag for upscaling, one for downscaling. | |
| 797 // Upscale defaults to "best". | |
| 798 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; | |
| 799 | |
| 800 // Allows for forcing socket connections to http/https to use fixed ports. | 792 // Allows for forcing socket connections to http/https to use fixed ports. |
| 801 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 793 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 802 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 794 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 803 | 795 |
| 804 // Type of the current test harness ("browser" or "ui"). | 796 // Type of the current test harness ("browser" or "ui"). |
| 805 const char kTestType[] = "test-type"; | 797 const char kTestType[] = "test-type"; |
| 806 | 798 |
| 807 // Controls how text selection granularity changes when touch text selection | 799 // Controls how text selection granularity changes when touch text selection |
| 808 // handles are dragged. Should be "character" or "direction". If not specified, | 800 // handles are dragged. Should be "character" or "direction". If not specified, |
| 809 // the platform default is used. | 801 // the platform default is used. |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1023 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1032 | 1024 |
| 1033 // Enables the exporting of the tracing events to ETW. This is only supported on | 1025 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1034 // Windows Vista and later. | 1026 // Windows Vista and later. |
| 1035 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1027 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1036 #endif | 1028 #endif |
| 1037 | 1029 |
| 1038 // Don't dump stuff here, follow the same order as the header. | 1030 // Don't dump stuff here, follow the same order as the header. |
| 1039 | 1031 |
| 1040 } // namespace switches | 1032 } // namespace switches |
| OLD | NEW |