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 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1570 kViewportFixedPositionUnderFilter = 1961, | 1570 kViewportFixedPositionUnderFilter = 1961, |
1571 kRequestMIDIAccessWithSysExOption = 1962, | 1571 kRequestMIDIAccessWithSysExOption = 1962, |
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 kClientHintsDeviceRam = 1971, |
1580 | 1581 |
1581 // Add new features immediately above this line. Don't change assigned | 1582 // Add new features immediately above this line. Don't change assigned |
1582 // numbers of any item, and don't reuse removed slots. | 1583 // numbers of any item, and don't reuse removed slots. |
1583 // Also, run update_use_counter_feature_enum.py in | 1584 // Also, run update_use_counter_feature_enum.py in |
1584 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1585 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1585 kNumberOfFeatures, // This enum value must be last. | 1586 kNumberOfFeatures, // This enum value must be last. |
1586 }; | 1587 }; |
1587 | 1588 |
1588 // An interface to observe UseCounter changes. Note that this is never | 1589 // An interface to observe UseCounter changes. Note that this is never |
1589 // notified when the counter is disabled by |m_muteCount| or | 1590 // notified when the counter is disabled by |m_muteCount| or |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1689 // Tracks what features/properties need to be reported to the legacy | 1690 // Tracks what features/properties need to be reported to the legacy |
1690 // histograms. | 1691 // histograms. |
1691 BitVector feature_bits_; | 1692 BitVector feature_bits_; |
1692 BitVector css_bits_; | 1693 BitVector css_bits_; |
1693 } legacy_counter_; | 1694 } legacy_counter_; |
1694 }; | 1695 }; |
1695 | 1696 |
1696 } // namespace blink | 1697 } // namespace blink |
1697 | 1698 |
1698 #endif // UseCounter_h | 1699 #endif // UseCounter_h |
OLD | NEW |