OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 Google, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1587 kFontShapingNotDefGlyphObserved = 1973, | 1587 kFontShapingNotDefGlyphObserved = 1973, |
1588 kPostMessageOutgoingWouldBeBlockedByConnectSrc = 1974, | 1588 kPostMessageOutgoingWouldBeBlockedByConnectSrc = 1974, |
1589 kPostMessageIncomingWouldBeBlockedByConnectSrc = 1975, | 1589 kPostMessageIncomingWouldBeBlockedByConnectSrc = 1975, |
1590 kPaymentRequestNetworkNameInSupportedMethods = 1976, | 1590 kPaymentRequestNetworkNameInSupportedMethods = 1976, |
1591 kCrossOriginPropertyAccess = 1977, | 1591 kCrossOriginPropertyAccess = 1977, |
1592 kCrossOriginPropertyAccessFromOpener = 1978, | 1592 kCrossOriginPropertyAccessFromOpener = 1978, |
1593 kCredentialManagerCreate = 1979, | 1593 kCredentialManagerCreate = 1979, |
1594 kWebDatabaseCreateDropFTS3Table = 1980, | 1594 kWebDatabaseCreateDropFTS3Table = 1980, |
1595 kFieldEditInSecureContext = 1981, | 1595 kFieldEditInSecureContext = 1981, |
1596 kFieldEditInNonSecureContext = 1982, | 1596 kFieldEditInNonSecureContext = 1982, |
| 1597 kInertAttribute = 1983, |
1597 | 1598 |
1598 // Add new features immediately above this line. Don't change assigned | 1599 // Add new features immediately above this line. Don't change assigned |
1599 // numbers of any item, and don't reuse removed slots. | 1600 // numbers of any item, and don't reuse removed slots. |
1600 // Also, run update_use_counter_feature_enum.py in | 1601 // Also, run update_use_counter_feature_enum.py in |
1601 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1602 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1602 kNumberOfFeatures, // This enum value must be last. | 1603 kNumberOfFeatures, // This enum value must be last. |
1603 }; | 1604 }; |
1604 | 1605 |
1605 // An interface to observe UseCounter changes. Note that this is never | 1606 // An interface to observe UseCounter changes. Note that this is never |
1606 // notified when the counter is disabled by |m_muteCount| or when |m_context| | 1607 // notified when the counter is disabled by |m_muteCount| or when |m_context| |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1704 // Tracks what features/properties need to be reported to the legacy | 1705 // Tracks what features/properties need to be reported to the legacy |
1705 // histograms. | 1706 // histograms. |
1706 BitVector feature_bits_; | 1707 BitVector feature_bits_; |
1707 BitVector css_bits_; | 1708 BitVector css_bits_; |
1708 } legacy_counter_; | 1709 } legacy_counter_; |
1709 }; | 1710 }; |
1710 | 1711 |
1711 } // namespace blink | 1712 } // namespace blink |
1712 | 1713 |
1713 #endif // UseCounter_h | 1714 #endif // UseCounter_h |
OLD | NEW |