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 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1251 V8BroadcastChannel_Close_Method = 1449, | 1251 V8BroadcastChannel_Close_Method = 1449, |
1252 | 1252 |
1253 TouchStartFired = 1450, | 1253 TouchStartFired = 1450, |
1254 MouseDownFired = 1451, | 1254 MouseDownFired = 1451, |
1255 PointerDownFired= 1452, | 1255 PointerDownFired= 1452, |
1256 PointerDownFiredForTouch = 1453, | 1256 PointerDownFiredForTouch = 1453, |
1257 PointerEventDispatchPointerDown = 1454, | 1257 PointerEventDispatchPointerDown = 1454, |
1258 SVGSMILBeginOrEndEventValue = 1455, | 1258 SVGSMILBeginOrEndEventValue = 1455, |
1259 SVGSMILBeginOrEndSyncbaseValue = 1456, | 1259 SVGSMILBeginOrEndSyncbaseValue = 1456, |
1260 SVGSMILElementInsertedAfterLoad = 1457, | 1260 SVGSMILElementInsertedAfterLoad = 1457, |
1261 | 1261 |
Mike West
2016/07/28 13:41:43
Nit: No extra whitespace. Also, you'll need to reb
| |
1262 SingleOriginInTimingAllowOrigin = 1458, | |
1263 MultipleOriginsInTimingAllowOrigin = 1459, | |
1264 StarInTimingAllowOrigin = 1460, | |
1265 | |
1262 // Add new features immediately above this line. Don't change assigned | 1266 // Add new features immediately above this line. Don't change assigned |
1263 // numbers of any item, and don't reuse removed slots. | 1267 // numbers of any item, and don't reuse removed slots. |
1264 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ | 1268 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ |
1265 // to update the UMA mapping. | 1269 // to update the UMA mapping. |
1266 NumberOfFeatures, // This enum value must be last. | 1270 NumberOfFeatures, // This enum value must be last. |
1267 }; | 1271 }; |
1268 | 1272 |
1269 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1273 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1270 static void count(const Frame*, Feature); | 1274 static void count(const Frame*, Feature); |
1271 static void count(const Document&, Feature); | 1275 static void count(const Document&, Feature); |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1345 friend class UseCounterTest; | 1349 friend class UseCounterTest; |
1346 static int m_muteCount; | 1350 static int m_muteCount; |
1347 | 1351 |
1348 CountBits m_countBits; | 1352 CountBits m_countBits; |
1349 BitVector m_CSSFeatureBits; | 1353 BitVector m_CSSFeatureBits; |
1350 }; | 1354 }; |
1351 | 1355 |
1352 } // namespace blink | 1356 } // namespace blink |
1353 | 1357 |
1354 #endif // UseCounter_h | 1358 #endif // UseCounter_h |
OLD | NEW |