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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 "disable-accelerated-mjpeg-decode"; | 83 "disable-accelerated-mjpeg-decode"; |
84 | 84 |
85 // Disables hardware acceleration of video decode, where available. | 85 // Disables hardware acceleration of video decode, where available. |
86 const char kDisableAcceleratedVideoDecode[] = | 86 const char kDisableAcceleratedVideoDecode[] = |
87 "disable-accelerated-video-decode"; | 87 "disable-accelerated-video-decode"; |
88 | 88 |
89 // Disable limits on the number of backing stores. Can prevent blinking for | 89 // Disable limits on the number of backing stores. Can prevent blinking for |
90 // users with many windows/tabs and lots of memory. | 90 // users with many windows/tabs and lots of memory. |
91 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 91 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
92 | 92 |
| 93 // Disable backgrounding renders for occluded windows. Done for tests to avoid |
| 94 // nondeterministic behavior. |
| 95 extern const char kDisableBackgroundingOccludedWindowsForTesting[] = |
| 96 "disable-backgrounding-occluded-windows"; |
| 97 |
93 // Disable one or more Blink runtime-enabled features. | 98 // Disable one or more Blink runtime-enabled features. |
94 // Use names from RuntimeEnabledFeatures.in, separated by commas. | 99 // Use names from RuntimeEnabledFeatures.in, separated by commas. |
95 // Applied after kEnableBlinkFeatures, and after other flags that change these | 100 // Applied after kEnableBlinkFeatures, and after other flags that change these |
96 // features. | 101 // features. |
97 const char kDisableBlinkFeatures[] = "disable-blink-features"; | 102 const char kDisableBlinkFeatures[] = "disable-blink-features"; |
98 | 103 |
99 // Disables HTML5 DB support. | 104 // Disables HTML5 DB support. |
100 const char kDisableDatabases[] = "disable-databases"; | 105 const char kDisableDatabases[] = "disable-databases"; |
101 | 106 |
102 // Disables Delay Agnostic AEC in WebRTC. | 107 // Disables Delay Agnostic AEC in WebRTC. |
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1045 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
1041 | 1046 |
1042 // Enables the exporting of the tracing events to ETW. This is only supported on | 1047 // Enables the exporting of the tracing events to ETW. This is only supported on |
1043 // Windows Vista and later. | 1048 // Windows Vista and later. |
1044 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1049 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1045 #endif | 1050 #endif |
1046 | 1051 |
1047 // Don't dump stuff here, follow the same order as the header. | 1052 // Don't dump stuff here, follow the same order as the header. |
1048 | 1053 |
1049 } // namespace switches | 1054 } // namespace switches |
OLD | NEW |