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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 OpenSearchSecureOriginInsecureTarget = 1407, | 1214 OpenSearchSecureOriginInsecureTarget = 1407, |
1215 OpenSearchSecureOriginSecureTarget = 1408, | 1215 OpenSearchSecureOriginSecureTarget = 1408, |
1216 RegisterProtocolHandlerSecureOrigin = 1409, | 1216 RegisterProtocolHandlerSecureOrigin = 1409, |
1217 RegisterProtocolHandlerInsecureOrigin = 1410, | 1217 RegisterProtocolHandlerInsecureOrigin = 1410, |
1218 CrossOriginWindowAlert = 1411, | 1218 CrossOriginWindowAlert = 1411, |
1219 CrossOriginWindowConfirm = 1412, | 1219 CrossOriginWindowConfirm = 1412, |
1220 CrossOriginWindowPrompt = 1413, | 1220 CrossOriginWindowPrompt = 1413, |
1221 CrossOriginWindowPrint = 1414, | 1221 CrossOriginWindowPrint = 1414, |
1222 MediaStreamOnActive = 1415, | 1222 MediaStreamOnActive = 1415, |
1223 MediaStreamOnInactive = 1416, | 1223 MediaStreamOnInactive = 1416, |
| 1224 AddEventListenerPassiveTrue = 1417, |
| 1225 AddEventListenerPassiveFalse = 1418, |
1224 | 1226 |
1225 // Add new features immediately above this line. Don't change assigned | 1227 // Add new features immediately above this line. Don't change assigned |
1226 // numbers of any item, and don't reuse removed slots. | 1228 // numbers of any item, and don't reuse removed slots. |
1227 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1229 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1228 // to update the UMA mapping. | 1230 // to update the UMA mapping. |
1229 NumberOfFeatures, // This enum value must be last. | 1231 NumberOfFeatures, // This enum value must be last. |
1230 }; | 1232 }; |
1231 | 1233 |
1232 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1234 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1233 static void count(const Frame*, Feature); | 1235 static void count(const Frame*, Feature); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 friend class UseCounterTest; | 1310 friend class UseCounterTest; |
1309 static int m_muteCount; | 1311 static int m_muteCount; |
1310 | 1312 |
1311 CountBits m_countBits; | 1313 CountBits m_countBits; |
1312 BitVector m_CSSFeatureBits; | 1314 BitVector m_CSSFeatureBits; |
1313 }; | 1315 }; |
1314 | 1316 |
1315 } // namespace blink | 1317 } // namespace blink |
1316 | 1318 |
1317 #endif // UseCounter_h | 1319 #endif // UseCounter_h |
OLD | NEW |