| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 const char kDisableHangMonitor[] = "disable-hang-monitor"; | 154 const char kDisableHangMonitor[] = "disable-hang-monitor"; |
| 155 | 155 |
| 156 // Disable hiding the close buttons of inactive tabs when the tabstrip is in | 156 // Disable hiding the close buttons of inactive tabs when the tabstrip is in |
| 157 // stacked mode. | 157 // stacked mode. |
| 158 const char kDisableHideInactiveStackedTabCloseButtons[] = | 158 const char kDisableHideInactiveStackedTabCloseButtons[] = |
| 159 "disable-hide-inactive-stacked-tab-close-buttons"; | 159 "disable-hide-inactive-stacked-tab-close-buttons"; |
| 160 | 160 |
| 161 // Disable the RenderThread's HistogramCustomizer. | 161 // Disable the RenderThread's HistogramCustomizer. |
| 162 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; | 162 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; |
| 163 | 163 |
| 164 // Paint content on the main thread instead of the compositor thread. | |
| 165 const char kDisableImplSidePainting[] = "disable-impl-side-painting"; | |
| 166 | |
| 167 // Prevent Java from running. | 164 // Prevent Java from running. |
| 168 const char kDisableJava[] = "disable-java"; | 165 const char kDisableJava[] = "disable-java"; |
| 169 | 166 |
| 170 // Don't kill a child process when it sends a bad IPC message. Apart | 167 // Don't kill a child process when it sends a bad IPC message. Apart |
| 171 // from testing, it is a bad idea from a security perspective to enable | 168 // from testing, it is a bad idea from a security perspective to enable |
| 172 // this switch. | 169 // this switch. |
| 173 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; | 170 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; |
| 174 | 171 |
| 175 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). | 172 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). |
| 176 const char kDisablePrefixedEncryptedMedia[] = | 173 const char kDisablePrefixedEncryptedMedia[] = |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 | 306 |
| 310 // Disable one or more Blink runtime-enabled features. | 307 // Disable one or more Blink runtime-enabled features. |
| 311 // Use names from RuntimeEnabledFeatures.in, separated by commas. | 308 // Use names from RuntimeEnabledFeatures.in, separated by commas. |
| 312 // Applied before kDisableBlinkFeatures, and after other flags that change these | 309 // Applied before kDisableBlinkFeatures, and after other flags that change these |
| 313 // features. | 310 // features. |
| 314 const char kEnableBlinkFeatures[] = "enable-blink-features"; | 311 const char kEnableBlinkFeatures[] = "enable-blink-features"; |
| 315 | 312 |
| 316 // PlzNavigate: Use the experimental browser-side navigation path. | 313 // PlzNavigate: Use the experimental browser-side navigation path. |
| 317 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; | 314 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
| 318 | 315 |
| 319 // Defer image decoding in WebKit until painting. | |
| 320 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | |
| 321 | |
| 322 // Enables Delay Agnostic AEC in WebRTC. | 316 // Enables Delay Agnostic AEC in WebRTC. |
| 323 const char kEnableDelayAgnosticAec[] = "enable-delay-agnostic-aec"; | 317 const char kEnableDelayAgnosticAec[] = "enable-delay-agnostic-aec"; |
| 324 | 318 |
| 325 // Enables delegated renderer. | 319 // Enables delegated renderer. |
| 326 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; | 320 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
| 327 | 321 |
| 328 // Enables display list based 2d canvas implementation. Options: | 322 // Enables display list based 2d canvas implementation. Options: |
| 329 // 1. Enable: allow browser to use display list for 2d canvas (browser makes | 323 // 1. Enable: allow browser to use display list for 2d canvas (browser makes |
| 330 // decision). | 324 // decision). |
| 331 // 2. Force: browser always uses display list for 2d canvas. | 325 // 2. Force: browser always uses display list for 2d canvas. |
| (...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 // Windows Vista and later. | 1001 // Windows Vista and later. |
| 1008 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1002 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1009 #endif | 1003 #endif |
| 1010 | 1004 |
| 1011 // Enables the use of NPAPI plugins. | 1005 // Enables the use of NPAPI plugins. |
| 1012 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; | 1006 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; |
| 1013 | 1007 |
| 1014 // 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. |
| 1015 | 1009 |
| 1016 } // namespace switches | 1010 } // namespace switches |
| OLD | NEW |