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