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 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1544 kCredentialManagerPreventSilentAccess = 2012, | 1544 kCredentialManagerPreventSilentAccess = 2012, |
1545 kNetInfoEffectiveType = 2013, | 1545 kNetInfoEffectiveType = 2013, |
1546 kV8SpeechRecognition_Start_Method = 2014, | 1546 kV8SpeechRecognition_Start_Method = 2014, |
1547 kTableRowDirectionDifferentFromTable = 2015, | 1547 kTableRowDirectionDifferentFromTable = 2015, |
1548 kTableSectionDirectionDifferentFromTable = 2016, | 1548 kTableSectionDirectionDifferentFromTable = 2016, |
1549 // The above items are available in M60 branch. | 1549 // The above items are available in M60 branch. |
1550 | 1550 |
1551 kClientHintsDeviceRAM = 2017, | 1551 kClientHintsDeviceRAM = 2017, |
1552 kCSSRegisterProperty = 2018, | 1552 kCSSRegisterProperty = 2018, |
1553 kRelativeOrientationSensorConstructor = 2019, | 1553 kRelativeOrientationSensorConstructor = 2019, |
1554 kBudgetAPIGetCost = 2020, | |
johnme
2017/06/02 16:09:13
Consider moving these above `// The above items ar
Peter Beverloo
2017/06/02 16:29:55
I'll manually merge this -- changing the order wil
| |
1555 kBudgetAPIGetBudget = 2021, | |
1554 // Add new features immediately above this line. Don't change assigned | 1556 // Add new features immediately above this line. Don't change assigned |
1555 // numbers of any item, and don't reuse removed slots. | 1557 // numbers of any item, and don't reuse removed slots. |
1556 // Also, run update_use_counter_feature_enum.py in | 1558 // Also, run update_use_counter_feature_enum.py in |
1557 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1559 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1558 kNumberOfFeatures, // This enum value must be last. | 1560 kNumberOfFeatures, // This enum value must be last. |
OLD | NEW |