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 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1349 GamepadDisplayId = 1627, | 1349 GamepadDisplayId = 1627, |
1350 GamepadButtonTouched = 1628, | 1350 GamepadButtonTouched = 1628, |
1351 GamepadPoseHasOrientation = 1629, | 1351 GamepadPoseHasOrientation = 1629, |
1352 GamepadPoseHasPosition = 1630, | 1352 GamepadPoseHasPosition = 1630, |
1353 GamepadPosePosition = 1631, | 1353 GamepadPosePosition = 1631, |
1354 GamepadPoseLinearVelocity = 1632, | 1354 GamepadPoseLinearVelocity = 1632, |
1355 GamepadPoseLinearAcceleration = 1633, | 1355 GamepadPoseLinearAcceleration = 1633, |
1356 GamepadPoseOrientation = 1634, | 1356 GamepadPoseOrientation = 1634, |
1357 GamepadPoseAngularVelocity = 1635, | 1357 GamepadPoseAngularVelocity = 1635, |
1358 GamepadPoseAngularAcceleration = 1636, | 1358 GamepadPoseAngularAcceleration = 1636, |
| 1359 OffscreenCanvasTransferToImageBitmap = 1637, |
| 1360 OffscreenCanvasCommit = 1638, |
1359 | 1361 |
1360 // Add new features immediately above this line. Don't change assigned | 1362 // Add new features immediately above this line. Don't change assigned |
1361 // numbers of any item, and don't reuse removed slots. | 1363 // numbers of any item, and don't reuse removed slots. |
1362 // Also, run update_use_counter_feature_enum.py in | 1364 // Also, run update_use_counter_feature_enum.py in |
1363 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1365 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1364 NumberOfFeatures, // This enum value must be last. | 1366 NumberOfFeatures, // This enum value must be last. |
1365 }; | 1367 }; |
1366 | 1368 |
1367 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1369 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1368 static void count(const Frame*, Feature); | 1370 static void count(const Frame*, Feature); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1437 // Tracks what features/properties need to be reported to the legacy | 1439 // Tracks what features/properties need to be reported to the legacy |
1438 // histograms. | 1440 // histograms. |
1439 BitVector m_featureBits; | 1441 BitVector m_featureBits; |
1440 BitVector m_CSSBits; | 1442 BitVector m_CSSBits; |
1441 } m_legacyCounter; | 1443 } m_legacyCounter; |
1442 }; | 1444 }; |
1443 | 1445 |
1444 } // namespace blink | 1446 } // namespace blink |
1445 | 1447 |
1446 #endif // UseCounter_h | 1448 #endif // UseCounter_h |
OLD | NEW |