| 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 DeprecatedBluetoothDeviceUUIDsAttribute = 1637, |
| 1359 | 1360 |
| 1360 // Add new features immediately above this line. Don't change assigned | 1361 // Add new features immediately above this line. Don't change assigned |
| 1361 // numbers of any item, and don't reuse removed slots. | 1362 // numbers of any item, and don't reuse removed slots. |
| 1362 // Also, run update_use_counter_feature_enum.py in | 1363 // Also, run update_use_counter_feature_enum.py in |
| 1363 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1364 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1364 NumberOfFeatures, // This enum value must be last. | 1365 NumberOfFeatures, // This enum value must be last. |
| 1365 }; | 1366 }; |
| 1366 | 1367 |
| 1367 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1368 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1368 static void count(const Frame*, Feature); | 1369 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 | 1438 // Tracks what features/properties need to be reported to the legacy |
| 1438 // histograms. | 1439 // histograms. |
| 1439 BitVector m_featureBits; | 1440 BitVector m_featureBits; |
| 1440 BitVector m_CSSBits; | 1441 BitVector m_CSSBits; |
| 1441 } m_legacyCounter; | 1442 } m_legacyCounter; |
| 1442 }; | 1443 }; |
| 1443 | 1444 |
| 1444 } // namespace blink | 1445 } // namespace blink |
| 1445 | 1446 |
| 1446 #endif // UseCounter_h | 1447 #endif // UseCounter_h |
| OLD | NEW |