Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // ============ Definition for WebFeature used for UseCounter =============== | 1 // ============ Definition for WebFeature used for UseCounter =============== |
| 2 // A WebFeature conceptually represents some particular web-exposed API | 2 // A WebFeature conceptually represents some particular web-exposed API |
| 3 // or code path which can be used/triggered by a web page. | 3 // or code path which can be used/triggered by a web page. |
| 4 // TODO(lunalu): Replace occurance of UseCounter::Feature by WebFeature in | 4 // TODO(lunalu): Replace occurance of UseCounter::Feature by WebFeature in |
| 5 // Blink. | 5 // Blink. |
| 6 // TODO(rbyers): Add CSS and animated CSS feature types by making this a | 6 // TODO(rbyers): Add CSS and animated CSS feature types by making this a |
| 7 // more sophisticated class. | 7 // more sophisticated class. |
| 8 // | 8 // |
| 9 // Do not change assigned numbers of existing items: add new features | 9 // Do not change assigned numbers of existing items: add new features |
| 10 // to the end of the list. | 10 // to the end of the list. |
| (...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1547 kTableSectionDirectionDifferentFromTable = 2016, | 1547 kTableSectionDirectionDifferentFromTable = 2016, |
| 1548 // The above items are available in M60 branch. | 1548 // The above items are available in M60 branch. |
| 1549 | 1549 |
| 1550 kClientHintsDeviceRAM = 2017, | 1550 kClientHintsDeviceRAM = 2017, |
| 1551 kCSSRegisterProperty = 2018, | 1551 kCSSRegisterProperty = 2018, |
| 1552 kRelativeOrientationSensorConstructor = 2019, | 1552 kRelativeOrientationSensorConstructor = 2019, |
| 1553 kSmoothScrollJSInterventionActivated = 2020, | 1553 kSmoothScrollJSInterventionActivated = 2020, |
| 1554 kBudgetAPIGetCost = 2021, | 1554 kBudgetAPIGetCost = 2021, |
| 1555 kBudgetAPIGetBudget = 2022, | 1555 kBudgetAPIGetBudget = 2022, |
| 1556 kCrossOriginMainFrameNulledNonEmptyNameAccessed = 2023, | 1556 kCrossOriginMainFrameNulledNonEmptyNameAccessed = 2023, |
| 1557 kRequestMediaKeySystemAccess = 2024, | |
|
ddorwin
2017/06/15 06:57:18
We used to have values for secure and insecure ori
| |
| 1558 kRequestMediaKeySystemAccessIframe = 2025, | |
| 1557 | 1559 |
| 1558 // Add new features immediately above this line. Don't change assigned | 1560 // Add new features immediately above this line. Don't change assigned |
| 1559 // numbers of any item, and don't reuse removed slots. | 1561 // numbers of any item, and don't reuse removed slots. |
| 1560 // Also, run update_use_counter_feature_enum.py in | 1562 // Also, run update_use_counter_feature_enum.py in |
| 1561 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1563 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1562 kNumberOfFeatures, // This enum value must be last. | 1564 kNumberOfFeatures, // This enum value must be last. |
| OLD | NEW |