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 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1509 WebBluetoothRemoteDescriptorWriteValue = 1889, | 1509 WebBluetoothRemoteDescriptorWriteValue = 1889, |
1510 WebBluetoothRemoteServerConnect = 1890, | 1510 WebBluetoothRemoteServerConnect = 1890, |
1511 WebBluetoothRemoteServerDisconnect = 1891, | 1511 WebBluetoothRemoteServerDisconnect = 1891, |
1512 WebBluetoothRemoteServerGetPrimaryService = 1892, | 1512 WebBluetoothRemoteServerGetPrimaryService = 1892, |
1513 WebBluetoothRemoteServerGetPrimaryServices = 1893, | 1513 WebBluetoothRemoteServerGetPrimaryServices = 1893, |
1514 WebBluetoothRemoteServiceGetCharacteristic = 1894, | 1514 WebBluetoothRemoteServiceGetCharacteristic = 1894, |
1515 WebBluetoothRemoteServiceGetCharacteristics = 1895, | 1515 WebBluetoothRemoteServiceGetCharacteristics = 1895, |
1516 HTMLContentElement = 1896, | 1516 HTMLContentElement = 1896, |
1517 HTMLShadowElement = 1897, | 1517 HTMLShadowElement = 1897, |
1518 HTMLSlotElement = 1898, | 1518 HTMLSlotElement = 1898, |
| 1519 AccelerometerConstructor = 1899, |
| 1520 AbsoluteOrientationSensorConstructor = 1900, |
| 1521 AmbientLightSensorConstructor = 1901, |
| 1522 GenericSensorOnActivate = 1902, |
| 1523 GenericSensorOnChange = 1903, |
| 1524 GenericSensorOnError = 1904, |
| 1525 GenericSensorState = 1905, |
| 1526 GyroscopeConstructor = 1906, |
| 1527 MagnetometerConstructor = 1907, |
| 1528 OrientationSensorPopulateMatrix = 1908, |
1519 | 1529 |
1520 // Add new features immediately above this line. Don't change assigned | 1530 // Add new features immediately above this line. Don't change assigned |
1521 // numbers of any item, and don't reuse removed slots. | 1531 // numbers of any item, and don't reuse removed slots. |
1522 // Also, run update_use_counter_feature_enum.py in | 1532 // Also, run update_use_counter_feature_enum.py in |
1523 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1533 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1524 NumberOfFeatures, // This enum value must be last. | 1534 NumberOfFeatures, // This enum value must be last. |
1525 }; | 1535 }; |
1526 | 1536 |
1527 // An interface to observe UseCounter changes. Note that this is never | 1537 // An interface to observe UseCounter changes. Note that this is never |
1528 // notified when the counter is disabled by |m_muteCount| or | 1538 // notified when the counter is disabled by |m_muteCount| or |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1628 // Tracks what features/properties need to be reported to the legacy | 1638 // Tracks what features/properties need to be reported to the legacy |
1629 // histograms. | 1639 // histograms. |
1630 BitVector m_featureBits; | 1640 BitVector m_featureBits; |
1631 BitVector m_CSSBits; | 1641 BitVector m_CSSBits; |
1632 } m_legacyCounter; | 1642 } m_legacyCounter; |
1633 }; | 1643 }; |
1634 | 1644 |
1635 } // namespace blink | 1645 } // namespace blink |
1636 | 1646 |
1637 #endif // UseCounter_h | 1647 #endif // UseCounter_h |
OLD | NEW |