| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Disable limits on the number of backing stores. Can prevent blinking for | 84 // Disable limits on the number of backing stores. Can prevent blinking for |
| 85 // users with many windows/tabs and lots of memory. | 85 // users with many windows/tabs and lots of memory. |
| 86 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 86 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
| 87 | 87 |
| 88 // Disable one or more Blink runtime-enabled features. | 88 // Disable one or more Blink runtime-enabled features. |
| 89 // Use names from RuntimeEnabledFeatures.in, separated by commas. | 89 // Use names from RuntimeEnabledFeatures.in, separated by commas. |
| 90 // Applied after kEnableBlinkFeatures, and after other flags that change these | 90 // Applied after kEnableBlinkFeatures, and after other flags that change these |
| 91 // features. | 91 // features. |
| 92 const char kDisableBlinkFeatures[] = "disable-blink-features"; | 92 const char kDisableBlinkFeatures[] = "disable-blink-features"; |
| 93 | 93 |
| 94 // Disable the Blink Scheduler. Ensures there's no reordering of blink tasks. | |
| 95 // This switch is intended only for performance tests. | |
| 96 const char kDisableBlinkScheduler[] = "disable-blink-scheduler"; | |
| 97 | |
| 98 // Disable the creation of compositing layers when it would prevent LCD text. | 94 // Disable the creation of compositing layers when it would prevent LCD text. |
| 99 const char kDisablePreferCompositingToLCDText[] = | 95 const char kDisablePreferCompositingToLCDText[] = |
| 100 "disable-prefer-compositing-to-lcd-text"; | 96 "disable-prefer-compositing-to-lcd-text"; |
| 101 | 97 |
| 102 // Disables HTML5 DB support. | 98 // Disables HTML5 DB support. |
| 103 const char kDisableDatabases[] = "disable-databases"; | 99 const char kDisableDatabases[] = "disable-databases"; |
| 104 | 100 |
| 105 // Disables delegated renderer. | 101 // Disables delegated renderer. |
| 106 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; | 102 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; |
| 107 | 103 |
| (...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 996 // Windows Vista and later. | 992 // Windows Vista and later. |
| 997 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 993 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 998 #endif | 994 #endif |
| 999 | 995 |
| 1000 // Enables the use of NPAPI plugins. | 996 // Enables the use of NPAPI plugins. |
| 1001 const char kEnableNpapi[] = "enable-npapi"; | 997 const char kEnableNpapi[] = "enable-npapi"; |
| 1002 | 998 |
| 1003 // Don't dump stuff here, follow the same order as the header. | 999 // Don't dump stuff here, follow the same order as the header. |
| 1004 | 1000 |
| 1005 } // namespace switches | 1001 } // namespace switches |
| OLD | NEW |