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 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1288 MetaSetCookie = 1547, | 1288 MetaSetCookie = 1547, |
1289 MetaRefresh = 1548, | 1289 MetaRefresh = 1548, |
1290 MetaSetCookieWhenCSPBlocksInlineScript = 1549, | 1290 MetaSetCookieWhenCSPBlocksInlineScript = 1549, |
1291 MetaRefreshWhenCSPBlocksInlineScript = 1550, | 1291 MetaRefreshWhenCSPBlocksInlineScript = 1550, |
1292 MiddleClickAutoscrollStart = 1551, | 1292 MiddleClickAutoscrollStart = 1551, |
1293 ClipCssOfFixedPositionElement = 1552, | 1293 ClipCssOfFixedPositionElement = 1552, |
1294 RTCPeerConnectionCreateOfferOptionsOfferToReceive = 1553, | 1294 RTCPeerConnectionCreateOfferOptionsOfferToReceive = 1553, |
1295 DragAndDropScrollStart = 1554, | 1295 DragAndDropScrollStart = 1554, |
1296 PresentationConnectionListConnectionAvailableEventListener = 1555, | 1296 PresentationConnectionListConnectionAvailableEventListener = 1555, |
1297 WebAudioAutoplayCrossOriginIframe = 1556, | 1297 WebAudioAutoplayCrossOriginIframe = 1556, |
| 1298 AnalyserNode = 1557, |
| 1299 AudioBuffer = 1558, |
| 1300 AudioBufferSourceNode = 1559, |
| 1301 BiquadFilterNode = 1560, |
| 1302 ChannelMergerNode = 1561, |
| 1303 ChannelSplitterNode = 1562, |
| 1304 ConvolverNode = 1563, |
| 1305 DelayNode = 1564, |
| 1306 DynamicsCompressorNode = 1565, |
| 1307 GainNode = 1566, |
| 1308 IIRFilterNode = 1567, |
| 1309 MediaElementAudioSourceNode = 1568, |
| 1310 OscillatorNode = 1569, |
| 1311 PannerNode = 1570, |
| 1312 PeriodicWave = 1571, |
| 1313 StereoPannerNode = 1572, |
| 1314 WaveShaperNode = 1573, |
| 1315 |
1298 // Add new features immediately above this line. Don't change assigned | 1316 // Add new features immediately above this line. Don't change assigned |
1299 // numbers of any item, and don't reuse removed slots. | 1317 // numbers of any item, and don't reuse removed slots. |
1300 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1318 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1301 // to update the UMA mapping. | 1319 // to update the UMA mapping. |
1302 NumberOfFeatures, // This enum value must be last. | 1320 NumberOfFeatures, // This enum value must be last. |
1303 }; | 1321 }; |
1304 | 1322 |
1305 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1323 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1306 static void count(const Frame*, Feature); | 1324 static void count(const Frame*, Feature); |
1307 static void count(const Document&, Feature); | 1325 static void count(const Document&, Feature); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1369 private: | 1387 private: |
1370 // Tracks what features/properties need to be reported to the legacy his
tograms. | 1388 // Tracks what features/properties need to be reported to the legacy his
tograms. |
1371 BitVector m_featureBits; | 1389 BitVector m_featureBits; |
1372 BitVector m_CSSBits; | 1390 BitVector m_CSSBits; |
1373 } m_legacyCounter; | 1391 } m_legacyCounter; |
1374 }; | 1392 }; |
1375 | 1393 |
1376 } // namespace blink | 1394 } // namespace blink |
1377 | 1395 |
1378 #endif // UseCounter_h | 1396 #endif // UseCounter_h |
OLD | NEW |