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 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1382 OffscreenCanvasCommitWebGL = 1661, | 1382 OffscreenCanvasCommitWebGL = 1661, |
1383 RTCConfigurationIceTransportPolicy = 1662, | 1383 RTCConfigurationIceTransportPolicy = 1662, |
1384 RTCConfigurationIceTransportPolicyNone = 1663, | 1384 RTCConfigurationIceTransportPolicyNone = 1663, |
1385 RTCConfigurationIceTransports = 1664, | 1385 RTCConfigurationIceTransports = 1664, |
1386 DocumentFullscreenElementInV0Shadow = 1665, | 1386 DocumentFullscreenElementInV0Shadow = 1665, |
1387 ScriptWithCSPBypassingSchemeParserInserted = 1666, | 1387 ScriptWithCSPBypassingSchemeParserInserted = 1666, |
1388 ScriptWithCSPBypassingSchemeNotParserInserted = 1667, | 1388 ScriptWithCSPBypassingSchemeNotParserInserted = 1667, |
1389 DocumentCreateElement2ndArgStringHandling = 1668, | 1389 DocumentCreateElement2ndArgStringHandling = 1668, |
1390 V8MediaRecorder_Start_Method = 1669, | 1390 V8MediaRecorder_Start_Method = 1669, |
1391 WebBluetoothRequestDevice = 1670, | 1391 WebBluetoothRequestDevice = 1670, |
| 1392 TouchEventPreventedNoTouchAction = 1671, |
| 1393 TouchEventPreventedForcedDocumentPassiveNoTouchAction = 1672, |
1392 | 1394 |
1393 // Add new features immediately above this line. Don't change assigned | 1395 // Add new features immediately above this line. Don't change assigned |
1394 // numbers of any item, and don't reuse removed slots. | 1396 // numbers of any item, and don't reuse removed slots. |
1395 // Also, run update_use_counter_feature_enum.py in | 1397 // Also, run update_use_counter_feature_enum.py in |
1396 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1398 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1397 NumberOfFeatures, // This enum value must be last. | 1399 NumberOfFeatures, // This enum value must be last. |
1398 }; | 1400 }; |
1399 | 1401 |
1400 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1402 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1401 static void count(const Frame*, Feature); | 1403 static void count(const Frame*, Feature); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1470 // Tracks what features/properties need to be reported to the legacy | 1472 // Tracks what features/properties need to be reported to the legacy |
1471 // histograms. | 1473 // histograms. |
1472 BitVector m_featureBits; | 1474 BitVector m_featureBits; |
1473 BitVector m_CSSBits; | 1475 BitVector m_CSSBits; |
1474 } m_legacyCounter; | 1476 } m_legacyCounter; |
1475 }; | 1477 }; |
1476 | 1478 |
1477 } // namespace blink | 1479 } // namespace blink |
1478 | 1480 |
1479 #endif // UseCounter_h | 1481 #endif // UseCounter_h |
OLD | NEW |