| 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 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1155 During_Microtask_SyncXHR = 1338, | 1155 During_Microtask_SyncXHR = 1338, |
| 1156 URLMethodCreateObjectURLServiceWorker = 1339, | 1156 URLMethodCreateObjectURLServiceWorker = 1339, |
| 1157 URLMethodRevokeObjectURLServiceWorker = 1340, | 1157 URLMethodRevokeObjectURLServiceWorker = 1340, |
| 1158 DocumentCreateEventPaymentRequestUpdateEvent = 1341, | 1158 DocumentCreateEventPaymentRequestUpdateEvent = 1341, |
| 1159 CredentialManagerGetReturnedCredential = 1342, | 1159 CredentialManagerGetReturnedCredential = 1342, |
| 1160 GeolocationInsecureOriginDeprecatedNotRemoved = 1343, | 1160 GeolocationInsecureOriginDeprecatedNotRemoved = 1343, |
| 1161 GeolocationInsecureOriginIframeDeprecatedNotRemoved = 1344, | 1161 GeolocationInsecureOriginIframeDeprecatedNotRemoved = 1344, |
| 1162 ProgressElementWithNoneAppearance = 1345, | 1162 ProgressElementWithNoneAppearance = 1345, |
| 1163 ProgressElementWithProgressBarAppearance = 1346, | 1163 ProgressElementWithProgressBarAppearance = 1346, |
| 1164 PointerEventAddListenerCount = 1347, | 1164 PointerEventAddListenerCount = 1347, |
| 1165 AudioContextCreatePannerAutomated = 1348, |
| 1166 PannerNodeSetPosition = 1349, |
| 1167 PannerNodeSetOrientation = 1350, |
| 1168 AudioListenerSetPosition = 1351, |
| 1169 AudioListenerSetOrientation = 1352, |
| 1165 | 1170 |
| 1166 // Add new features immediately above this line. Don't change assigned | 1171 // Add new features immediately above this line. Don't change assigned |
| 1167 // numbers of any item, and don't reuse removed slots. | 1172 // numbers of any item, and don't reuse removed slots. |
| 1168 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1173 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1169 // to update the UMA mapping. | 1174 // to update the UMA mapping. |
| 1170 NumberOfFeatures, // This enum value must be last. | 1175 NumberOfFeatures, // This enum value must be last. |
| 1171 }; | 1176 }; |
| 1172 | 1177 |
| 1173 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1178 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1174 static void count(const Frame*, Feature); | 1179 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1249 friend class UseCounterTest; | 1254 friend class UseCounterTest; |
| 1250 static int m_muteCount; | 1255 static int m_muteCount; |
| 1251 | 1256 |
| 1252 CountBits m_countBits; | 1257 CountBits m_countBits; |
| 1253 BitVector m_CSSFeatureBits; | 1258 BitVector m_CSSFeatureBits; |
| 1254 }; | 1259 }; |
| 1255 | 1260 |
| 1256 } // namespace blink | 1261 } // namespace blink |
| 1257 | 1262 |
| 1258 #endif // UseCounter_h | 1263 #endif // UseCounter_h |
| OLD | NEW |