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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // Disable limits on the number of backing stores. Can prevent blinking for | 83 // Disable limits on the number of backing stores. Can prevent blinking for |
84 // users with many windows/tabs and lots of memory. | 84 // users with many windows/tabs and lots of memory. |
85 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 85 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
86 | 86 |
87 // Disable one or more Blink runtime-enabled features. | 87 // Disable one or more Blink runtime-enabled features. |
88 // Use names from RuntimeEnabledFeatures.in, separated by commas. | 88 // Use names from RuntimeEnabledFeatures.in, separated by commas. |
89 // Applied after kEnableBlinkFeatures, and after other flags that change these | 89 // Applied after kEnableBlinkFeatures, and after other flags that change these |
90 // features. | 90 // features. |
91 const char kDisableBlinkFeatures[] = "disable-blink-features"; | 91 const char kDisableBlinkFeatures[] = "disable-blink-features"; |
92 | 92 |
| 93 // Disables new cc/animation system (Project Heaviside). crbug.com/394772 |
| 94 const char kDisableCompositorAnimationTimelines[] = |
| 95 "disable-compositor-animation-timelines"; |
| 96 |
93 // Disables HTML5 DB support. | 97 // Disables HTML5 DB support. |
94 const char kDisableDatabases[] = "disable-databases"; | 98 const char kDisableDatabases[] = "disable-databases"; |
95 | 99 |
96 // Disables Delay Agnostic AEC in WebRTC. | 100 // Disables Delay Agnostic AEC in WebRTC. |
97 const char kDisableDelayAgnosticAec[] = "disable-delay-agnostic-aec"; | 101 const char kDisableDelayAgnosticAec[] = "disable-delay-agnostic-aec"; |
98 | 102 |
99 // Handles URL requests by NPAPI plugins through the renderer. | 103 // Handles URL requests by NPAPI plugins through the renderer. |
100 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; | 104 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; |
101 | 105 |
102 // Disable the per-domain blocking for 3D APIs after GPU reset. | 106 // Disable the per-domain blocking for 3D APIs after GPU reset. |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 | 297 |
294 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) | 298 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) |
295 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; | 299 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; |
296 | 300 |
297 // Disable partially decoding jpeg images using the GPU. | 301 // Disable partially decoding jpeg images using the GPU. |
298 // At least YUV decoding will be accelerated when not using this flag. | 302 // At least YUV decoding will be accelerated when not using this flag. |
299 // Has no effect unless GPU rasterization is enabled. | 303 // Has no effect unless GPU rasterization is enabled. |
300 const char kDisableAcceleratedJpegDecoding[] = | 304 const char kDisableAcceleratedJpegDecoding[] = |
301 "disable-accelerated-jpeg-decoding"; | 305 "disable-accelerated-jpeg-decoding"; |
302 | 306 |
303 // Enables new cc/animation system (Project Heaviside). crbug.com/394772 | |
304 const char kEnableCompositorAnimationTimelines[] = | |
305 "enable-compositor-animation-timelines"; | |
306 | |
307 // Enables LCD text. | 307 // Enables LCD text. |
308 const char kEnableLCDText[] = "enable-lcd-text"; | 308 const char kEnableLCDText[] = "enable-lcd-text"; |
309 | 309 |
310 // Enables using signed distance fields when rendering text. | 310 // Enables using signed distance fields when rendering text. |
311 // Only valid if GPU rasterization is enabled as well. | 311 // Only valid if GPU rasterization is enabled as well. |
312 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; | 312 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; |
313 | 313 |
314 // Enable the experimental Credential Manager JavaScript API. | 314 // Enable the experimental Credential Manager JavaScript API. |
315 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; | 315 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; |
316 | 316 |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 // Windows Vista and later. | 982 // Windows Vista and later. |
983 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 983 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
984 #endif | 984 #endif |
985 | 985 |
986 // Enable the Mojo shell connection in renderers. | 986 // Enable the Mojo shell connection in renderers. |
987 const char kEnableMojoShellConnection[] = "enable-mojo-shell-connection"; | 987 const char kEnableMojoShellConnection[] = "enable-mojo-shell-connection"; |
988 | 988 |
989 // Don't dump stuff here, follow the same order as the header. | 989 // Don't dump stuff here, follow the same order as the header. |
990 | 990 |
991 } // namespace switches | 991 } // namespace switches |
OLD | NEW |