| 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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 // had pressed F11 right after startup. | 793 // had pressed F11 right after startup. |
| 794 const char kStartFullscreen[] = "start-fullscreen"; | 794 const char kStartFullscreen[] = "start-fullscreen"; |
| 795 | 795 |
| 796 // Specifies if the |StatsCollectionController| needs to be bound in the | 796 // Specifies if the |StatsCollectionController| needs to be bound in the |
| 797 // renderer. This binding happens on per-frame basis and hence can potentially | 797 // renderer. This binding happens on per-frame basis and hence can potentially |
| 798 // be a performance bottleneck. One should only enable it when running a test | 798 // be a performance bottleneck. One should only enable it when running a test |
| 799 // that needs to access the provided statistics. | 799 // that needs to access the provided statistics. |
| 800 const char kStatsCollectionController[] = | 800 const char kStatsCollectionController[] = |
| 801 "enable-stats-collection-bindings"; | 801 "enable-stats-collection-bindings"; |
| 802 | 802 |
| 803 // Upscale defaults to "good". | |
| 804 const char kTabCaptureDownscaleQuality[] = "tab-capture-downscale-quality"; | |
| 805 | |
| 806 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best". | |
| 807 // One flag for upscaling, one for downscaling. | |
| 808 // Upscale defaults to "best". | |
| 809 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; | |
| 810 | |
| 811 // Allows for forcing socket connections to http/https to use fixed ports. | 803 // Allows for forcing socket connections to http/https to use fixed ports. |
| 812 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 804 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 813 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 805 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 814 | 806 |
| 815 // Type of the current test harness ("browser" or "ui"). | 807 // Type of the current test harness ("browser" or "ui"). |
| 816 const char kTestType[] = "test-type"; | 808 const char kTestType[] = "test-type"; |
| 817 | 809 |
| 818 // Controls how text selection granularity changes when touch text selection | 810 // Controls how text selection granularity changes when touch text selection |
| 819 // handles are dragged. Should be "character" or "direction". If not specified, | 811 // handles are dragged. Should be "character" or "direction". If not specified, |
| 820 // the platform default is used. | 812 // the platform default is used. |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1036 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1045 | 1037 |
| 1046 // Enables the exporting of the tracing events to ETW. This is only supported on | 1038 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1047 // Windows Vista and later. | 1039 // Windows Vista and later. |
| 1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1040 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1049 #endif | 1041 #endif |
| 1050 | 1042 |
| 1051 // Don't dump stuff here, follow the same order as the header. | 1043 // Don't dump stuff here, follow the same order as the header. |
| 1052 | 1044 |
| 1053 } // namespace switches | 1045 } // namespace switches |
| OLD | NEW |