| 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 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1068 V8Animation_Id_AttributeGetter = 1239, | 1068 V8Animation_Id_AttributeGetter = 1239, |
| 1069 V8Animation_Id_AttributeSetter = 1240, | 1069 V8Animation_Id_AttributeSetter = 1240, |
| 1070 MediaStreamOnEnded = 1241, | 1070 MediaStreamOnEnded = 1241, |
| 1071 DocumentCreateEventInputEvent = 1242, | 1071 DocumentCreateEventInputEvent = 1242, |
| 1072 WebAnimationHyphenatedProperty = 1243, | 1072 WebAnimationHyphenatedProperty = 1243, |
| 1073 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244, | 1073 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244, |
| 1074 ApplicationCacheManifestSelectInsecureOrigin = 1245, | 1074 ApplicationCacheManifestSelectInsecureOrigin = 1245, |
| 1075 ApplicationCacheManifestSelectSecureOrigin = 1246, | 1075 ApplicationCacheManifestSelectSecureOrigin = 1246, |
| 1076 ApplicationCacheAPIInsecureOrigin = 1247, | 1076 ApplicationCacheAPIInsecureOrigin = 1247, |
| 1077 ApplicationCacheAPISecureOrigin = 1248, | 1077 ApplicationCacheAPISecureOrigin = 1248, |
| 1078 // The above items are available in M50 branch |
| 1079 |
| 1078 CSSAtRuleApply = 1249, | 1080 CSSAtRuleApply = 1249, |
| 1079 CSSSelectorPseudoAny = 1250, | 1081 CSSSelectorPseudoAny = 1250, |
| 1080 PannerNodeSetVelocity = 1251, | 1082 PannerNodeSetVelocity = 1251, |
| 1083 DocumentAllItemNoArguments = 1252, |
| 1084 DocumentAllItemNamed = 1253, |
| 1085 DocumentAllItemIndexed = 1254, |
| 1086 DocumentAllItemIndexedWithNonNumber = 1255, |
| 1087 DocumentAllLegacyCallNoArguments = 1256, |
| 1088 DocumentAllLegacyCallNamed = 1257, |
| 1089 DocumentAllLegacyCallIndexed = 1258, |
| 1090 DocumentAllLegacyCallIndexedWithNonNumber = 1259, |
| 1091 DocumentAllLegacyCallTwoArguments = 1260, |
| 1081 | 1092 |
| 1082 // Add new features immediately above this line. Don't change assigned | 1093 // Add new features immediately above this line. Don't change assigned |
| 1083 // numbers of any item, and don't reuse removed slots. | 1094 // numbers of any item, and don't reuse removed slots. |
| 1084 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1095 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1085 // to update the UMA mapping. | 1096 // to update the UMA mapping. |
| 1086 NumberOfFeatures, // This enum value must be last. | 1097 NumberOfFeatures, // This enum value must be last. |
| 1087 }; | 1098 }; |
| 1088 | 1099 |
| 1089 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1100 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1090 static void count(const Frame*, Feature); | 1101 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1165 friend class UseCounterTest; | 1176 friend class UseCounterTest; |
| 1166 static int m_muteCount; | 1177 static int m_muteCount; |
| 1167 | 1178 |
| 1168 CountBits m_countBits; | 1179 CountBits m_countBits; |
| 1169 BitVector m_CSSFeatureBits; | 1180 BitVector m_CSSFeatureBits; |
| 1170 }; | 1181 }; |
| 1171 | 1182 |
| 1172 } // namespace blink | 1183 } // namespace blink |
| 1173 | 1184 |
| 1174 #endif // UseCounter_h | 1185 #endif // UseCounter_h |
| OLD | NEW |