Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1554 kClientHintsDeviceRAM = 2017, | 1555 kClientHintsDeviceRAM = 2017, |
| 1555 kCSSRegisterProperty = 2018, | 1556 kCSSRegisterProperty = 2018, |
| 1556 kRelativeOrientationSensorConstructor = 2019, | 1557 kRelativeOrientationSensorConstructor = 2019, |
| 1557 kSmoothScrollJSInterventionActivated = 2020, | 1558 kSmoothScrollJSInterventionActivated = 2020, |
| 1558 kBudgetAPIGetCost = 2021, | 1559 kBudgetAPIGetCost = 2021, |
| 1559 kBudgetAPIGetBudget = 2022, | 1560 kBudgetAPIGetBudget = 2022, |
| 1560 kCrossOriginMainFrameNulledNonEmptyNameAccessed = 2023, | 1561 kCrossOriginMainFrameNulledNonEmptyNameAccessed = 2023, |
| 1561 kDeprecatedTimingFunctionStepMiddle = 2024, | 1562 kDeprecatedTimingFunctionStepMiddle = 2024, |
| 1562 kDocumentDomainSetWithNonDefaultPort = 2025, | 1563 kDocumentDomainSetWithNonDefaultPort = 2025, |
| 1563 kDocumentDomainSetWithDefaultPort = 2026, | 1564 kDocumentDomainSetWithDefaultPort = 2026, |
| 1565 kEncryptedMediaIframe = 2027, | |
|
xhwang
2017/06/21 17:03:18
naming nit: "Iframe" is ambiguous. It seems we alr
raymes
2017/06/28 03:57:28
Done.
| |
| 1564 | 1566 |
| 1565 // Add new features immediately above this line. Don't change assigned | 1567 // Add new features immediately above this line. Don't change assigned |
| 1566 // numbers of any item, and don't reuse removed slots. | 1568 // numbers of any item, and don't reuse removed slots. |
| 1567 // Also, run update_use_counter_feature_enum.py in | 1569 // Also, run update_use_counter_feature_enum.py in |
| 1568 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1570 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1569 kNumberOfFeatures, // This enum value must be last. | 1571 kNumberOfFeatures, // This enum value must be last. |
| 1570 }; | 1572 }; |
| 1571 | 1573 |
| 1572 } // namespace blink | 1574 } // namespace blink |
| 1573 | 1575 |
| 1574 #endif // WebFeature_h | 1576 #endif // WebFeature_h |
| OLD | NEW |