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 // origin_trial_feature_name=FEATURE_NAME is used to integrate the feature with the experimental framework, so that the | 20 // origin_trial_feature_name=FEATURE_NAME is used to integrate the feature with the experimental framework, so that the |
| 21 // feature can be enabled at runtime on a per-page basis through a signed token for the corresponding feature name. | 21 // feature can be enabled at runtime on a per-page basis through a signed token for the corresponding feature name. |
| 22 // Declaring the origin_trial_feature_name will cause a static method to be gene rated in OriginTrials.h/cpp. This static | 22 // Declaring the origin_trial_feature_name will cause a static method to be gene rated in OriginTrials.h/cpp. This static |
| 23 // method allows the feature implementation to check if it is enabled for the cu rrent context. | 23 // method allows the feature implementation to check if it is enabled for the cu rrent context. |
| 24 // | |
| 25 // set_from_internals specifies whether or not a feture can be set from core/tes ting/Internals.h/cpp, with the default | |
|
wkorman
2016/04/26 19:01:18
whether a feature (remove 'or not', fix typo in 'f
ymalik
2016/04/26 20:17:39
Ah thanks! Done.
| |
| 26 // being false. | |
| 24 | 27 |
| 25 AppBanner status=stable | 28 AppBanner status=stable |
| 26 AlwaysUseComplexText status=stable | 29 AlwaysUseComplexText status=stable |
| 27 ApplicationCache status=stable | 30 ApplicationCache status=stable |
| 28 AudioOutputDevices status=stable | 31 AudioOutputDevices status=stable |
| 29 AudioVideoTracks status=experimental | 32 AudioVideoTracks status=experimental |
| 30 BackgroundSync status=stable | 33 BackgroundSync status=stable |
| 31 BackspaceDefaultHandler status=test | 34 BackspaceDefaultHandler status=test |
| 32 CacheIgnoreSearchOption status=experimental | 35 CacheIgnoreSearchOption status=experimental |
| 33 Canvas2dImageChromium status=experimental | 36 Canvas2dImageChromium status=experimental |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 166 RemotePlayback status=experimental | 169 RemotePlayback status=experimental |
| 167 RenderingPipelineThrottling status=experimental | 170 RenderingPipelineThrottling status=experimental |
| 168 RequestIdleCallback status=stable | 171 RequestIdleCallback status=stable |
| 169 RequestAutocomplete status=test | 172 RequestAutocomplete status=test |
| 170 ResponseConstructedWithReadableStream status=experimental | 173 ResponseConstructedWithReadableStream status=experimental |
| 171 ResponseBodyWithV8ExtraStream status=experimental | 174 ResponseBodyWithV8ExtraStream status=experimental |
| 172 SandboxBlocksModals status=stable | 175 SandboxBlocksModals status=stable |
| 173 ScreenOrientation status=stable | 176 ScreenOrientation status=stable |
| 174 ScriptedSpeech status=stable | 177 ScriptedSpeech status=stable |
| 175 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 178 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
| 176 ScrollAnchoring | 179 ScrollAnchoring set_from_internals=True |
| 177 // Implements documentElement.scrollTop/Left and bodyElement.scrollTop/Left | 180 // Implements documentElement.scrollTop/Left and bodyElement.scrollTop/Left |
| 178 // as per the spec, matching other Web engines. | 181 // as per the spec, matching other Web engines. |
| 179 ScrollTopLeftInterop status=experimental | 182 ScrollTopLeftInterop status=experimental |
| 180 ServiceWorkerClientAttributes status=stable | 183 ServiceWorkerClientAttributes status=stable |
| 181 ServiceWorkerClientsGetID status=stable | 184 ServiceWorkerClientsGetID status=stable |
| 182 ServiceWorkerWindowClientNavigate status=stable | 185 ServiceWorkerWindowClientNavigate status=stable |
| 183 ShadowDOMV1 status=experimental | 186 ShadowDOMV1 status=experimental |
| 184 SharedArrayBuffer | 187 SharedArrayBuffer |
| 185 SharedWorker status=stable | 188 SharedWorker status=stable |
| 186 SlimmingPaintInvalidation | 189 SlimmingPaintInvalidation |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 222 VisibilityChangeOnUnload status=experimental | 225 VisibilityChangeOnUnload status=experimental |
| 223 XSLT status=stable | 226 XSLT status=stable |
| 224 smil status=stable | 227 smil status=stable |
| 225 ScrollCustomization | 228 ScrollCustomization |
| 226 ScrollRestoration status=stable | 229 ScrollRestoration status=stable |
| 227 VisualViewportAPI status=experimental | 230 VisualViewportAPI status=experimental |
| 228 WakeLock status=experimental | 231 WakeLock status=experimental |
| 229 WebFontsInterventionV2 | 232 WebFontsInterventionV2 |
| 230 WebFontsInterventionTrigger | 233 WebFontsInterventionTrigger |
| 231 Worklet status=test | 234 Worklet status=test |
| OLD | NEW |