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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // Disable limits on the number of backing stores. Can prevent blinking for | 76 // Disable limits on the number of backing stores. Can prevent blinking for |
77 // users with many windows/tabs and lots of memory. | 77 // users with many windows/tabs and lots of memory. |
78 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 78 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
79 | 79 |
80 // Disable one or more Blink runtime-enabled features. | 80 // Disable one or more Blink runtime-enabled features. |
81 // Use names from RuntimeEnabledFeatures.in, separated by commas. | 81 // Use names from RuntimeEnabledFeatures.in, separated by commas. |
82 // Applied after kEnableBlinkFeatures, and after other flags that change these | 82 // Applied after kEnableBlinkFeatures, and after other flags that change these |
83 // features. | 83 // features. |
84 const char kDisableBlinkFeatures[] = "disable-blink-features"; | 84 const char kDisableBlinkFeatures[] = "disable-blink-features"; |
85 | 85 |
86 // Disables new cc/animation system (Project Heaviside). crbug.com/394772 | |
87 const char kDisableCompositorAnimationTimelines[] = | |
88 "disable-compositor-animation-timelines"; | |
89 | |
90 // Disable the creation of compositing layers when it would prevent LCD text. | 86 // Disable the creation of compositing layers when it would prevent LCD text. |
91 const char kDisablePreferCompositingToLCDText[] = | 87 const char kDisablePreferCompositingToLCDText[] = |
92 "disable-prefer-compositing-to-lcd-text"; | 88 "disable-prefer-compositing-to-lcd-text"; |
93 | 89 |
94 // Disables HTML5 DB support. | 90 // Disables HTML5 DB support. |
95 const char kDisableDatabases[] = "disable-databases"; | 91 const char kDisableDatabases[] = "disable-databases"; |
96 | 92 |
97 // Disables Delay Agnostic AEC in WebRTC. | 93 // Disables Delay Agnostic AEC in WebRTC. |
98 const char kDisableDelayAgnosticAec[] = "disable-delay-agnostic-aec"; | 94 const char kDisableDelayAgnosticAec[] = "disable-delay-agnostic-aec"; |
99 | 95 |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 282 |
287 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) | 283 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) |
288 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; | 284 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; |
289 | 285 |
290 // Disable partially decoding jpeg images using the GPU. | 286 // Disable partially decoding jpeg images using the GPU. |
291 // At least YUV decoding will be accelerated when not using this flag. | 287 // At least YUV decoding will be accelerated when not using this flag. |
292 // Has no effect unless GPU rasterization is enabled. | 288 // Has no effect unless GPU rasterization is enabled. |
293 const char kDisableAcceleratedJpegDecoding[] = | 289 const char kDisableAcceleratedJpegDecoding[] = |
294 "disable-accelerated-jpeg-decoding"; | 290 "disable-accelerated-jpeg-decoding"; |
295 | 291 |
| 292 // Enables new cc/animation system (Project Heaviside). crbug.com/394772 |
| 293 const char kEnableCompositorAnimationTimelines[] = |
| 294 "enable-compositor-animation-timelines"; |
| 295 |
296 // Enables LCD text. | 296 // Enables LCD text. |
297 const char kEnableLCDText[] = "enable-lcd-text"; | 297 const char kEnableLCDText[] = "enable-lcd-text"; |
298 | 298 |
299 // Enables using signed distance fields when rendering text. | 299 // Enables using signed distance fields when rendering text. |
300 // Only valid if GPU rasterization is enabled as well. | 300 // Only valid if GPU rasterization is enabled as well. |
301 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; | 301 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; |
302 | 302 |
303 // Enable the experimental Credential Manager JavaScript API. | 303 // Enable the experimental Credential Manager JavaScript API. |
304 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; | 304 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; |
305 | 305 |
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 958 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
959 | 959 |
960 // Enables the exporting of the tracing events to ETW. This is only supported on | 960 // Enables the exporting of the tracing events to ETW. This is only supported on |
961 // Windows Vista and later. | 961 // Windows Vista and later. |
962 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 962 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
963 #endif | 963 #endif |
964 | 964 |
965 // Don't dump stuff here, follow the same order as the header. | 965 // Don't dump stuff here, follow the same order as the header. |
966 | 966 |
967 } // namespace switches | 967 } // namespace switches |
OLD | NEW |