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 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1388 V8IIRFilterNode_Constructor = 1715, | 1388 V8IIRFilterNode_Constructor = 1715, |
1389 V8MediaElementAudioSourceNode_Constructor = 1716, | 1389 V8MediaElementAudioSourceNode_Constructor = 1716, |
1390 V8MediaStreamAudioSourceNode_Constructor = 1717, | 1390 V8MediaStreamAudioSourceNode_Constructor = 1717, |
1391 V8OfflineAudioCompletionEvent_Constructor = 1718, | 1391 V8OfflineAudioCompletionEvent_Constructor = 1718, |
1392 V8OscillatorNode_Constructor = 1719, | 1392 V8OscillatorNode_Constructor = 1719, |
1393 V8PannerNode_Constructor = 1720, | 1393 V8PannerNode_Constructor = 1720, |
1394 V8PeriodicWave_Constructor = 1721, | 1394 V8PeriodicWave_Constructor = 1721, |
1395 V8StereoPannerNode_Constructor = 1722, | 1395 V8StereoPannerNode_Constructor = 1722, |
1396 V8WaveShaperNode_Constructor = 1723, | 1396 V8WaveShaperNode_Constructor = 1723, |
1397 V8Headers_GetAll_Method = 1724, | 1397 V8Headers_GetAll_Method = 1724, |
| 1398 NavigatorVibrateEngagementNone = 1725, |
| 1399 NavigatorVibrateEngagementMinimal = 1726, |
| 1400 NavigatorVibrateEngagementLow = 1727, |
| 1401 NavigatorVibrateEngagementMedium = 1728, |
| 1402 NavigatorVibrateEngagementHigh = 1729, |
| 1403 NavigatorVibrateEngagementMax = 1730, |
1398 | 1404 |
1399 // Add new features immediately above this line. Don't change assigned | 1405 // Add new features immediately above this line. Don't change assigned |
1400 // numbers of any item, and don't reuse removed slots. | 1406 // numbers of any item, and don't reuse removed slots. |
1401 // Also, run update_use_counter_feature_enum.py in | 1407 // Also, run update_use_counter_feature_enum.py in |
1402 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1408 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1403 NumberOfFeatures, // This enum value must be last. | 1409 NumberOfFeatures, // This enum value must be last. |
1404 }; | 1410 }; |
1405 | 1411 |
1406 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1412 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1407 static void count(const Frame*, Feature); | 1413 static void count(const Frame*, Feature); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1476 // Tracks what features/properties need to be reported to the legacy | 1482 // Tracks what features/properties need to be reported to the legacy |
1477 // histograms. | 1483 // histograms. |
1478 BitVector m_featureBits; | 1484 BitVector m_featureBits; |
1479 BitVector m_CSSBits; | 1485 BitVector m_CSSBits; |
1480 } m_legacyCounter; | 1486 } m_legacyCounter; |
1481 }; | 1487 }; |
1482 | 1488 |
1483 } // namespace blink | 1489 } // namespace blink |
1484 | 1490 |
1485 #endif // UseCounter_h | 1491 #endif // UseCounter_h |
OLD | NEW |