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