Chromium Code Reviews| Index: Source/core/frame/UseCounterGenerated.in |
| diff --git a/Source/core/frame/UseCounterGenerated.in b/Source/core/frame/UseCounterGenerated.in |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9183466ccf986f2fdabc3445060bacf3f2781dea |
| --- /dev/null |
| +++ b/Source/core/frame/UseCounterGenerated.in |
| @@ -0,0 +1,527 @@ |
| + |
|
philipj_slow
2014/11/17 14:50:17
There are blank lines sprinkled around this file,
|
| +PageDestruction value=0 |
| +PrefixedIndexedDB value=3 |
| +WorkerStart |
| +SharedWorkerStart value=5 |
| +UnprefixedIndexedDB value=9 |
| +OpenWebDatabase |
| +UnprefixedRequestAnimationFrame value=13 |
| +PrefixedRequestAnimationFrame |
| +ContentSecurityPolicy |
| +ContentSecurityPolicyReportOnly |
| +PrefixedTransitionEndEvent value=18 |
| +UnprefixedTransitionEndEvent |
| +PrefixedAndUnprefixedTransitionEndEvent |
| +AutoFocusAttribute |
| +DataListElement value=23 |
| +FormAttribute |
| +IncrementalAttribute |
| +InputTypeColor |
| +InputTypeDate |
| +InputTypeDateTimeFallback value=29 |
| +InputTypeDateTimeLocal |
| +InputTypeEmail |
| +InputTypeMonth |
| +InputTypeNumber |
| +InputTypeRange |
| +InputTypeSearch |
| +InputTypeTel |
| +InputTypeTime |
| +InputTypeURL |
| +InputTypeWeek |
| +InputTypeWeekFallback |
| +ListAttribute |
| +MaxAttribute |
| +MinAttribute |
| +PatternAttribute |
| +PlaceholderAttribute |
| +PrefixedDirectoryAttribute value=47 |
| +RequiredAttribute value=49 |
| +ResultsAttribute |
| +StepAttribute |
| +PageVisits |
| +HTMLMarqueeElement |
| +Reflection value=55 |
| +PrefixedStorageInfo value=57 |
| +XFrameOptions |
| +XFrameOptionsSameOrigin |
| +XFrameOptionsSameOriginWithBadAncestorChain |
| +DeprecatedFlexboxWebContent |
| +DeprecatedFlexboxChrome |
| +DeprecatedFlexboxChromeExtension |
| +UnprefixedPerformanceTimeline value=65 |
| +UnprefixedUserTiming value=67 |
| +WindowEvent value=69 |
| +ContentSecurityPolicyWithBaseElement |
| +PrefixedMediaAddKey |
| +PrefixedMediaGenerateKeyRequest |
| +DocumentClear value=74 |
| +SVGFontElement value=76 |
| +XMLDocument |
| +XSLProcessingInstruction |
| +XSLTProcessor |
| +SVGSwitchElement |
| +DocumentAll value=83 |
| +FormElement |
| +DemotedFormElement |
| +SVGAnimationElement value=90 |
| +KeyboardEventKeyLocation |
| +LineClamp value=96 |
| +SubFrameBeforeUnloadRegistered |
| +SubFrameBeforeUnloadFired |
| +TextReplaceWholeText value=100 |
| +ConsoleMarkTimeline value=102 |
| + |
| +// Removed from DOM4 |
|
philipj_slow
2014/11/17 14:50:17
I think having the comments at the end of lines wa
|
| +ElementGetAttributeNode value=107 |
| +ElementSetAttributeNode |
| +ElementRemoveAttributeNode |
| +ElementGetAttributeNodeNS |
| +DocumentCreateAttribute |
| +DocumentCreateAttributeNS |
| +DocumentCreateCDATASection |
| +DocumentInputEncoding |
| +DocumentXMLEncoding |
| +DocumentXMLStandalone |
| +DocumentXMLVersion |
| +NodeIsSameNode |
| +NodeNamespaceURI value=120 |
| +NodeLocalName value=122 |
| + |
| +NavigatorProductSub |
| +NavigatorVendor |
| +NavigatorVendorSub |
| +FileError |
| +// Documented as IE extensions value=0, from KHTML days |
| +DocumentCharset |
| +PrefixedAnimationEndEvent |
| +UnprefixedAnimationEndEvent |
| +PrefixedAndUnprefixedAnimationEndEvent |
| +PrefixedAnimationStartEvent |
| +UnprefixedAnimationStartEvent |
| +PrefixedAndUnprefixedAnimationStartEvent |
| +PrefixedAnimationIterationEvent |
| +UnprefixedAnimationIterationEvent |
| +PrefixedAndUnprefixedAnimationIterationEvent |
| +// Legacy IE extension |
| +EventReturnValue |
| +SVGSVGElement |
| +InsertAdjacentText value=140 |
| +InsertAdjacentElement |
| + |
| +// Removed from DOM4 |
| +HasAttributes |
| +DOMSubtreeModifiedEvent |
| +DOMNodeInsertedEvent |
| +DOMNodeRemovedEvent |
| +DOMNodeRemovedFromDocumentEvent |
| +DOMNodeInsertedIntoDocumentEvent |
| +DOMCharacterDataModifiedEvent |
| +DocumentAllLegacyCall value=150 |
| +HTMLAppletElementLegacyCall |
| +HTMLEmbedElementLegacyCall |
| +HTMLObjectElementLegacyCall |
| +GetMatchedCSSRules value=155 |
| +SVGFontInCSS |
| + |
| +// Removed in DOM4 |
| +AttributeOwnerElement value=160 |
| + |
| +// Removed in DOM4 |
| +AttributeSpecified value=162 |
| +PrefixedAudioDecodedByteCount value=164 |
| +PrefixedVideoDecodedByteCount |
| +PrefixedVideoSupportsFullscreen |
| +PrefixedVideoDisplayingFullscreen |
| +PrefixedVideoEnterFullscreen |
| +PrefixedVideoExitFullscreen |
| +PrefixedVideoEnterFullScreen |
| +PrefixedVideoExitFullScreen |
| +PrefixedVideoDecodedFrameCount |
| +PrefixedVideoDroppedFrameCount |
| +PrefixedElementRequestFullscreen value=176 |
| +PrefixedElementRequestFullScreen |
| +BarPropLocationbar |
| +BarPropMenubar |
| +BarPropPersonalbar |
| +BarPropScrollbars |
| +BarPropStatusbar |
| +BarPropToolbar |
| +InputTypeEmailMultiple |
| +InputTypeEmailMaxLength |
| +InputTypeEmailMultipleMaxLength |
| +InputTypeText value=190 |
| +InputTypeTextMaxLength |
| +InputTypePassword |
| +InputTypePasswordMaxLength |
| +ShowModalDialog value=195 |
| +PrefixedPageVisibility |
| +// Inconsistent with the specification and other browsers |
| +CSSStyleSheetInsertRuleOptionalArg value=198 |
| +DocumentBeforeUnloadRegistered value=200 |
| +DocumentBeforeUnloadFired |
| +DocumentUnloadRegistered |
| +DocumentUnloadFired |
| +SVGLocatableNearestViewportElement |
| +SVGLocatableFarthestViewportElement |
| +OverflowChangedEvent value=208 |
| +SVGPointMatrixTransform |
| +DOMFocusInOutEvent value=211 |
| +FileGetLastModifiedDate |
| +HTMLElementInnerText |
| +HTMLElementOuterText |
| +ReplaceDocumentViaJavaScriptURL |
| +// Removed from DOM4 |
| +ElementSetAttributeNodeNS |
| +ElementPrefixedMatchesSelector |
| +CSSStyleSheetRules value=219 |
| +CSSStyleSheetAddRule |
| +CSSStyleSheetRemoveRule value=221 |
| +// The above items are available in M33 branch. |
| + |
| +InitMessageEvent value=222 |
| +CSSStyleDeclarationGetPropertyCSSValue value=225 |
| +PrefixedMediaCancelKeyRequest value=229 |
| +DOMImplementationHasFeature |
| +DOMImplementationHasFeatureReturnFalse |
| +CanPlayTypeKeySystem |
| +PrefixedDevicePixelRatioMediaFeature |
| +PrefixedMaxDevicePixelRatioMediaFeature |
| +PrefixedMinDevicePixelRatioMediaFeature |
| +PrefixedTransform3dMediaFeature value=237 |
| +PrefixedStorageQuota value=240 |
| +ContentSecurityPolicyReportOnlyInMeta |
| +ResetReferrerPolicy value=243 |
| + |
| +// Case-insensitivity dropped from specification |
| +CaseInsensitiveAttrSelectorMatch |
| +FormNameAccessForImageElement value=246 |
| +FormNameAccessForPastNamesMap |
| +FormAssociationByParser |
| +SVGSVGElementInDocument value=250 |
| +SVGDocumentRootElement |
| +MediaErrorEncrypted value=253 |
| +EventSourceURL |
| +WebSocketURL |
| +WorkerSubjectToCSP value=257 |
| +WorkerAllowedByChildBlockedByScript |
| +DeprecatedWebKitGradient value=260 |
| +DeprecatedWebKitLinearGradient |
| +DeprecatedWebKitRepeatingLinearGradient |
| +DeprecatedWebKitRadialGradient |
| +DeprecatedWebKitRepeatingRadialGradient |
| +PrefixedImageSmoothingEnabled value=267 |
| +UnprefixedImageSmoothingEnabled |
| +// The above items are available in M34 branch. |
| + |
| +TextAutosizing value=274 |
| +HTMLAnchorElementPingAttribute value=276 |
| +InsertAdjacentHTML value=278 |
| +SVGClassName |
| +HTMLAppletElement |
| +HTMLMediaElementSeekToFragmentStart |
| +HTMLMediaElementPauseAtFragmentEnd |
| +PrefixedWindowURL |
| + |
| +// This didn't work because of crbug.com/376039. Available since M37 |
| +PrefixedWorkerURL |
| +WindowOrientation |
| +DOMStringListContains |
| +DocumentCaptureEvents |
| +DocumentReleaseEvents |
| +WindowCaptureEvents |
| +WindowReleaseEvents |
| +PrefixedGamepad |
| +ElementAnimateKeyframeListEffectObjectTiming |
| +ElementAnimateKeyframeListEffectDoubleTiming |
| +ElementAnimateKeyframeListEffectNoTiming |
| +DocumentXPathCreateExpression |
| +DocumentXPathCreateNSResolver |
| +DocumentXPathEvaluate |
| +AttrGetValue |
| +AttrSetValue |
| +AnimationConstructorKeyframeListEffectObjectTiming |
| +AnimationConstructorKeyframeListEffectDoubleTiming |
| +AnimationConstructorKeyframeListEffectNoTiming |
| +AttrSetValueWithElement |
| +PrefixedCancelAnimationFrame |
| +PrefixedCancelRequestAnimationFrame |
| +NamedNodeMapGetNamedItem |
| +NamedNodeMapSetNamedItem |
| +NamedNodeMapRemoveNamedItem |
| +NamedNodeMapItem |
| +NamedNodeMapGetNamedItemNS |
| +NamedNodeMapSetNamedItemNS |
| +NamedNodeMapRemoveNamedItemNS |
| +XHRProgressEventPosition value=316 |
| +XHRProgressEventTotalSize |
| +PrefixedDocumentIsFullscreen |
| +PrefixedDocumentFullScreenKeyboardInputAllowed |
| +PrefixedDocumentCurrentFullScreenElement |
| +PrefixedDocumentCancelFullScreen |
| +PrefixedDocumentFullscreenEnabled |
| +PrefixedDocumentFullscreenElement |
| +PrefixedDocumentExitFullscreen |
| +// The above items are available in M35 branch. |
| + |
| +SVGForeignObjectElement |
| +SelectionSetPosition value=327 |
| +AnimationPlayerFinishEvent |
| +SVGSVGElementInXMLDocument |
| +CanvasRenderingContext2DSetAlpha |
| +CanvasRenderingContext2DSetCompositeOperation |
| +CanvasRenderingContext2DSetLineWidth |
| +CanvasRenderingContext2DSetLineCap |
| +CanvasRenderingContext2DSetLineJoin |
| +CanvasRenderingContext2DSetMiterLimit |
| +CanvasRenderingContext2DClearShadow |
| +CanvasRenderingContext2DSetStrokeColor |
| +CanvasRenderingContext2DSetFillColor |
| +CanvasRenderingContext2DDrawImageFromRect |
| +CanvasRenderingContext2DSetShadow |
| +PrefixedPerformanceClearResourceTimings |
| +PrefixedPerformanceSetResourceTimingBufferSize |
| +EventSrcElement |
| +EventCancelBubble |
| +EventPath |
| +EventClipboardData |
| +NodeIteratorDetach |
| +AttrNodeValue |
| +AttrTextContent |
| +EventGetReturnValueTrue |
| +EventGetReturnValueFalse |
| +EventSetReturnValueTrue |
| +EventSetReturnValueFalse |
| +NodeIteratorExpandEntityReferences |
| +TreeWalkerExpandEntityReferences |
| +WindowOffscreenBuffering |
| +WindowDefaultStatus |
| +WindowDefaultstatus |
| +PrefixedTransitionEventConstructor value=361 |
| +PrefixedMutationObserverConstructor |
| +PrefixedIDBCursorConstructor |
| +PrefixedIDBDatabaseConstructor |
| +PrefixedIDBFactoryConstructor |
| +PrefixedIDBIndexConstructor |
| +PrefixedIDBKeyRangeConstructor |
| +PrefixedIDBObjectStoreConstructor |
| +PrefixedIDBRequestConstructor |
| +PrefixedIDBTransactionConstructor |
| +NotificationPermission |
| +RangeDetach |
| +HTMLTableElementVspace value=374 |
| +HTMLTableElementHspace |
| +PrefixedTouchRadiusX value=378 |
| +PrefixedTouchRadiusY |
| +PrefixedTouchRotationAngle |
| +PrefixedTouchForce |
| +PrefixedMouseEventMovementX |
| +PrefixedMouseEventMovementY |
| +PrefixedFileRelativePath value=386 |
| +DocumentCaretRangeFromPoint |
| +DocumentGetCSSCanvasContext |
| +ElementScrollIntoViewIfNeeded |
| +RangeCompareNode value=392 |
| +RangeExpand value=393 |
| +HTMLImageElementX value=396 |
| +HTMLImageElementY |
| +SelectionBaseNode value=400 |
| +SelectionBaseOffset |
| +SelectionExtentNode |
| +SelectionExtentOffset |
| +SelectionType |
| +SelectionModify |
| +SelectionSetBaseAndExtent |
| +SelectionEmpty |
| +VTTCue value=409 |
| +VTTCueRender |
| +VTTCueRenderVertical |
| +VTTCueRenderSnapToLinesFalse |
| +VTTCueRenderLineNotAuto |
| +VTTCueRenderPositionNot50 |
| +VTTCueRenderSizeNot100 |
| +VTTCueRenderAlignNotMiddle |
| +// The above items are available in M36 branch. |
| + |
| +ElementRequestPointerLock |
| +VTTCueRenderRtl |
| +PostMessageFromSecureToInsecure |
| +PostMessageFromInsecureToSecure |
| +DocumentExitPointerLock |
| +DocumentPointerLockElement |
| +PrefixedCursorZoomIn value=424 |
| +PrefixedCursorZoomOut |
| +CSSCharsetRuleEncoding |
| +DocumentSetCharset |
| +DocumentDefaultCharset |
| +TextEncoderConstructor |
| +TextEncoderEncode |
| +TextDecoderConstructor |
| +TextDecoderDecode |
| +FocusInOutEvent |
| +MouseEventMovementX |
| +MouseEventMovementY |
| +MixedContentRaw value=437 |
| +MixedContentImage |
| +MixedContentMedia |
| +DocumentFonts |
| +MixedContentFormsSubmitted |
| +FormsSubmitted |
| +TextInputEventOnInput |
| +TextInputEventOnTextArea |
| +TextInputEventOnContentEditable |
| +TextInputEventOnNotNode |
| +WebkitBeforeTextInsertedOnInput |
| +WebkitBeforeTextInsertedOnTextArea |
| +WebkitBeforeTextInsertedOnContentEditable |
| +WebkitBeforeTextInsertedOnNotNode |
| +WebkitEditableContentChangedOnInput |
| +WebkitEditableContentChangedOnTextArea |
| +WebkitEditableContentChangedOnContentEditable |
| +WebkitEditableContentChangedOnNotNode |
| +HTMLImports |
| +ElementCreateShadowRoot |
| +DocumentRegisterElement |
| +EditingAppleInterchangeNewline |
| +EditingAppleConvertedSpace |
| +EditingApplePasteAsQuotation |
| +EditingAppleStyleSpanClass |
| +EditingAppleTabSpanClass |
| +HTMLImportsAsyncAttribute |
| +FontFaceSetReady |
| +XMLHttpRequestSynchronous |
| +CSSSelectorPseudoUnresolved |
| +CSSSelectorPseudoShadow |
| +CSSSelectorPseudoContent |
| +CSSSelectorPseudoHost |
| +CSSSelectorPseudoHostContext |
| +CSSDeepCombinator |
| +SyncXHRWithCredentials |
| +// The above items are available in M37 branch. |
| + |
| +UseAsm |
| +KeyEventNotAllowedInFullScreen |
| +DOMWindowOpen |
| +DOMWindowOpenFeatures |
| +MediaStreamTrackGetSources value=478 |
| +AspectRatioFlexItem |
| +DetailsElement |
| +DialogElement |
| +MapElement |
| +MeterElement |
| +ProgressElement |
| +VideoFullscreenAllowedExemption |
| +PrefixedHTMLElementDropzone value=490 |
| +WheelEventWheelDeltaX |
| +WheelEventWheelDeltaY |
| +WheelEventWheelDelta |
| +SendBeacon |
| +SendBeaconQuotaExceeded |
| +SVGSMILElementInDocument value=501 |
| +MouseEventOffsetX |
| +MouseEventOffsetY |
| +MouseEventX |
| +MouseEventY |
| +MouseEventFromElement |
| +MouseEventToElement |
| +RequestFileSystem |
| +RequestFileSystemWorker |
| +RequestFileSystemSyncWorker |
| +UIEventLayerX |
| +UIEventLayerY |
| +UIEventPageX |
| +UIEventPageY |
| +BgPropertiesFixed |
| +DevToolsConsoleTimeline value=517 |
| +DevToolsConsoleProfile |
| +SVGStyleElementTitle |
| +PictureSourceSrc |
| +// The above items are available in M38 branch. |
| + |
| +Picture |
| +Sizes |
| +SrcsetXDescriptor |
| +SrcsetWDescriptor |
| +SelectionContainsNode |
| +MediaStreamEnded |
| +MixedContentPrivateIPInPublicWebsitePassive |
| +MixedContentPrivateIPInPublicWebsiteActive |
| +XMLExternalResourceLoad |
| +MixedContentPrivateHostnameInPublicHostname |
| +LegacyProtocolEmbeddedAsSubresource |
| +RequestedSubresourceWithEmbeddedCredentials |
| +NotificationCreated |
| +NotificationClosed |
| +NotificationPermissionRequested |
| +MediaStreamLabel |
| +MediaStreamStop |
| +ConsoleTimeline |
| +ConsoleTimelineEnd |
| +SRIElementWithMatchingIntegrityAttribute |
| +SRIElementWithNonMatchingIntegrityAttribute |
| +SRIElementWithUnparsableIntegrityAttribute |
| +SRIElementWithIntegrityAttributeAndInsecureOrigin |
| +SRIElementWithIntegrityAttributeAndInsecureResource |
| +AnimationPlayerGetStartTime |
| +AnimationPlayerSetStartTime |
| +AnimationPlayerGetCurrentTime |
| +AnimationPlayerSetCurrentTime |
| +AnimationPlayerGetPlaybackRate |
| +AnimationPlayerSetPlaybackRate |
| +AnimationPlayerGetPlayState |
| +AnimationPlayerFinish |
| +AnimationPlayerPlay |
| +AnimationPlayerPause |
| +AnimationPlayerReverse |
| +// The above items are available in M39 branch. |
| + |
| +BreakIterator |
| +ScreenOrientationAngle |
| +ScreenOrientationType |
| +ScreenOrientationLock |
| +ScreenOrientationUnlock |
| +GeolocationSecureOrigin |
| +GeolocationInsecureOrigin |
| +NotificationSecureOrigin |
| +NotificationInsecureOrigin |
| +NotificationShowEvent |
| +CSSXGetComputedStyleQueries |
| +SVG1DOM |
| +SVGPathSegDOM |
| +SVGTransformListConsolidate |
| +SVGAnimatedTransformListBaseVal |
| +QuotedAnimationName |
| +QuotedKeyframesRule |
| +SrcsetDroppedCandidate |
| +WindowPostMessage |
| +WindowPostMessageWithLegacyTargetOriginArgument |
| +RenderRuby |
| +CanvasRenderingContext2DCompositeOperationDarker |
| +ScriptElementWithInvalidTypeHasSrc |
| +TimelineStart |
| +ElementBaseURIFromXMLBase |
| +XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload |
| +CSSSelectorPseudoScrollbar |
| +CSSSelectorPseudoScrollbarButton |
| +CSSSelectorPseudoScrollbarThumb |
| +CSSSelectorPseudoScrollbarTrack |
| +CSSSelectorPseudoScrollbarTrackPiece |
| +LangAttribute |
| +LangAttributeOnHTML |
| +LangAttributeOnBody |
| +LangAttributeDoesNotMatchToUILocale |
| +InputTypeSubmit |
| +InputTypeSubmitWithValue |
| +// The above items are available in M40 branch. |
| + |
| +SetReferrerPolicy |
| +DOMImplementationHasFeatureReturnFalseInternal |
| +MouseEventWhich |
| +UIEventCharCode |
| +UIEventKeyCode |
| +UIEventWhich |
| + |
| +// Add new features immediately above this line. Don't change assigned |
| +// numbers of any item, and don't reuse removed slots. |
| +// Also, run update_use_counter_feature_enum.py in chromium/src/tools/metrics/histograms/ |
| +// to update the UMA mapping. |