Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // http://dev.chromium.org/blink/runtime-enabled-features | 1 // http://dev.chromium.org/blink/runtime-enabled-features |
| 2 // | 2 // |
| 3 // This list is used to generate RuntimeEnabledFeatures.h/cpp which contains | 3 // This list is used to generate RuntimeEnabledFeatures.h/cpp which contains |
| 4 // a class that stores static enablers for all experimental features. | 4 // a class that stores static enablers for all experimental features. |
| 5 // | 5 // |
| 6 // Each feature can be assigned a "status": | 6 // Each feature can be assigned a "status": |
| 7 // status=stable -> Enable this in all Blink configurations. We are committed t o these APIs indefinitely. | 7 // status=stable -> Enable this in all Blink configurations. We are committed t o these APIs indefinitely. |
| 8 // status=experimental -> In-progress features, Web Developers might play with, but are not on by default in stable. | 8 // status=experimental -> In-progress features, Web Developers might play with, but are not on by default in stable. |
| 9 // status=test -> Enabled in ContentShell for testing, otherwise off. | 9 // status=test -> Enabled in ContentShell for testing, otherwise off. |
| 10 // Features without a status are not enabled anywhere by default. | 10 // Features without a status are not enabled anywhere by default. |
| 11 // | 11 // |
| 12 // "implied_by" or "depends_on" specifies relationship to other features: | 12 // "implied_by" or "depends_on" specifies relationship to other features: |
| 13 // implied_by=feature1[,feature2,...] -> The feature is automatically enabled if any implied_by features is enabled; | 13 // implied_by=feature1[,feature2,...] -> The feature is automatically enabled if any implied_by features is enabled; |
| 14 // depends_on=feature1[,feature2,...] -> The feature is enabled only if all depe nds_on features are enabled. | 14 // depends_on=feature1[,feature2,...] -> The feature is enabled only if all depe nds_on features are enabled. |
| 15 // Only one of "implied_by" and "depends_on" can be specified. | 15 // Only one of "implied_by" and "depends_on" can be specified. |
| 16 // | 16 // |
| 17 // "stable" features listed here should be rare, as anything which we've shipped stable | 17 // "stable" features listed here should be rare, as anything which we've shipped stable |
| 18 // can have its runtime flag removed soon after. | 18 // can have its runtime flag removed soon after. |
| 19 // | 19 // |
| 20 // condition=ENABLE_NAME is used for wrapping features in compile-time | 20 // condition=ENABLE_NAME is used for wrapping features in compile-time |
| 21 // #if ENABLE(FEATURE) guards. These are deprecated and should all be removed. | 21 // #if ENABLE(FEATURE) guards. These are deprecated and should all be removed. |
| 22 // | 22 // |
| 23 // api_name=API_NAME is used to enable the feature through the experimental fram ework, so that the feature can be | 23 // api_name=API_NAME is used to integrate the feature with the experimental fram ework, so that the feature can be |
|
Rick Byers
2016/01/08 21:20:34
nit: perhaps this should be renamed to make the re
| |
| 24 // enabled at runtime on a per-page basis through a signed API key for the corre sponding API name. | 24 // enabled at runtime on a per-page basis through a signed API key for the corre sponding API name. |
| 25 // Declaring the api_name will cause a static method to be generated in | |
| 26 // ExperimentalFeatures.h/cpp. This static method allows the feature | |
| 27 // implementation to check if it is enabled for the current context. | |
| 25 | 28 |
| 26 AdditiveAnimations status=experimental, depends_on=StackedCSSPropertyAnimations | 29 AdditiveAnimations status=experimental, depends_on=StackedCSSPropertyAnimations |
| 27 AppBanner status=stable | 30 AppBanner status=stable |
| 28 AlwaysUseComplexText status=stable | 31 AlwaysUseComplexText status=stable |
| 29 ApplicationCache status=stable | 32 ApplicationCache status=stable |
| 30 AudioOutputDevices status=experimental | 33 AudioOutputDevices status=experimental |
| 31 AudioVideoTracks depends_on=Media, status=experimental | 34 AudioVideoTracks depends_on=Media, status=experimental |
| 32 AuthorShadowDOMForAnyElement | 35 AuthorShadowDOMForAnyElement |
| 33 BackgroundSync status=stable | 36 BackgroundSync status=stable |
| 34 BackgroundSyncV2 status=experimental | 37 BackgroundSyncV2 status=experimental |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 DisplayList2dCanvas status=stable | 71 DisplayList2dCanvas status=stable |
| 69 DurableStorage status=experimental | 72 DurableStorage status=experimental |
| 70 ForceDisplayList2dCanvas | 73 ForceDisplayList2dCanvas |
| 71 EncryptedMedia status=stable | 74 EncryptedMedia status=stable |
| 72 ExecCommandInJavaScript status=test | 75 ExecCommandInJavaScript status=test |
| 73 ComputedAccessibilityInfo status=experimental | 76 ComputedAccessibilityInfo status=experimental |
| 74 EventListenerOptions status=experimental | 77 EventListenerOptions status=experimental |
| 75 ExperimentalCanvasFeatures status=test | 78 ExperimentalCanvasFeatures status=test |
| 76 ExperimentalContentSecurityPolicyFeatures status=experimental | 79 ExperimentalContentSecurityPolicyFeatures status=experimental |
| 77 ExperimentalFramework status=test | 80 ExperimentalFramework status=test |
| 81 // Define a sample API for testing integration with the Experimental Framework. | |
| 82 // The sample API is used in both unit and layout tests for the Experimental | |
| 83 // Framework. Do not change this flag to stable, as it exists solely to generate | |
| 84 // code used by the sample API implementation. | |
| 85 ExperimentalFrameworkSampleAPI api_name=Frobulate | |
| 78 ExperimentalV8Extras status=experimental | 86 ExperimentalV8Extras status=experimental |
| 79 FastMobileScrolling | 87 FastMobileScrolling |
| 80 FileAPIBlobClose status=experimental | 88 FileAPIBlobClose status=experimental |
| 81 FileSystem status=stable | 89 FileSystem status=stable |
| 82 ForeignFetch status=experimental | 90 ForeignFetch status=experimental |
| 83 FormDataNewMethods status=experimental | 91 FormDataNewMethods status=experimental |
| 84 FullscreenUnprefixed status=test | 92 FullscreenUnprefixed status=test |
| 85 FrameTimingSupport status=experimental | 93 FrameTimingSupport status=experimental |
| 86 Geofencing status=experimental | 94 Geofencing status=experimental |
| 87 GeometryInterfaces status=test | 95 GeometryInterfaces status=test |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 200 WebGLImageChromium | 208 WebGLImageChromium |
| 201 WebUSB status=experimental | 209 WebUSB status=experimental |
| 202 WebVR depends_on=GeometryInterfaces, status=test | 210 WebVR depends_on=GeometryInterfaces, status=test |
| 203 WebVTTRegions depends_on=Media, status=experimental | 211 WebVTTRegions depends_on=Media, status=experimental |
| 204 V8IdleTasks | 212 V8IdleTasks |
| 205 XSLT status=stable | 213 XSLT status=stable |
| 206 smil status=stable | 214 smil status=stable |
| 207 ScrollCustomization | 215 ScrollCustomization |
| 208 ScrollRestoration status=stable | 216 ScrollRestoration status=stable |
| 209 WakeLock status=experimental | 217 WakeLock status=experimental |
| OLD | NEW |