| 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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| 10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
| (...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 // Upscale defaults to "best". | 778 // Upscale defaults to "best". |
| 779 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; | 779 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; |
| 780 | 780 |
| 781 // Allows for forcing socket connections to http/https to use fixed ports. | 781 // Allows for forcing socket connections to http/https to use fixed ports. |
| 782 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 782 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 783 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 783 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 784 | 784 |
| 785 // Type of the current test harness ("browser" or "ui"). | 785 // Type of the current test harness ("browser" or "ui"). |
| 786 const char kTestType[] = "test-type"; | 786 const char kTestType[] = "test-type"; |
| 787 | 787 |
| 788 // Controls how text selection granularity changes when touch text selection |
| 789 // handles are dragged. Should be "character" or "direction". If not specified, |
| 790 // the platform default is used. |
| 791 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy"; |
| 792 |
| 788 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 793 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
| 789 // can specify the specific trace categories to include (e.g. | 794 // can specify the specific trace categories to include (e.g. |
| 790 // --trace-shutdown=base,net) otherwise, all events are recorded. | 795 // --trace-shutdown=base,net) otherwise, all events are recorded. |
| 791 // --trace-shutdown-file can be used to control where the trace log gets stored | 796 // --trace-shutdown-file can be used to control where the trace log gets stored |
| 792 // to since there is otherwise no way to access the result. | 797 // to since there is otherwise no way to access the result. |
| 793 const char kTraceShutdown[] = "trace-shutdown"; | 798 const char kTraceShutdown[] = "trace-shutdown"; |
| 794 | 799 |
| 795 // If supplied, sets the file which shutdown tracing will be stored into, if | 800 // If supplied, sets the file which shutdown tracing will be stored into, if |
| 796 // omitted the default will be used "chrometrace.log" in the current directory. | 801 // omitted the default will be used "chrometrace.log" in the current directory. |
| 797 // Has no effect unless --trace-shutdown is also supplied. | 802 // Has no effect unless --trace-shutdown is also supplied. |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 // Windows Vista and later. | 991 // Windows Vista and later. |
| 987 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 992 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 988 #endif | 993 #endif |
| 989 | 994 |
| 990 // Enables the use of NPAPI plugins. | 995 // Enables the use of NPAPI plugins. |
| 991 const char kEnableNpapi[] = "enable-npapi"; | 996 const char kEnableNpapi[] = "enable-npapi"; |
| 992 | 997 |
| 993 // Don't dump stuff here, follow the same order as the header. | 998 // Don't dump stuff here, follow the same order as the header. |
| 994 | 999 |
| 995 } // namespace switches | 1000 } // namespace switches |
| OLD | NEW |