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

Side by Side Diff: third_party/WebKit/public/platform/WebFeature.h

Issue 2941003002: Add use counters for navigator.requestMediaKeySystemAccess (Closed)
Patch Set: . Created 3 years, 5 months 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
1 #ifndef WebFeature_h 1 #ifndef WebFeature_h
2 #define WebFeature_h 2 #define WebFeature_h
3 3
4 namespace blink { 4 namespace blink {
5 // ============ Definition for WebFeature used for UseCounter =============== 5 // ============ Definition for WebFeature used for UseCounter ===============
6 // 6 //
7 // Do not change assigned numbers of existing items: add new features 7 // Do not change assigned numbers of existing items: add new features
8 // to the end of the list. 8 // to the end of the list.
9 // 9 //
10 // A WebFeature conceptually represents some particular web-exposed API 10 // A WebFeature conceptually represents some particular web-exposed API
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 kSVGHrefAnimVal = 759, 493 kSVGHrefAnimVal = 759,
494 kV8CSSRuleList_Item_Method = 760, 494 kV8CSSRuleList_Item_Method = 760,
495 kV8MediaList_Item_Method = 761, 495 kV8MediaList_Item_Method = 761,
496 kV8StyleSheetList_Item_Method = 762, 496 kV8StyleSheetList_Item_Method = 762,
497 kStyleSheetListAnonymousNamedGetter = 763, 497 kStyleSheetListAnonymousNamedGetter = 763,
498 kAutocapitalizeAttribute = 764, 498 kAutocapitalizeAttribute = 764,
499 kFullscreenSecureOrigin = 765, 499 kFullscreenSecureOrigin = 765,
500 kFullscreenInsecureOrigin = 766, 500 kFullscreenInsecureOrigin = 766,
501 kDialogInSandboxedContext = 767, 501 kDialogInSandboxedContext = 767,
502 kSVGSMILAnimationInImageRegardlessOfCache = 768, 502 kSVGSMILAnimationInImageRegardlessOfCache = 768,
503 kEncryptedMediaSecureOrigin = 770,
503 kPerformanceFrameTiming = 772, 504 kPerformanceFrameTiming = 772,
504 kV8Element_Animate_Method = 773, 505 kV8Element_Animate_Method = 773,
505 // The above items are available in M44 branch. 506 // The above items are available in M44 branch.
506 507
507 kV8SVGSVGElement_GetElementById_Method = 778, 508 kV8SVGSVGElement_GetElementById_Method = 778,
508 kElementCreateShadowRootMultiple = 779, 509 kElementCreateShadowRootMultiple = 779,
509 kV8MessageChannel_Constructor = 780, 510 kV8MessageChannel_Constructor = 780,
510 kV8MessagePort_PostMessage_Method = 781, 511 kV8MessagePort_PostMessage_Method = 781,
511 kV8MessagePort_Start_Method = 782, 512 kV8MessagePort_Start_Method = 782,
512 kV8MessagePort_Close_Method = 783, 513 kV8MessagePort_Close_Method = 783,
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after
1561 kDocumentDomainSetWithDefaultPort = 2026, 1562 kDocumentDomainSetWithDefaultPort = 2026,
1562 kFeaturePolicyHeader = 2027, 1563 kFeaturePolicyHeader = 2027,
1563 kFeaturePolicyAllowAttribute = 2028, 1564 kFeaturePolicyAllowAttribute = 2028,
1564 kMIDIPortOpen = 2029, 1565 kMIDIPortOpen = 2029,
1565 kMIDIOutputSend = 2030, 1566 kMIDIOutputSend = 2030,
1566 kMIDIMessageEvent = 2031, 1567 kMIDIMessageEvent = 2031,
1567 kFetchEventIsReload = 2032, 1568 kFetchEventIsReload = 2032,
1568 kServiceWorkerClientFrameType = 2033, 1569 kServiceWorkerClientFrameType = 2033,
1569 kQuirksModeDocument = 2034, 1570 kQuirksModeDocument = 2034,
1570 kLimitedQuirksModeDocument = 2035, 1571 kLimitedQuirksModeDocument = 2035,
1572 kEncryptedMediaCrossOriginIframe = 2036,
1571 1573
1572 // Add new features immediately above this line. Don't change assigned 1574 // Add new features immediately above this line. Don't change assigned
1573 // numbers of any item, and don't reuse removed slots. 1575 // numbers of any item, and don't reuse removed slots.
1574 // Also, run update_use_counter_feature_enum.py in 1576 // Also, run update_use_counter_feature_enum.py in
1575 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1577 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1576 kNumberOfFeatures, // This enum value must be last. 1578 kNumberOfFeatures, // This enum value must be last.
1577 }; 1579 };
1578 1580
1579 } // namespace blink 1581 } // namespace blink
1580 1582
1581 #endif // WebFeature_h 1583 #endif // WebFeature_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698