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 V8HTMLCommentInExternalScript = 1235, | 1075 V8HTMLCommentInExternalScript = 1235, |
1076 V8HTMLComment = 1236, | 1076 V8HTMLComment = 1236, |
1077 V8SloppyModeBlockScopedFunctionRedefinition = 1237, | 1077 V8SloppyModeBlockScopedFunctionRedefinition = 1237, |
1078 V8ForInInitializer = 1238, | 1078 V8ForInInitializer = 1238, |
1079 V8Animation_Id_AttributeGetter = 1239, | 1079 V8Animation_Id_AttributeGetter = 1239, |
1080 V8Animation_Id_AttributeSetter = 1240, | 1080 V8Animation_Id_AttributeSetter = 1240, |
1081 MediaStreamOnEnded = 1241, | 1081 MediaStreamOnEnded = 1241, |
1082 DocumentCreateEventInputEvent = 1242, | 1082 DocumentCreateEventInputEvent = 1242, |
1083 WebAnimationHyphenatedProperty = 1243, | 1083 WebAnimationHyphenatedProperty = 1243, |
1084 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244, | 1084 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244, |
| 1085 ApplicationCacheManifestSelectInsecureOrigin = 1245, |
| 1086 ApplicationCacheManifestSelectSecureOrigin = 1246, |
| 1087 ApplicationCacheAPIInsecureOrigin = 1247, |
| 1088 ApplicationCacheAPISecureOrigin = 1248, |
1085 | 1089 |
1086 // Add new features immediately above this line. Don't change assigned | 1090 // Add new features immediately above this line. Don't change assigned |
1087 // numbers of any item, and don't reuse removed slots. | 1091 // 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/ | 1092 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1089 // to update the UMA mapping. | 1093 // to update the UMA mapping. |
1090 NumberOfFeatures, // This enum value must be last. | 1094 NumberOfFeatures, // This enum value must be last. |
1091 }; | 1095 }; |
1092 | 1096 |
1093 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1097 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1094 static void count(const Frame*, Feature); | 1098 static void count(const Frame*, Feature); |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 friend class UseCounterTest; | 1169 friend class UseCounterTest; |
1166 static int m_muteCount; | 1170 static int m_muteCount; |
1167 | 1171 |
1168 CountBits m_countBits; | 1172 CountBits m_countBits; |
1169 BitVector m_CSSFeatureBits; | 1173 BitVector m_CSSFeatureBits; |
1170 }; | 1174 }; |
1171 | 1175 |
1172 } // namespace blink | 1176 } // namespace blink |
1173 | 1177 |
1174 #endif // UseCounter_h | 1178 #endif // UseCounter_h |
OLD | NEW |