| 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 kV8Window_Confirm_Method = 951, | 698 kV8Window_Confirm_Method = 951, |
| 699 kV8Window_Prompt_Method = 952, | 699 kV8Window_Prompt_Method = 952, |
| 700 kV8Window_Print_Method = 953, | 700 kV8Window_Print_Method = 953, |
| 701 kV8Window_RequestIdleCallback_Method = 954, | 701 kV8Window_RequestIdleCallback_Method = 954, |
| 702 kFlexboxPercentagePaddingVertical = 955, | 702 kFlexboxPercentagePaddingVertical = 955, |
| 703 kFlexboxPercentageMarginVertical = 956, | 703 kFlexboxPercentageMarginVertical = 956, |
| 704 kBackspaceNavigatedBack = 957, | 704 kBackspaceNavigatedBack = 957, |
| 705 kBackspaceNavigatedBackAfterFormInteraction = 958, | 705 kBackspaceNavigatedBackAfterFormInteraction = 958, |
| 706 kCSPSourceWildcardWouldMatchExactHost = 959, | 706 kCSPSourceWildcardWouldMatchExactHost = 959, |
| 707 kCredentialManagerGet = 960, | 707 kCredentialManagerGet = 960, |
| 708 kCredentialManagerGetWithUI = 961, | 708 kCredentialManagerGetMediationOptional = 961, |
| 709 kCredentialManagerGetWithoutUI = 962, | 709 kCredentialManagerGetMediationSilent = 962, |
| 710 kCredentialManagerStore = 963, | 710 kCredentialManagerStore = 963, |
| 711 kCredentialManagerRequireUserMediation = 964, | 711 kCredentialManagerRequireUserMediation = 964, |
| 712 // The above items are available in M47 branch. | 712 // The above items are available in M47 branch. |
| 713 | 713 |
| 714 kBlockableMixedContentInSubframeBlocked = 966, | 714 kBlockableMixedContentInSubframeBlocked = 966, |
| 715 kAddEventListenerThirdArgumentIsObject = 967, | 715 kAddEventListenerThirdArgumentIsObject = 967, |
| 716 kRemoveEventListenerThirdArgumentIsObject = 968, | 716 kRemoveEventListenerThirdArgumentIsObject = 968, |
| 717 kCSSAtRuleCharset = 969, | 717 kCSSAtRuleCharset = 969, |
| 718 kCSSAtRuleFontFace = 970, | 718 kCSSAtRuleFontFace = 970, |
| 719 kCSSAtRuleImport = 971, | 719 kCSSAtRuleImport = 971, |
| (...skipping 867 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 kCredentialManagerCredentialRequestOptionsUnmediated = 1983, |
| 1598 kCredentialManagerGetMediationRequired = 1984, |
| 1597 | 1599 |
| 1598 // Add new features immediately above this line. Don't change assigned | 1600 // Add new features immediately above this line. Don't change assigned |
| 1599 // numbers of any item, and don't reuse removed slots. | 1601 // numbers of any item, and don't reuse removed slots. |
| 1600 // Also, run update_use_counter_feature_enum.py in | 1602 // Also, run update_use_counter_feature_enum.py in |
| 1601 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1603 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1602 kNumberOfFeatures, // This enum value must be last. | 1604 kNumberOfFeatures, // This enum value must be last. |
| 1603 }; | 1605 }; |
| 1604 | 1606 |
| 1605 // An interface to observe UseCounter changes. Note that this is never | 1607 // 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| | 1608 // 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 | 1706 // Tracks what features/properties need to be reported to the legacy |
| 1705 // histograms. | 1707 // histograms. |
| 1706 BitVector feature_bits_; | 1708 BitVector feature_bits_; |
| 1707 BitVector css_bits_; | 1709 BitVector css_bits_; |
| 1708 } legacy_counter_; | 1710 } legacy_counter_; |
| 1709 }; | 1711 }; |
| 1710 | 1712 |
| 1711 } // namespace blink | 1713 } // namespace blink |
| 1712 | 1714 |
| 1713 #endif // UseCounter_h | 1715 #endif // UseCounter_h |
| OLD | NEW |