| 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 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1075 DocumentAllLegacyCallNoArguments = 1256, | 1075 DocumentAllLegacyCallNoArguments = 1256, |
| 1076 DocumentAllLegacyCallNamed = 1257, | 1076 DocumentAllLegacyCallNamed = 1257, |
| 1077 DocumentAllLegacyCallIndexed = 1258, | 1077 DocumentAllLegacyCallIndexed = 1258, |
| 1078 DocumentAllLegacyCallIndexedWithNonNumber = 1259, | 1078 DocumentAllLegacyCallIndexedWithNonNumber = 1259, |
| 1079 DocumentAllLegacyCallTwoArguments = 1260, | 1079 DocumentAllLegacyCallTwoArguments = 1260, |
| 1080 HTMLLabelElementFormIsDifferentFromControlForm = 1261, | 1080 HTMLLabelElementFormIsDifferentFromControlForm = 1261, |
| 1081 HTMLLabelElementHasNoControlAndFormIsAncestor = 1262, | 1081 HTMLLabelElementHasNoControlAndFormIsAncestor = 1262, |
| 1082 HTMLLabelElementControlForNonFormAssociatedElement = 1263, | 1082 HTMLLabelElementControlForNonFormAssociatedElement = 1263, |
| 1083 PatternAttributeUnicodeFlagIsIncompatible = 1264, | 1083 PatternAttributeUnicodeFlagIsIncompatible = 1264, |
| 1084 HTMLMediaElementLoadNetworkEmptyNotPaused = 1265, | 1084 HTMLMediaElementLoadNetworkEmptyNotPaused = 1265, |
| 1085 EventRelatedTargetScoped = 1266, |
| 1085 | 1086 |
| 1086 // Add new features immediately above this line. Don't change assigned | 1087 // Add new features immediately above this line. Don't change assigned |
| 1087 // numbers of any item, and don't reuse removed slots. | 1088 // numbers of any item, and don't reuse removed slots. |
| 1088 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1089 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1089 // to update the UMA mapping. | 1090 // to update the UMA mapping. |
| 1090 NumberOfFeatures, // This enum value must be last. | 1091 NumberOfFeatures, // This enum value must be last. |
| 1091 }; | 1092 }; |
| 1092 | 1093 |
| 1093 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1094 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1094 static void count(const Frame*, Feature); | 1095 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 friend class UseCounterTest; | 1170 friend class UseCounterTest; |
| 1170 static int m_muteCount; | 1171 static int m_muteCount; |
| 1171 | 1172 |
| 1172 CountBits m_countBits; | 1173 CountBits m_countBits; |
| 1173 BitVector m_CSSFeatureBits; | 1174 BitVector m_CSSFeatureBits; |
| 1174 }; | 1175 }; |
| 1175 | 1176 |
| 1176 } // namespace blink | 1177 } // namespace blink |
| 1177 | 1178 |
| 1178 #endif // UseCounter_h | 1179 #endif // UseCounter_h |
| OLD | NEW |