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 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 DocumentCreateTouchWindowWrongType = 1608, | 1333 DocumentCreateTouchWindowWrongType = 1608, |
1334 DocumentCreateTouchTargetNull = 1609, | 1334 DocumentCreateTouchTargetNull = 1609, |
1335 DocumentCreateTouchTargetWrongType = 1610, | 1335 DocumentCreateTouchTargetWrongType = 1610, |
1336 DocumentCreateTouchLessThanSevenArguments = 1611, | 1336 DocumentCreateTouchLessThanSevenArguments = 1611, |
1337 DocumentCreateTouchMoreThanSevenArguments = 1612, | 1337 DocumentCreateTouchMoreThanSevenArguments = 1612, |
1338 EncryptedMediaCapabilityProvided = 1613, | 1338 EncryptedMediaCapabilityProvided = 1613, |
1339 EncryptedMediaCapabilityNotProvided = 1614, | 1339 EncryptedMediaCapabilityNotProvided = 1614, |
1340 LongTaskObserver = 1615, | 1340 LongTaskObserver = 1615, |
1341 CSSMotionInEffect = 1616, | 1341 CSSMotionInEffect = 1616, |
1342 CSSOffsetInEffect = 1617, | 1342 CSSOffsetInEffect = 1617, |
1343 | 1343 VRGetDisplaysInsecureOrigin = 1618, |
| 1344 VRRequestPresent = 1619, |
| 1345 VRRequestPresentInsecureOrigin = 1620, |
| 1346 VRDeprecatedFieldOfView = 1621, |
1344 // Add new features immediately above this line. Don't change assigned | 1347 // Add new features immediately above this line. Don't change assigned |
1345 // numbers of any item, and don't reuse removed slots. | 1348 // numbers of any item, and don't reuse removed slots. |
1346 // Also, run update_use_counter_feature_enum.py in | 1349 // Also, run update_use_counter_feature_enum.py in |
1347 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1350 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1348 NumberOfFeatures, // This enum value must be last. | 1351 NumberOfFeatures, // This enum value must be last. |
1349 }; | 1352 }; |
1350 | 1353 |
1351 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1354 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1352 static void count(const Frame*, Feature); | 1355 static void count(const Frame*, Feature); |
1353 static void count(const Document&, Feature); | 1356 static void count(const Document&, Feature); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1421 // Tracks what features/properties need to be reported to the legacy | 1424 // Tracks what features/properties need to be reported to the legacy |
1422 // histograms. | 1425 // histograms. |
1423 BitVector m_featureBits; | 1426 BitVector m_featureBits; |
1424 BitVector m_CSSBits; | 1427 BitVector m_CSSBits; |
1425 } m_legacyCounter; | 1428 } m_legacyCounter; |
1426 }; | 1429 }; |
1427 | 1430 |
1428 } // namespace blink | 1431 } // namespace blink |
1429 | 1432 |
1430 #endif // UseCounter_h | 1433 #endif // UseCounter_h |
OLD | NEW |