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