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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 // Upscale defaults to "best". | 782 // Upscale defaults to "best". |
783 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; | 783 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; |
784 | 784 |
785 // Allows for forcing socket connections to http/https to use fixed ports. | 785 // Allows for forcing socket connections to http/https to use fixed ports. |
786 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 786 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
787 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 787 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
788 | 788 |
789 // Type of the current test harness ("browser" or "ui"). | 789 // Type of the current test harness ("browser" or "ui"). |
790 const char kTestType[] = "test-type"; | 790 const char kTestType[] = "test-type"; |
791 | 791 |
| 792 // Controls how text selection granularity changes when touch text selection |
| 793 // handles are dragged. Should be "character" or "direction". If not specified, |
| 794 // the platform default is used. |
| 795 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy"; |
| 796 |
792 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 797 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
793 // can specify the specific trace categories to include (e.g. | 798 // can specify the specific trace categories to include (e.g. |
794 // --trace-shutdown=base,net) otherwise, all events are recorded. | 799 // --trace-shutdown=base,net) otherwise, all events are recorded. |
795 // --trace-shutdown-file can be used to control where the trace log gets stored | 800 // --trace-shutdown-file can be used to control where the trace log gets stored |
796 // to since there is otherwise no way to access the result. | 801 // to since there is otherwise no way to access the result. |
797 const char kTraceShutdown[] = "trace-shutdown"; | 802 const char kTraceShutdown[] = "trace-shutdown"; |
798 | 803 |
799 // If supplied, sets the file which shutdown tracing will be stored into, if | 804 // If supplied, sets the file which shutdown tracing will be stored into, if |
800 // omitted the default will be used "chrometrace.log" in the current directory. | 805 // omitted the default will be used "chrometrace.log" in the current directory. |
801 // Has no effect unless --trace-shutdown is also supplied. | 806 // Has no effect unless --trace-shutdown is also supplied. |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 // Windows Vista and later. | 1001 // Windows Vista and later. |
997 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1002 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
998 #endif | 1003 #endif |
999 | 1004 |
1000 // Enables the use of NPAPI plugins. | 1005 // Enables the use of NPAPI plugins. |
1001 const char kEnableNpapi[] = "enable-npapi"; | 1006 const char kEnableNpapi[] = "enable-npapi"; |
1002 | 1007 |
1003 // Don't dump stuff here, follow the same order as the header. | 1008 // Don't dump stuff here, follow the same order as the header. |
1004 | 1009 |
1005 } // namespace switches | 1010 } // namespace switches |
OLD | NEW |