| 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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 // Upscale defaults to "best". | 737 // Upscale defaults to "best". |
| 738 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; | 738 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; |
| 739 | 739 |
| 740 // Allows for forcing socket connections to http/https to use fixed ports. | 740 // Allows for forcing socket connections to http/https to use fixed ports. |
| 741 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 741 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 742 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 742 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 743 | 743 |
| 744 // Type of the current test harness ("browser" or "ui"). | 744 // Type of the current test harness ("browser" or "ui"). |
| 745 const char kTestType[] = "test-type"; | 745 const char kTestType[] = "test-type"; |
| 746 | 746 |
| 747 const char kTouchScrollingMode[] = "touch-scrolling-mode"; | |
| 748 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; | |
| 749 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; | |
| 750 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; | |
| 751 | |
| 752 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 747 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
| 753 // can specify the specific trace categories to include (e.g. | 748 // can specify the specific trace categories to include (e.g. |
| 754 // --trace-shutdown=base,net) otherwise, all events are recorded. | 749 // --trace-shutdown=base,net) otherwise, all events are recorded. |
| 755 // --trace-shutdown-file can be used to control where the trace log gets stored | 750 // --trace-shutdown-file can be used to control where the trace log gets stored |
| 756 // to since there is otherwise no way to access the result. | 751 // to since there is otherwise no way to access the result. |
| 757 const char kTraceShutdown[] = "trace-shutdown"; | 752 const char kTraceShutdown[] = "trace-shutdown"; |
| 758 | 753 |
| 759 // If supplied, sets the file which shutdown tracing will be stored into, if | 754 // If supplied, sets the file which shutdown tracing will be stored into, if |
| 760 // omitted the default will be used "chrometrace.log" in the current directory. | 755 // omitted the default will be used "chrometrace.log" in the current directory. |
| 761 // Has no effect unless --trace-shutdown is also supplied. | 756 // Has no effect unless --trace-shutdown is also supplied. |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 const char kEnableNpapi[] = "enable-npapi"; | 950 const char kEnableNpapi[] = "enable-npapi"; |
| 956 | 951 |
| 957 #if defined(ENABLE_PLUGINS) | 952 #if defined(ENABLE_PLUGINS) |
| 958 // Enables the plugin power saver feature. | 953 // Enables the plugin power saver feature. |
| 959 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 954 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 960 #endif | 955 #endif |
| 961 | 956 |
| 962 // Don't dump stuff here, follow the same order as the header. | 957 // Don't dump stuff here, follow the same order as the header. |
| 963 | 958 |
| 964 } // namespace switches | 959 } // namespace switches |
| OLD | NEW |