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 1598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1609 kThreeValuedPositionObjectPosition = 2004, | 1609 kThreeValuedPositionObjectPosition = 2004, |
1610 kThreeValuedPositionPerspectiveOrigin = 2005, | 1610 kThreeValuedPositionPerspectiveOrigin = 2005, |
1611 kUnitlessZeroAngleCustomProperty = 2006, | 1611 kUnitlessZeroAngleCustomProperty = 2006, |
1612 kUnitlessZeroAngleFilter = 2007, | 1612 kUnitlessZeroAngleFilter = 2007, |
1613 kUnitlessZeroAngleGradient = 2008, | 1613 kUnitlessZeroAngleGradient = 2008, |
1614 kUnitlessZeroAngleOffsetRotate = 2009, | 1614 kUnitlessZeroAngleOffsetRotate = 2009, |
1615 kUnitlessZeroAngleTransform = 2010, | 1615 kUnitlessZeroAngleTransform = 2010, |
1616 kHTMLOListElementStartGetterReversedWithoutStartAttribute = 2011, | 1616 kHTMLOListElementStartGetterReversedWithoutStartAttribute = 2011, |
1617 kCredentialManagerPreventSilentAccess = 2012, | 1617 kCredentialManagerPreventSilentAccess = 2012, |
1618 kNetInfoEffectiveType = 2013, | 1618 kNetInfoEffectiveType = 2013, |
| 1619 kClientHintsDeviceRAM = 2014, |
1619 | 1620 |
1620 // Add new features immediately above this line. Don't change assigned | 1621 // Add new features immediately above this line. Don't change assigned |
1621 // numbers of any item, and don't reuse removed slots. | 1622 // numbers of any item, and don't reuse removed slots. |
1622 // Also, run update_use_counter_feature_enum.py in | 1623 // Also, run update_use_counter_feature_enum.py in |
1623 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1624 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1624 kNumberOfFeatures, // This enum value must be last. | 1625 kNumberOfFeatures, // This enum value must be last. |
1625 }; | 1626 }; |
1626 | 1627 |
1627 // An interface to observe UseCounter changes. Note that this is never | 1628 // An interface to observe UseCounter changes. Note that this is never |
1628 // notified when the counter is disabled by |m_muteCount| or when |m_context| | 1629 // 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... |
1726 // Tracks what features/properties need to be reported to the legacy | 1727 // Tracks what features/properties need to be reported to the legacy |
1727 // histograms. | 1728 // histograms. |
1728 BitVector feature_bits_; | 1729 BitVector feature_bits_; |
1729 BitVector css_bits_; | 1730 BitVector css_bits_; |
1730 } legacy_counter_; | 1731 } legacy_counter_; |
1731 }; | 1732 }; |
1732 | 1733 |
1733 } // namespace blink | 1734 } // namespace blink |
1734 | 1735 |
1735 #endif // UseCounter_h | 1736 #endif // UseCounter_h |
OLD | NEW |