| 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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1082 SVGZoomEvent = 1232, | 1082 SVGZoomEvent = 1232, |
| 1083 V8Animation_Oncancel_AttributeGetter = 1233, | 1083 V8Animation_Oncancel_AttributeGetter = 1233, |
| 1084 V8Animation_Oncancel_AttributeSetter = 1234, | 1084 V8Animation_Oncancel_AttributeSetter = 1234, |
| 1085 V8HTMLCommentInExternalScript = 1235, | 1085 V8HTMLCommentInExternalScript = 1235, |
| 1086 V8HTMLComment = 1236, | 1086 V8HTMLComment = 1236, |
| 1087 V8SloppyModeBlockScopedFunctionRedefinition = 1237, | 1087 V8SloppyModeBlockScopedFunctionRedefinition = 1237, |
| 1088 V8ForInInitializer = 1238, | 1088 V8ForInInitializer = 1238, |
| 1089 V8Animation_Id_AttributeGetter = 1239, | 1089 V8Animation_Id_AttributeGetter = 1239, |
| 1090 V8Animation_Id_AttributeSetter = 1240, | 1090 V8Animation_Id_AttributeSetter = 1240, |
| 1091 MediaStreamOnEnded = 1241, | 1091 MediaStreamOnEnded = 1241, |
| 1092 DocumentCreateEventInputEvent = 1242, |
| 1092 | 1093 |
| 1093 // Add new features immediately above this line. Don't change assigned | 1094 // Add new features immediately above this line. Don't change assigned |
| 1094 // numbers of any item, and don't reuse removed slots. | 1095 // numbers of any item, and don't reuse removed slots. |
| 1095 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1096 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1096 // to update the UMA mapping. | 1097 // to update the UMA mapping. |
| 1097 NumberOfFeatures, // This enum value must be last. | 1098 NumberOfFeatures, // This enum value must be last. |
| 1098 }; | 1099 }; |
| 1099 | 1100 |
| 1100 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1101 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1101 static void count(const Frame*, Feature); | 1102 static void count(const Frame*, Feature); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1172 friend class UseCounterTest; | 1173 friend class UseCounterTest; |
| 1173 static int m_muteCount; | 1174 static int m_muteCount; |
| 1174 | 1175 |
| 1175 CountBits m_countBits; | 1176 CountBits m_countBits; |
| 1176 BitVector m_CSSFeatureBits; | 1177 BitVector m_CSSFeatureBits; |
| 1177 }; | 1178 }; |
| 1178 | 1179 |
| 1179 } // namespace blink | 1180 } // namespace blink |
| 1180 | 1181 |
| 1181 #endif // UseCounter_h | 1182 #endif // UseCounter_h |
| OLD | NEW |