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 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 V8HTMLMediaElement_SrcObject_AttributeSetter = 1603, | 1327 V8HTMLMediaElement_SrcObject_AttributeSetter = 1603, |
1328 CreateObjectURLBlob = 1604, | 1328 CreateObjectURLBlob = 1604, |
1329 CreateObjectURLMediaSource = 1605, | 1329 CreateObjectURLMediaSource = 1605, |
1330 CreateObjectURLMediaStream = 1606, | 1330 CreateObjectURLMediaStream = 1606, |
1331 DocumentCreateTouchWindowNull = 1607, | 1331 DocumentCreateTouchWindowNull = 1607, |
1332 DocumentCreateTouchWindowWrongType = 1608, | 1332 DocumentCreateTouchWindowWrongType = 1608, |
1333 DocumentCreateTouchTargetNull = 1609, | 1333 DocumentCreateTouchTargetNull = 1609, |
1334 DocumentCreateTouchTargetWrongType = 1610, | 1334 DocumentCreateTouchTargetWrongType = 1610, |
1335 DocumentCreateTouchLessThanSevenArguments = 1611, | 1335 DocumentCreateTouchLessThanSevenArguments = 1611, |
1336 DocumentCreateTouchMoreThanSevenArguments = 1612, | 1336 DocumentCreateTouchMoreThanSevenArguments = 1612, |
| 1337 AudioContextCreateConstantSource = 1613, |
| 1338 WebAudioConstantSourceNode = 1614, |
1337 | 1339 |
1338 // Add new features immediately above this line. Don't change assigned | 1340 // Add new features immediately above this line. Don't change assigned |
1339 // numbers of any item, and don't reuse removed slots. | 1341 // numbers of any item, and don't reuse removed slots. |
1340 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1342 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1341 // to update the UMA mapping. | 1343 // to update the UMA mapping. |
1342 NumberOfFeatures, // This enum value must be last. | 1344 NumberOfFeatures, // This enum value must be last. |
1343 }; | 1345 }; |
1344 | 1346 |
1345 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1347 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1346 static void count(const Frame*, Feature); | 1348 static void count(const Frame*, Feature); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 private: | 1411 private: |
1410 // Tracks what features/properties need to be reported to the legacy his
tograms. | 1412 // Tracks what features/properties need to be reported to the legacy his
tograms. |
1411 BitVector m_featureBits; | 1413 BitVector m_featureBits; |
1412 BitVector m_CSSBits; | 1414 BitVector m_CSSBits; |
1413 } m_legacyCounter; | 1415 } m_legacyCounter; |
1414 }; | 1416 }; |
1415 | 1417 |
1416 } // namespace blink | 1418 } // namespace blink |
1417 | 1419 |
1418 #endif // UseCounter_h | 1420 #endif // UseCounter_h |
OLD | NEW |