| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 150 |
| 151 // Disable the thread that crashes the GPU process if it stops responding to | 151 // Disable the thread that crashes the GPU process if it stops responding to |
| 152 // messages. | 152 // messages. |
| 153 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; | 153 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; |
| 154 | 154 |
| 155 // Suppresses hang monitor dialogs in renderer processes. This may allow slow | 155 // Suppresses hang monitor dialogs in renderer processes. This may allow slow |
| 156 // unload handlers on a page to prevent the tab from closing, but the Task | 156 // unload handlers on a page to prevent the tab from closing, but the Task |
| 157 // Manager can be used to terminate the offending process in this case. | 157 // Manager can be used to terminate the offending process in this case. |
| 158 const char kDisableHangMonitor[] = "disable-hang-monitor"; | 158 const char kDisableHangMonitor[] = "disable-hang-monitor"; |
| 159 | 159 |
| 160 // Disable hiding the close buttons of inactive tabs when the tabstrip is in |
| 161 // stacked mode. |
| 162 const char kDisableHideInactiveStackedTabCloseButtons[] = |
| 163 "disable-hide-inactive-stacked-tab-close-buttons"; |
| 164 |
| 160 // Disable the RenderThread's HistogramCustomizer. | 165 // Disable the RenderThread's HistogramCustomizer. |
| 161 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; | 166 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; |
| 162 | 167 |
| 163 // Paint content on the main thread instead of the compositor thread. | 168 // Paint content on the main thread instead of the compositor thread. |
| 164 const char kDisableImplSidePainting[] = "disable-impl-side-painting"; | 169 const char kDisableImplSidePainting[] = "disable-impl-side-painting"; |
| 165 | 170 |
| 166 // Prevent Java from running. | 171 // Prevent Java from running. |
| 167 const char kDisableJava[] = "disable-java"; | 172 const char kDisableJava[] = "disable-java"; |
| 168 | 173 |
| 169 // Don't kill a child process when it sends a bad IPC message. Apart | 174 // Don't kill a child process when it sends a bad IPC message. Apart |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 "enable-stats-collection-bindings"; | 762 "enable-stats-collection-bindings"; |
| 758 | 763 |
| 759 // Upscale defaults to "good". | 764 // Upscale defaults to "good". |
| 760 const char kTabCaptureDownscaleQuality[] = "tab-capture-downscale-quality"; | 765 const char kTabCaptureDownscaleQuality[] = "tab-capture-downscale-quality"; |
| 761 | 766 |
| 762 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best". | 767 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best". |
| 763 // One flag for upscaling, one for downscaling. | 768 // One flag for upscaling, one for downscaling. |
| 764 // Upscale defaults to "best". | 769 // Upscale defaults to "best". |
| 765 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; | 770 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; |
| 766 | 771 |
| 767 // Options for hiding the close buttons of inactive tabs when touch | |
| 768 // is used to interact with the tabstrip. | |
| 769 const char kTabCloseButtonsHiddenWithTouch[] = | |
| 770 "tab-close-buttons-hidden-with-touch"; | |
| 771 | |
| 772 // Allows for forcing socket connections to http/https to use fixed ports. | 772 // Allows for forcing socket connections to http/https to use fixed ports. |
| 773 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 773 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 774 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 774 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 775 | 775 |
| 776 // Type of the current test harness ("browser" or "ui"). | 776 // Type of the current test harness ("browser" or "ui"). |
| 777 const char kTestType[] = "test-type"; | 777 const char kTestType[] = "test-type"; |
| 778 | 778 |
| 779 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 779 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
| 780 // can specify the specific trace categories to include (e.g. | 780 // can specify the specific trace categories to include (e.g. |
| 781 // --trace-shutdown=base,net) otherwise, all events are recorded. | 781 // --trace-shutdown=base,net) otherwise, all events are recorded. |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 const char kEnableNpapi[] = "enable-npapi"; | 985 const char kEnableNpapi[] = "enable-npapi"; |
| 986 | 986 |
| 987 #if defined(ENABLE_PLUGINS) | 987 #if defined(ENABLE_PLUGINS) |
| 988 // Enables the plugin power saver feature. | 988 // Enables the plugin power saver feature. |
| 989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 990 #endif | 990 #endif |
| 991 | 991 |
| 992 // Don't dump stuff here, follow the same order as the header. | 992 // Don't dump stuff here, follow the same order as the header. |
| 993 | 993 |
| 994 } // namespace switches | 994 } // namespace switches |
| OLD | NEW |