| 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 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1572 kRequestMIDIAccessIframeWithSysExOption = 1963, | 1572 kRequestMIDIAccessIframeWithSysExOption = 1963, |
| 1573 kGamepadAxes = 1964, | 1573 kGamepadAxes = 1964, |
| 1574 kGamepadButtons = 1965, | 1574 kGamepadButtons = 1965, |
| 1575 kVibrateWithoutUserGesture = 1966, | 1575 kVibrateWithoutUserGesture = 1966, |
| 1576 kDispatchMouseEventOnDisabledFormControl = 1967, | 1576 kDispatchMouseEventOnDisabledFormControl = 1967, |
| 1577 kElementNameDOMInvalidHTMLParserValid = 1968, | 1577 kElementNameDOMInvalidHTMLParserValid = 1968, |
| 1578 kElementNameDOMValidHTMLParserInvalid = 1969, | 1578 kElementNameDOMValidHTMLParserInvalid = 1969, |
| 1579 kGATTServerDisconnectedEvent = 1970, | 1579 kGATTServerDisconnectedEvent = 1970, |
| 1580 kAnchorClickDispatchForNonConnectedNode = 1971, | 1580 kAnchorClickDispatchForNonConnectedNode = 1971, |
| 1581 kHTMLParseErrorNestedForm = 1972, | 1581 kHTMLParseErrorNestedForm = 1972, |
| 1582 kFontShapingNotDefGlyphObserved = 1973, |
| 1582 | 1583 |
| 1583 // Add new features immediately above this line. Don't change assigned | 1584 // Add new features immediately above this line. Don't change assigned |
| 1584 // numbers of any item, and don't reuse removed slots. | 1585 // numbers of any item, and don't reuse removed slots. |
| 1585 // Also, run update_use_counter_feature_enum.py in | 1586 // Also, run update_use_counter_feature_enum.py in |
| 1586 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1587 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1587 kNumberOfFeatures, // This enum value must be last. | 1588 kNumberOfFeatures, // This enum value must be last. |
| 1588 }; | 1589 }; |
| 1589 | 1590 |
| 1590 // An interface to observe UseCounter changes. Note that this is never | 1591 // An interface to observe UseCounter changes. Note that this is never |
| 1591 // notified when the counter is disabled by |m_muteCount| or | 1592 // notified when the counter is disabled by |m_muteCount| or |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1691 // Tracks what features/properties need to be reported to the legacy | 1692 // Tracks what features/properties need to be reported to the legacy |
| 1692 // histograms. | 1693 // histograms. |
| 1693 BitVector feature_bits_; | 1694 BitVector feature_bits_; |
| 1694 BitVector css_bits_; | 1695 BitVector css_bits_; |
| 1695 } legacy_counter_; | 1696 } legacy_counter_; |
| 1696 }; | 1697 }; |
| 1697 | 1698 |
| 1698 } // namespace blink | 1699 } // namespace blink |
| 1699 | 1700 |
| 1700 #endif // UseCounter_h | 1701 #endif // UseCounter_h |
| OLD | NEW |