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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 SVG1DOMMaskElement = 1108, | 963 SVG1DOMMaskElement = 1108, |
964 V8SVGAElement_Target_AttributeGetter = 1109, | 964 V8SVGAElement_Target_AttributeGetter = 1109, |
965 V8SVGClipPathElement_ClipPathUnits_AttributeGetter = 1110, | 965 V8SVGClipPathElement_ClipPathUnits_AttributeGetter = 1110, |
966 SVG1DOMFitToViewBox = 1111, | 966 SVG1DOMFitToViewBox = 1111, |
967 SVG1DOMCursorElement = 1112, | 967 SVG1DOMCursorElement = 1112, |
968 V8SVGPathElement_PathLength_AttributeGetter = 1113, | 968 V8SVGPathElement_PathLength_AttributeGetter = 1113, |
969 SVG1DOMSVGElement = 1114, | 969 SVG1DOMSVGElement = 1114, |
970 SVG1DOMImageElement = 1115, | 970 SVG1DOMImageElement = 1115, |
971 SVG1DOMForeignObjectElement = 1116, | 971 SVG1DOMForeignObjectElement = 1116, |
972 AudioContextCreateIIRFilter = 1117, | 972 AudioContextCreateIIRFilter = 1117, |
| 973 CSSSelectorPseudoSlotted = 1118, |
973 | 974 |
974 // Add new features immediately above this line. Don't change assigned | 975 // Add new features immediately above this line. Don't change assigned |
975 // numbers of any item, and don't reuse removed slots. | 976 // numbers of any item, and don't reuse removed slots. |
976 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 977 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
977 // to update the UMA mapping. | 978 // to update the UMA mapping. |
978 NumberOfFeatures, // This enum value must be last. | 979 NumberOfFeatures, // This enum value must be last. |
979 }; | 980 }; |
980 | 981 |
981 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 982 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
982 static void count(const Frame*, Feature); | 983 static void count(const Frame*, Feature); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1067 | 1068 |
1068 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 1069 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
1069 | 1070 |
1070 CountBits m_countBits; | 1071 CountBits m_countBits; |
1071 BitVector m_CSSFeatureBits; | 1072 BitVector m_CSSFeatureBits; |
1072 }; | 1073 }; |
1073 | 1074 |
1074 } // namespace blink | 1075 } // namespace blink |
1075 | 1076 |
1076 #endif // UseCounter_h | 1077 #endif // UseCounter_h |
OLD | NEW |