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 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 WebAudioIIRFilterNode = 1571, | 1312 WebAudioIIRFilterNode = 1571, |
1313 WebAudioMediaElementAudioSourceNode = 1572, | 1313 WebAudioMediaElementAudioSourceNode = 1572, |
1314 WebAudioOscillatorNode = 1573, | 1314 WebAudioOscillatorNode = 1573, |
1315 WebAudioPannerNode = 1574, | 1315 WebAudioPannerNode = 1574, |
1316 WebAudioPeriodicWave = 1575, | 1316 WebAudioPeriodicWave = 1575, |
1317 WebAudioStereoPannerNode = 1576, | 1317 WebAudioStereoPannerNode = 1576, |
1318 WebAudioWaveShaperNode = 1577, | 1318 WebAudioWaveShaperNode = 1577, |
1319 CSSZoomReset = 1578, | 1319 CSSZoomReset = 1578, |
1320 CSSZoomDocument = 1579, | 1320 CSSZoomDocument = 1579, |
1321 PaymentAddressCareOf = 1580, | 1321 PaymentAddressCareOf = 1580, |
| 1322 VRGetDisplaysInsecureOrigin = 1581, |
| 1323 VRRequestPresent = 1582, |
| 1324 VRRequestPresentInsecureOrigin = 1583, |
| 1325 VRDeprecatedFieldOfView = 1584, |
1322 // Add new features immediately above this line. Don't change assigned | 1326 // Add new features immediately above this line. Don't change assigned |
1323 // numbers of any item, and don't reuse removed slots. | 1327 // numbers of any item, and don't reuse removed slots. |
1324 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1328 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1325 // to update the UMA mapping. | 1329 // to update the UMA mapping. |
1326 NumberOfFeatures, // This enum value must be last. | 1330 NumberOfFeatures, // This enum value must be last. |
1327 }; | 1331 }; |
1328 | 1332 |
1329 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1333 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1330 static void count(const Frame*, Feature); | 1334 static void count(const Frame*, Feature); |
1331 static void count(const Document&, Feature); | 1335 static void count(const Document&, Feature); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1393 private: | 1397 private: |
1394 // Tracks what features/properties need to be reported to the legacy his
tograms. | 1398 // Tracks what features/properties need to be reported to the legacy his
tograms. |
1395 BitVector m_featureBits; | 1399 BitVector m_featureBits; |
1396 BitVector m_CSSBits; | 1400 BitVector m_CSSBits; |
1397 } m_legacyCounter; | 1401 } m_legacyCounter; |
1398 }; | 1402 }; |
1399 | 1403 |
1400 } // namespace blink | 1404 } // namespace blink |
1401 | 1405 |
1402 #endif // UseCounter_h | 1406 #endif // UseCounter_h |
OLD | NEW |