| 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 HTMLMediaElementControlsAttribute = 1231, | 1083 HTMLMediaElementControlsAttribute = 1231, |
| 1084 SVGZoomEvent = 1232, | 1084 SVGZoomEvent = 1232, |
| 1085 V8Animation_Oncancel_AttributeGetter = 1233, | 1085 V8Animation_Oncancel_AttributeGetter = 1233, |
| 1086 V8Animation_Oncancel_AttributeSetter = 1234, | 1086 V8Animation_Oncancel_AttributeSetter = 1234, |
| 1087 V8HTMLCommentInExternalScript = 1235, | 1087 V8HTMLCommentInExternalScript = 1235, |
| 1088 V8HTMLComment = 1236, | 1088 V8HTMLComment = 1236, |
| 1089 V8SloppyModeBlockScopedFunctionRedefinition = 1237, | 1089 V8SloppyModeBlockScopedFunctionRedefinition = 1237, |
| 1090 V8ForInInitializer = 1238, | 1090 V8ForInInitializer = 1238, |
| 1091 V8Animation_Id_AttributeGetter = 1239, | 1091 V8Animation_Id_AttributeGetter = 1239, |
| 1092 V8Animation_Id_AttributeSetter = 1240, | 1092 V8Animation_Id_AttributeSetter = 1240, |
| 1093 MediaStreamOnEnded = 1241, |
| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1173 friend class UseCounterTest; | 1174 friend class UseCounterTest; |
| 1174 static int m_muteCount; | 1175 static int m_muteCount; |
| 1175 | 1176 |
| 1176 CountBits m_countBits; | 1177 CountBits m_countBits; |
| 1177 BitVector m_CSSFeatureBits; | 1178 BitVector m_CSSFeatureBits; |
| 1178 }; | 1179 }; |
| 1179 | 1180 |
| 1180 } // namespace blink | 1181 } // namespace blink |
| 1181 | 1182 |
| 1182 #endif // UseCounter_h | 1183 #endif // UseCounter_h |
| OLD | NEW |