Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Side by Side Diff: Source/core/frame/UseCounterGenerated.in

Issue 729393002: Auto generate UseCounter::Feature enum from an .in file (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
philipj_slow 2014/11/17 14:50:17 There are blank lines sprinkled around this file,
2 PageDestruction value=0
3 PrefixedIndexedDB value=3
4 WorkerStart
5 SharedWorkerStart value=5
6 UnprefixedIndexedDB value=9
7 OpenWebDatabase
8 UnprefixedRequestAnimationFrame value=13
9 PrefixedRequestAnimationFrame
10 ContentSecurityPolicy
11 ContentSecurityPolicyReportOnly
12 PrefixedTransitionEndEvent value=18
13 UnprefixedTransitionEndEvent
14 PrefixedAndUnprefixedTransitionEndEvent
15 AutoFocusAttribute
16 DataListElement value=23
17 FormAttribute
18 IncrementalAttribute
19 InputTypeColor
20 InputTypeDate
21 InputTypeDateTimeFallback value=29
22 InputTypeDateTimeLocal
23 InputTypeEmail
24 InputTypeMonth
25 InputTypeNumber
26 InputTypeRange
27 InputTypeSearch
28 InputTypeTel
29 InputTypeTime
30 InputTypeURL
31 InputTypeWeek
32 InputTypeWeekFallback
33 ListAttribute
34 MaxAttribute
35 MinAttribute
36 PatternAttribute
37 PlaceholderAttribute
38 PrefixedDirectoryAttribute value=47
39 RequiredAttribute value=49
40 ResultsAttribute
41 StepAttribute
42 PageVisits
43 HTMLMarqueeElement
44 Reflection value=55
45 PrefixedStorageInfo value=57
46 XFrameOptions
47 XFrameOptionsSameOrigin
48 XFrameOptionsSameOriginWithBadAncestorChain
49 DeprecatedFlexboxWebContent
50 DeprecatedFlexboxChrome
51 DeprecatedFlexboxChromeExtension
52 UnprefixedPerformanceTimeline value=65
53 UnprefixedUserTiming value=67
54 WindowEvent value=69
55 ContentSecurityPolicyWithBaseElement
56 PrefixedMediaAddKey
57 PrefixedMediaGenerateKeyRequest
58 DocumentClear value=74
59 SVGFontElement value=76
60 XMLDocument
61 XSLProcessingInstruction
62 XSLTProcessor
63 SVGSwitchElement
64 DocumentAll value=83
65 FormElement
66 DemotedFormElement
67 SVGAnimationElement value=90
68 KeyboardEventKeyLocation
69 LineClamp value=96
70 SubFrameBeforeUnloadRegistered
71 SubFrameBeforeUnloadFired
72 TextReplaceWholeText value=100
73 ConsoleMarkTimeline value=102
74
75 // Removed from DOM4
philipj_slow 2014/11/17 14:50:17 I think having the comments at the end of lines wa
76 ElementGetAttributeNode value=107
77 ElementSetAttributeNode
78 ElementRemoveAttributeNode
79 ElementGetAttributeNodeNS
80 DocumentCreateAttribute
81 DocumentCreateAttributeNS
82 DocumentCreateCDATASection
83 DocumentInputEncoding
84 DocumentXMLEncoding
85 DocumentXMLStandalone
86 DocumentXMLVersion
87 NodeIsSameNode
88 NodeNamespaceURI value=120
89 NodeLocalName value=122
90
91 NavigatorProductSub
92 NavigatorVendor
93 NavigatorVendorSub
94 FileError
95 // Documented as IE extensions value=0, from KHTML days
96 DocumentCharset
97 PrefixedAnimationEndEvent
98 UnprefixedAnimationEndEvent
99 PrefixedAndUnprefixedAnimationEndEvent
100 PrefixedAnimationStartEvent
101 UnprefixedAnimationStartEvent
102 PrefixedAndUnprefixedAnimationStartEvent
103 PrefixedAnimationIterationEvent
104 UnprefixedAnimationIterationEvent
105 PrefixedAndUnprefixedAnimationIterationEvent
106 // Legacy IE extension
107 EventReturnValue
108 SVGSVGElement
109 InsertAdjacentText value=140
110 InsertAdjacentElement
111
112 // Removed from DOM4
113 HasAttributes
114 DOMSubtreeModifiedEvent
115 DOMNodeInsertedEvent
116 DOMNodeRemovedEvent
117 DOMNodeRemovedFromDocumentEvent
118 DOMNodeInsertedIntoDocumentEvent
119 DOMCharacterDataModifiedEvent
120 DocumentAllLegacyCall value=150
121 HTMLAppletElementLegacyCall
122 HTMLEmbedElementLegacyCall
123 HTMLObjectElementLegacyCall
124 GetMatchedCSSRules value=155
125 SVGFontInCSS
126
127 // Removed in DOM4
128 AttributeOwnerElement value=160
129
130 // Removed in DOM4
131 AttributeSpecified value=162
132 PrefixedAudioDecodedByteCount value=164
133 PrefixedVideoDecodedByteCount
134 PrefixedVideoSupportsFullscreen
135 PrefixedVideoDisplayingFullscreen
136 PrefixedVideoEnterFullscreen
137 PrefixedVideoExitFullscreen
138 PrefixedVideoEnterFullScreen
139 PrefixedVideoExitFullScreen
140 PrefixedVideoDecodedFrameCount
141 PrefixedVideoDroppedFrameCount
142 PrefixedElementRequestFullscreen value=176
143 PrefixedElementRequestFullScreen
144 BarPropLocationbar
145 BarPropMenubar
146 BarPropPersonalbar
147 BarPropScrollbars
148 BarPropStatusbar
149 BarPropToolbar
150 InputTypeEmailMultiple
151 InputTypeEmailMaxLength
152 InputTypeEmailMultipleMaxLength
153 InputTypeText value=190
154 InputTypeTextMaxLength
155 InputTypePassword
156 InputTypePasswordMaxLength
157 ShowModalDialog value=195
158 PrefixedPageVisibility
159 // Inconsistent with the specification and other browsers
160 CSSStyleSheetInsertRuleOptionalArg value=198
161 DocumentBeforeUnloadRegistered value=200
162 DocumentBeforeUnloadFired
163 DocumentUnloadRegistered
164 DocumentUnloadFired
165 SVGLocatableNearestViewportElement
166 SVGLocatableFarthestViewportElement
167 OverflowChangedEvent value=208
168 SVGPointMatrixTransform
169 DOMFocusInOutEvent value=211
170 FileGetLastModifiedDate
171 HTMLElementInnerText
172 HTMLElementOuterText
173 ReplaceDocumentViaJavaScriptURL
174 // Removed from DOM4
175 ElementSetAttributeNodeNS
176 ElementPrefixedMatchesSelector
177 CSSStyleSheetRules value=219
178 CSSStyleSheetAddRule
179 CSSStyleSheetRemoveRule value=221
180 // The above items are available in M33 branch.
181
182 InitMessageEvent value=222
183 CSSStyleDeclarationGetPropertyCSSValue value=225
184 PrefixedMediaCancelKeyRequest value=229
185 DOMImplementationHasFeature
186 DOMImplementationHasFeatureReturnFalse
187 CanPlayTypeKeySystem
188 PrefixedDevicePixelRatioMediaFeature
189 PrefixedMaxDevicePixelRatioMediaFeature
190 PrefixedMinDevicePixelRatioMediaFeature
191 PrefixedTransform3dMediaFeature value=237
192 PrefixedStorageQuota value=240
193 ContentSecurityPolicyReportOnlyInMeta
194 ResetReferrerPolicy value=243
195
196 // Case-insensitivity dropped from specification
197 CaseInsensitiveAttrSelectorMatch
198 FormNameAccessForImageElement value=246
199 FormNameAccessForPastNamesMap
200 FormAssociationByParser
201 SVGSVGElementInDocument value=250
202 SVGDocumentRootElement
203 MediaErrorEncrypted value=253
204 EventSourceURL
205 WebSocketURL
206 WorkerSubjectToCSP value=257
207 WorkerAllowedByChildBlockedByScript
208 DeprecatedWebKitGradient value=260
209 DeprecatedWebKitLinearGradient
210 DeprecatedWebKitRepeatingLinearGradient
211 DeprecatedWebKitRadialGradient
212 DeprecatedWebKitRepeatingRadialGradient
213 PrefixedImageSmoothingEnabled value=267
214 UnprefixedImageSmoothingEnabled
215 // The above items are available in M34 branch.
216
217 TextAutosizing value=274
218 HTMLAnchorElementPingAttribute value=276
219 InsertAdjacentHTML value=278
220 SVGClassName
221 HTMLAppletElement
222 HTMLMediaElementSeekToFragmentStart
223 HTMLMediaElementPauseAtFragmentEnd
224 PrefixedWindowURL
225
226 // This didn't work because of crbug.com/376039. Available since M37
227 PrefixedWorkerURL
228 WindowOrientation
229 DOMStringListContains
230 DocumentCaptureEvents
231 DocumentReleaseEvents
232 WindowCaptureEvents
233 WindowReleaseEvents
234 PrefixedGamepad
235 ElementAnimateKeyframeListEffectObjectTiming
236 ElementAnimateKeyframeListEffectDoubleTiming
237 ElementAnimateKeyframeListEffectNoTiming
238 DocumentXPathCreateExpression
239 DocumentXPathCreateNSResolver
240 DocumentXPathEvaluate
241 AttrGetValue
242 AttrSetValue
243 AnimationConstructorKeyframeListEffectObjectTiming
244 AnimationConstructorKeyframeListEffectDoubleTiming
245 AnimationConstructorKeyframeListEffectNoTiming
246 AttrSetValueWithElement
247 PrefixedCancelAnimationFrame
248 PrefixedCancelRequestAnimationFrame
249 NamedNodeMapGetNamedItem
250 NamedNodeMapSetNamedItem
251 NamedNodeMapRemoveNamedItem
252 NamedNodeMapItem
253 NamedNodeMapGetNamedItemNS
254 NamedNodeMapSetNamedItemNS
255 NamedNodeMapRemoveNamedItemNS
256 XHRProgressEventPosition value=316
257 XHRProgressEventTotalSize
258 PrefixedDocumentIsFullscreen
259 PrefixedDocumentFullScreenKeyboardInputAllowed
260 PrefixedDocumentCurrentFullScreenElement
261 PrefixedDocumentCancelFullScreen
262 PrefixedDocumentFullscreenEnabled
263 PrefixedDocumentFullscreenElement
264 PrefixedDocumentExitFullscreen
265 // The above items are available in M35 branch.
266
267 SVGForeignObjectElement
268 SelectionSetPosition value=327
269 AnimationPlayerFinishEvent
270 SVGSVGElementInXMLDocument
271 CanvasRenderingContext2DSetAlpha
272 CanvasRenderingContext2DSetCompositeOperation
273 CanvasRenderingContext2DSetLineWidth
274 CanvasRenderingContext2DSetLineCap
275 CanvasRenderingContext2DSetLineJoin
276 CanvasRenderingContext2DSetMiterLimit
277 CanvasRenderingContext2DClearShadow
278 CanvasRenderingContext2DSetStrokeColor
279 CanvasRenderingContext2DSetFillColor
280 CanvasRenderingContext2DDrawImageFromRect
281 CanvasRenderingContext2DSetShadow
282 PrefixedPerformanceClearResourceTimings
283 PrefixedPerformanceSetResourceTimingBufferSize
284 EventSrcElement
285 EventCancelBubble
286 EventPath
287 EventClipboardData
288 NodeIteratorDetach
289 AttrNodeValue
290 AttrTextContent
291 EventGetReturnValueTrue
292 EventGetReturnValueFalse
293 EventSetReturnValueTrue
294 EventSetReturnValueFalse
295 NodeIteratorExpandEntityReferences
296 TreeWalkerExpandEntityReferences
297 WindowOffscreenBuffering
298 WindowDefaultStatus
299 WindowDefaultstatus
300 PrefixedTransitionEventConstructor value=361
301 PrefixedMutationObserverConstructor
302 PrefixedIDBCursorConstructor
303 PrefixedIDBDatabaseConstructor
304 PrefixedIDBFactoryConstructor
305 PrefixedIDBIndexConstructor
306 PrefixedIDBKeyRangeConstructor
307 PrefixedIDBObjectStoreConstructor
308 PrefixedIDBRequestConstructor
309 PrefixedIDBTransactionConstructor
310 NotificationPermission
311 RangeDetach
312 HTMLTableElementVspace value=374
313 HTMLTableElementHspace
314 PrefixedTouchRadiusX value=378
315 PrefixedTouchRadiusY
316 PrefixedTouchRotationAngle
317 PrefixedTouchForce
318 PrefixedMouseEventMovementX
319 PrefixedMouseEventMovementY
320 PrefixedFileRelativePath value=386
321 DocumentCaretRangeFromPoint
322 DocumentGetCSSCanvasContext
323 ElementScrollIntoViewIfNeeded
324 RangeCompareNode value=392
325 RangeExpand value=393
326 HTMLImageElementX value=396
327 HTMLImageElementY
328 SelectionBaseNode value=400
329 SelectionBaseOffset
330 SelectionExtentNode
331 SelectionExtentOffset
332 SelectionType
333 SelectionModify
334 SelectionSetBaseAndExtent
335 SelectionEmpty
336 VTTCue value=409
337 VTTCueRender
338 VTTCueRenderVertical
339 VTTCueRenderSnapToLinesFalse
340 VTTCueRenderLineNotAuto
341 VTTCueRenderPositionNot50
342 VTTCueRenderSizeNot100
343 VTTCueRenderAlignNotMiddle
344 // The above items are available in M36 branch.
345
346 ElementRequestPointerLock
347 VTTCueRenderRtl
348 PostMessageFromSecureToInsecure
349 PostMessageFromInsecureToSecure
350 DocumentExitPointerLock
351 DocumentPointerLockElement
352 PrefixedCursorZoomIn value=424
353 PrefixedCursorZoomOut
354 CSSCharsetRuleEncoding
355 DocumentSetCharset
356 DocumentDefaultCharset
357 TextEncoderConstructor
358 TextEncoderEncode
359 TextDecoderConstructor
360 TextDecoderDecode
361 FocusInOutEvent
362 MouseEventMovementX
363 MouseEventMovementY
364 MixedContentRaw value=437
365 MixedContentImage
366 MixedContentMedia
367 DocumentFonts
368 MixedContentFormsSubmitted
369 FormsSubmitted
370 TextInputEventOnInput
371 TextInputEventOnTextArea
372 TextInputEventOnContentEditable
373 TextInputEventOnNotNode
374 WebkitBeforeTextInsertedOnInput
375 WebkitBeforeTextInsertedOnTextArea
376 WebkitBeforeTextInsertedOnContentEditable
377 WebkitBeforeTextInsertedOnNotNode
378 WebkitEditableContentChangedOnInput
379 WebkitEditableContentChangedOnTextArea
380 WebkitEditableContentChangedOnContentEditable
381 WebkitEditableContentChangedOnNotNode
382 HTMLImports
383 ElementCreateShadowRoot
384 DocumentRegisterElement
385 EditingAppleInterchangeNewline
386 EditingAppleConvertedSpace
387 EditingApplePasteAsQuotation
388 EditingAppleStyleSpanClass
389 EditingAppleTabSpanClass
390 HTMLImportsAsyncAttribute
391 FontFaceSetReady
392 XMLHttpRequestSynchronous
393 CSSSelectorPseudoUnresolved
394 CSSSelectorPseudoShadow
395 CSSSelectorPseudoContent
396 CSSSelectorPseudoHost
397 CSSSelectorPseudoHostContext
398 CSSDeepCombinator
399 SyncXHRWithCredentials
400 // The above items are available in M37 branch.
401
402 UseAsm
403 KeyEventNotAllowedInFullScreen
404 DOMWindowOpen
405 DOMWindowOpenFeatures
406 MediaStreamTrackGetSources value=478
407 AspectRatioFlexItem
408 DetailsElement
409 DialogElement
410 MapElement
411 MeterElement
412 ProgressElement
413 VideoFullscreenAllowedExemption
414 PrefixedHTMLElementDropzone value=490
415 WheelEventWheelDeltaX
416 WheelEventWheelDeltaY
417 WheelEventWheelDelta
418 SendBeacon
419 SendBeaconQuotaExceeded
420 SVGSMILElementInDocument value=501
421 MouseEventOffsetX
422 MouseEventOffsetY
423 MouseEventX
424 MouseEventY
425 MouseEventFromElement
426 MouseEventToElement
427 RequestFileSystem
428 RequestFileSystemWorker
429 RequestFileSystemSyncWorker
430 UIEventLayerX
431 UIEventLayerY
432 UIEventPageX
433 UIEventPageY
434 BgPropertiesFixed
435 DevToolsConsoleTimeline value=517
436 DevToolsConsoleProfile
437 SVGStyleElementTitle
438 PictureSourceSrc
439 // The above items are available in M38 branch.
440
441 Picture
442 Sizes
443 SrcsetXDescriptor
444 SrcsetWDescriptor
445 SelectionContainsNode
446 MediaStreamEnded
447 MixedContentPrivateIPInPublicWebsitePassive
448 MixedContentPrivateIPInPublicWebsiteActive
449 XMLExternalResourceLoad
450 MixedContentPrivateHostnameInPublicHostname
451 LegacyProtocolEmbeddedAsSubresource
452 RequestedSubresourceWithEmbeddedCredentials
453 NotificationCreated
454 NotificationClosed
455 NotificationPermissionRequested
456 MediaStreamLabel
457 MediaStreamStop
458 ConsoleTimeline
459 ConsoleTimelineEnd
460 SRIElementWithMatchingIntegrityAttribute
461 SRIElementWithNonMatchingIntegrityAttribute
462 SRIElementWithUnparsableIntegrityAttribute
463 SRIElementWithIntegrityAttributeAndInsecureOrigin
464 SRIElementWithIntegrityAttributeAndInsecureResource
465 AnimationPlayerGetStartTime
466 AnimationPlayerSetStartTime
467 AnimationPlayerGetCurrentTime
468 AnimationPlayerSetCurrentTime
469 AnimationPlayerGetPlaybackRate
470 AnimationPlayerSetPlaybackRate
471 AnimationPlayerGetPlayState
472 AnimationPlayerFinish
473 AnimationPlayerPlay
474 AnimationPlayerPause
475 AnimationPlayerReverse
476 // The above items are available in M39 branch.
477
478 BreakIterator
479 ScreenOrientationAngle
480 ScreenOrientationType
481 ScreenOrientationLock
482 ScreenOrientationUnlock
483 GeolocationSecureOrigin
484 GeolocationInsecureOrigin
485 NotificationSecureOrigin
486 NotificationInsecureOrigin
487 NotificationShowEvent
488 CSSXGetComputedStyleQueries
489 SVG1DOM
490 SVGPathSegDOM
491 SVGTransformListConsolidate
492 SVGAnimatedTransformListBaseVal
493 QuotedAnimationName
494 QuotedKeyframesRule
495 SrcsetDroppedCandidate
496 WindowPostMessage
497 WindowPostMessageWithLegacyTargetOriginArgument
498 RenderRuby
499 CanvasRenderingContext2DCompositeOperationDarker
500 ScriptElementWithInvalidTypeHasSrc
501 TimelineStart
502 ElementBaseURIFromXMLBase
503 XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload
504 CSSSelectorPseudoScrollbar
505 CSSSelectorPseudoScrollbarButton
506 CSSSelectorPseudoScrollbarThumb
507 CSSSelectorPseudoScrollbarTrack
508 CSSSelectorPseudoScrollbarTrackPiece
509 LangAttribute
510 LangAttributeOnHTML
511 LangAttributeOnBody
512 LangAttributeDoesNotMatchToUILocale
513 InputTypeSubmit
514 InputTypeSubmitWithValue
515 // The above items are available in M40 branch.
516
517 SetReferrerPolicy
518 DOMImplementationHasFeatureReturnFalseInternal
519 MouseEventWhich
520 UIEventCharCode
521 UIEventKeyCode
522 UIEventWhich
523
524 // Add new features immediately above this line. Don't change assigned
525 // numbers of any item, and don't reuse removed slots.
526 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/metrics/hi stograms/
527 // to update the UMA mapping.
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698