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 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 DocumentAllItemIndexedWithNonNumber = 1255, | 1083 DocumentAllItemIndexedWithNonNumber = 1255, |
1084 DocumentAllLegacyCallNoArguments = 1256, | 1084 DocumentAllLegacyCallNoArguments = 1256, |
1085 DocumentAllLegacyCallNamed = 1257, | 1085 DocumentAllLegacyCallNamed = 1257, |
1086 DocumentAllLegacyCallIndexed = 1258, | 1086 DocumentAllLegacyCallIndexed = 1258, |
1087 DocumentAllLegacyCallIndexedWithNonNumber = 1259, | 1087 DocumentAllLegacyCallIndexedWithNonNumber = 1259, |
1088 DocumentAllLegacyCallTwoArguments = 1260, | 1088 DocumentAllLegacyCallTwoArguments = 1260, |
1089 HTMLLabelElementFormIsDifferentFromControlForm = 1261, | 1089 HTMLLabelElementFormIsDifferentFromControlForm = 1261, |
1090 HTMLLabelElementHasNoControlAndFormIsAncestor = 1262, | 1090 HTMLLabelElementHasNoControlAndFormIsAncestor = 1262, |
1091 HTMLLabelElementControlForNonFormAssociatedElement = 1263, | 1091 HTMLLabelElementControlForNonFormAssociatedElement = 1263, |
1092 PatternAttributeUnicodeFlagIsIncompatible = 1264, | 1092 PatternAttributeUnicodeFlagIsIncompatible = 1264, |
| 1093 HTMLMediaElementLoadNetworkEmptyNotPaused = 1265, |
1093 | 1094 |
1094 // Add new features immediately above this line. Don't change assigned | 1095 // Add new features immediately above this line. Don't change assigned |
1095 // numbers of any item, and don't reuse removed slots. | 1096 // numbers of any item, and don't reuse removed slots. |
1096 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1097 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1097 // to update the UMA mapping. | 1098 // to update the UMA mapping. |
1098 NumberOfFeatures, // This enum value must be last. | 1099 NumberOfFeatures, // This enum value must be last. |
1099 }; | 1100 }; |
1100 | 1101 |
1101 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1102 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1102 static void count(const Frame*, Feature); | 1103 static void count(const Frame*, Feature); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1177 friend class UseCounterTest; | 1178 friend class UseCounterTest; |
1178 static int m_muteCount; | 1179 static int m_muteCount; |
1179 | 1180 |
1180 CountBits m_countBits; | 1181 CountBits m_countBits; |
1181 BitVector m_CSSFeatureBits; | 1182 BitVector m_CSSFeatureBits; |
1182 }; | 1183 }; |
1183 | 1184 |
1184 } // namespace blink | 1185 } // namespace blink |
1185 | 1186 |
1186 #endif // UseCounter_h | 1187 #endif // UseCounter_h |
OLD | NEW |