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

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

Powered by Google App Engine
This is Rietveld 408576698