| 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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 V8SloppyMode = 1075, | 932 V8SloppyMode = 1075, |
| 933 V8StrictMode = 1076, | 933 V8StrictMode = 1076, |
| 934 V8StrongMode = 1077, | 934 V8StrongMode = 1077, |
| 935 AudioNodeConnectToAudioNode = 1078, | 935 AudioNodeConnectToAudioNode = 1078, |
| 936 AudioNodeConnectToAudioParam = 1079, | 936 AudioNodeConnectToAudioParam = 1079, |
| 937 AudioNodeDisconnectFromAudioNode = 1080, | 937 AudioNodeDisconnectFromAudioNode = 1080, |
| 938 AudioNodeDisconnectFromAudioParam = 1081, | 938 AudioNodeDisconnectFromAudioParam = 1081, |
| 939 V8CSSFontFaceRule_Style_AttributeGetter = 1082, | 939 V8CSSFontFaceRule_Style_AttributeGetter = 1082, |
| 940 SelectionCollapseNull = 1083, | 940 SelectionCollapseNull = 1083, |
| 941 SelectionSetBaseAndExtentNull = 1084, | 941 SelectionSetBaseAndExtentNull = 1084, |
| 942 V8SVGSVGElement_CreateSVGNumber_Method = 1085, |
| 943 V8SVGSVGElement_CreateSVGLength_Method = 1086, |
| 944 V8SVGSVGElement_CreateSVGAngle_Method = 1087, |
| 945 V8SVGSVGElement_CreateSVGPoint_Method = 1088, |
| 946 V8SVGSVGElement_CreateSVGMatrix_Method = 1089, |
| 947 V8SVGSVGElement_CreateSVGRect_Method = 1090, |
| 948 V8SVGSVGElement_CreateSVGTransform_Method = 1091, |
| 949 V8SVGSVGElement_CreateSVGTransformFromMatrix_Method = 1092, |
| 942 | 950 |
| 943 // Add new features immediately above this line. Don't change assigned | 951 // Add new features immediately above this line. Don't change assigned |
| 944 // numbers of any item, and don't reuse removed slots. | 952 // numbers of any item, and don't reuse removed slots. |
| 945 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 953 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 946 // to update the UMA mapping. | 954 // to update the UMA mapping. |
| 947 NumberOfFeatures, // This enum value must be last. | 955 NumberOfFeatures, // This enum value must be last. |
| 948 }; | 956 }; |
| 949 | 957 |
| 950 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 958 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 951 static void count(const Frame*, Feature); | 959 static void count(const Frame*, Feature); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1036 | 1044 |
| 1037 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 1045 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
| 1038 | 1046 |
| 1039 CountBits m_countBits; | 1047 CountBits m_countBits; |
| 1040 BitVector m_CSSFeatureBits; | 1048 BitVector m_CSSFeatureBits; |
| 1041 }; | 1049 }; |
| 1042 | 1050 |
| 1043 } // namespace blink | 1051 } // namespace blink |
| 1044 | 1052 |
| 1045 #endif // UseCounter_h | 1053 #endif // UseCounter_h |
| OLD | NEW |