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

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

Issue 2945223002: Add deprecation warnings for permission API usage from iframes (Closed)
Patch Set: Depreaction warnings Created 3 years, 6 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 1541 matching lines...) Expand 10 before | Expand all | Expand 10 after
1552 kClientHintsDeviceRAM = 2017, 1552 kClientHintsDeviceRAM = 2017,
1553 kCSSRegisterProperty = 2018, 1553 kCSSRegisterProperty = 2018,
1554 kRelativeOrientationSensorConstructor = 2019, 1554 kRelativeOrientationSensorConstructor = 2019,
1555 kSmoothScrollJSInterventionActivated = 2020, 1555 kSmoothScrollJSInterventionActivated = 2020,
1556 kBudgetAPIGetCost = 2021, 1556 kBudgetAPIGetCost = 2021,
1557 kBudgetAPIGetBudget = 2022, 1557 kBudgetAPIGetBudget = 2022,
1558 kCrossOriginMainFrameNulledNonEmptyNameAccessed = 2023, 1558 kCrossOriginMainFrameNulledNonEmptyNameAccessed = 2023,
1559 kDeprecatedTimingFunctionStepMiddle = 2024, 1559 kDeprecatedTimingFunctionStepMiddle = 2024,
1560 kDocumentDomainSetWithNonDefaultPort = 2025, 1560 kDocumentDomainSetWithNonDefaultPort = 2025,
1561 kDocumentDomainSetWithDefaultPort = 2026, 1561 kDocumentDomainSetWithDefaultPort = 2026,
1562 kEncryptedMediaDisabledIframe = 2028,
1563 kGeolocationDisabledIframe = 2029,
1564 kGetUserMediaDisabledIframe = 2030,
1565 kRequestMIDIAccessDisabledIframe = 2031,
1562 1566
1563 // Add new features immediately above this line. Don't change assigned 1567 // Add new features immediately above this line. Don't change assigned
1564 // numbers of any item, and don't reuse removed slots. 1568 // numbers of any item, and don't reuse removed slots.
1565 // Also, run update_use_counter_feature_enum.py in 1569 // Also, run update_use_counter_feature_enum.py in
1566 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1570 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1567 kNumberOfFeatures, // This enum value must be last. 1571 kNumberOfFeatures, // This enum value must be last.
1568 }; 1572 };
1569 1573
1570 } // namespace blink 1574 } // namespace blink
1571 1575
1572 #endif // WebFeature_h 1576 #endif // WebFeature_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698