| 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 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1070 MediaStreamOnEnded = 1241, | 1070 MediaStreamOnEnded = 1241, |
| 1071 DocumentCreateEventInputEvent = 1242, | 1071 DocumentCreateEventInputEvent = 1242, |
| 1072 WebAnimationHyphenatedProperty = 1243, | 1072 WebAnimationHyphenatedProperty = 1243, |
| 1073 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244, | 1073 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244, |
| 1074 ApplicationCacheManifestSelectInsecureOrigin = 1245, | 1074 ApplicationCacheManifestSelectInsecureOrigin = 1245, |
| 1075 ApplicationCacheManifestSelectSecureOrigin = 1246, | 1075 ApplicationCacheManifestSelectSecureOrigin = 1246, |
| 1076 ApplicationCacheAPIInsecureOrigin = 1247, | 1076 ApplicationCacheAPIInsecureOrigin = 1247, |
| 1077 ApplicationCacheAPISecureOrigin = 1248, | 1077 ApplicationCacheAPISecureOrigin = 1248, |
| 1078 CSSAtRuleApply = 1249, | 1078 CSSAtRuleApply = 1249, |
| 1079 CSSSelectorPseudoAny = 1250, | 1079 CSSSelectorPseudoAny = 1250, |
| 1080 PannerNodeSetVelocity = 1251, |
| 1080 | 1081 |
| 1081 // Add new features immediately above this line. Don't change assigned | 1082 // Add new features immediately above this line. Don't change assigned |
| 1082 // numbers of any item, and don't reuse removed slots. | 1083 // numbers of any item, and don't reuse removed slots. |
| 1083 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1084 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1084 // to update the UMA mapping. | 1085 // to update the UMA mapping. |
| 1085 NumberOfFeatures, // This enum value must be last. | 1086 NumberOfFeatures, // This enum value must be last. |
| 1086 }; | 1087 }; |
| 1087 | 1088 |
| 1088 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1089 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1089 static void count(const Frame*, Feature); | 1090 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1164 friend class UseCounterTest; | 1165 friend class UseCounterTest; |
| 1165 static int m_muteCount; | 1166 static int m_muteCount; |
| 1166 | 1167 |
| 1167 CountBits m_countBits; | 1168 CountBits m_countBits; |
| 1168 BitVector m_CSSFeatureBits; | 1169 BitVector m_CSSFeatureBits; |
| 1169 }; | 1170 }; |
| 1170 | 1171 |
| 1171 } // namespace blink | 1172 } // namespace blink |
| 1172 | 1173 |
| 1173 #endif // UseCounter_h | 1174 #endif // UseCounter_h |
| OLD | NEW |