Chromium Code Reviews| 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 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 873 V8SVGGraphicsElement_Transform_AttributeGetter = 1103, | 873 V8SVGGraphicsElement_Transform_AttributeGetter = 1103, |
| 874 MenuItemElement = 1104, | 874 MenuItemElement = 1104, |
| 875 MenuItemCloseTag = 1105, | 875 MenuItemCloseTag = 1105, |
| 876 SVG1DOMMarkerElement = 1106, | 876 SVG1DOMMarkerElement = 1106, |
| 877 SVG1DOMUseElement = 1107, | 877 SVG1DOMUseElement = 1107, |
| 878 SVG1DOMMaskElement = 1108, | 878 SVG1DOMMaskElement = 1108, |
| 879 V8SVGAElement_Target_AttributeGetter = 1109, | 879 V8SVGAElement_Target_AttributeGetter = 1109, |
| 880 V8SVGClipPathElement_ClipPathUnits_AttributeGetter = 1110, | 880 V8SVGClipPathElement_ClipPathUnits_AttributeGetter = 1110, |
| 881 SVG1DOMFitToViewBox = 1111, | 881 SVG1DOMFitToViewBox = 1111, |
| 882 SVG1DOMCursorElement = 1112, | 882 SVG1DOMCursorElement = 1112, |
| 883 V8SVGPathElement_PathLength_AttributeGetter = 1113, | |
| 884 SVG1DOMSVGElement = 1114, | 883 SVG1DOMSVGElement = 1114, |
| 885 SVG1DOMImageElement = 1115, | 884 SVG1DOMImageElement = 1115, |
| 886 SVG1DOMForeignObjectElement = 1116, | 885 SVG1DOMForeignObjectElement = 1116, |
| 887 AudioContextCreateIIRFilter = 1117, | 886 AudioContextCreateIIRFilter = 1117, |
| 888 // The above items are available in M49 branch | 887 // The above items are available in M49 branch |
| 889 | 888 |
| 890 CSSSelectorPseudoSlotted = 1118, | 889 CSSSelectorPseudoSlotted = 1118, |
| 891 MediaDevicesEnumerateDevices = 1119, | 890 MediaDevicesEnumerateDevices = 1119, |
| 892 NonSecureSharedWorkerAccessedFromSecureContext = 1120, | 891 NonSecureSharedWorkerAccessedFromSecureContext = 1120, |
| 893 SecureSharedWorkerAccessedFromNonSecureContext = 1121, | 892 SecureSharedWorkerAccessedFromNonSecureContext = 1121, |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1385 TouchEventPreventedNoTouchAction = 1682, | 1384 TouchEventPreventedNoTouchAction = 1682, |
| 1386 TouchEventPreventedForcedDocumentPassiveNoTouchAction = 1683, | 1385 TouchEventPreventedForcedDocumentPassiveNoTouchAction = 1683, |
| 1387 V8Event_StopPropagation_Method = 1684, | 1386 V8Event_StopPropagation_Method = 1684, |
| 1388 V8Event_StopImmediatePropagation_Method = 1685, | 1387 V8Event_StopImmediatePropagation_Method = 1685, |
| 1389 ImageCaptureConstructor = 1686, | 1388 ImageCaptureConstructor = 1686, |
| 1390 V8Document_RootScroller_AttributeGetter = 1687, | 1389 V8Document_RootScroller_AttributeGetter = 1687, |
| 1391 V8Document_RootScroller_AttributeSetter = 1688, | 1390 V8Document_RootScroller_AttributeSetter = 1688, |
| 1392 CustomElementRegistryDefine = 1689, | 1391 CustomElementRegistryDefine = 1689, |
| 1393 LinkHeaderServiceWorker = 1690, | 1392 LinkHeaderServiceWorker = 1690, |
| 1394 CSSShadowPiercingDescendantCombinator = 1691, | 1393 CSSShadowPiercingDescendantCombinator = 1691, |
| 1394 V8SVGGeometryElement_PathLength_AttributeGetter = 1692, | |
|
foolip
2016/11/24 09:56:09
Continuing to measure this won't be useful, I thin
Shanmuga Pandi
2016/11/28 10:14:47
Done.
| |
| 1395 | 1395 |
| 1396 // Add new features immediately above this line. Don't change assigned | 1396 // Add new features immediately above this line. Don't change assigned |
| 1397 // numbers of any item, and don't reuse removed slots. | 1397 // numbers of any item, and don't reuse removed slots. |
| 1398 // Also, run update_use_counter_feature_enum.py in | 1398 // Also, run update_use_counter_feature_enum.py in |
| 1399 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1399 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1400 NumberOfFeatures, // This enum value must be last. | 1400 NumberOfFeatures, // This enum value must be last. |
| 1401 }; | 1401 }; |
| 1402 | 1402 |
| 1403 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1403 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1404 static void count(const Frame*, Feature); | 1404 static void count(const Frame*, Feature); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1473 // Tracks what features/properties need to be reported to the legacy | 1473 // Tracks what features/properties need to be reported to the legacy |
| 1474 // histograms. | 1474 // histograms. |
| 1475 BitVector m_featureBits; | 1475 BitVector m_featureBits; |
| 1476 BitVector m_CSSBits; | 1476 BitVector m_CSSBits; |
| 1477 } m_legacyCounter; | 1477 } m_legacyCounter; |
| 1478 }; | 1478 }; |
| 1479 | 1479 |
| 1480 } // namespace blink | 1480 } // namespace blink |
| 1481 | 1481 |
| 1482 #endif // UseCounter_h | 1482 #endif // UseCounter_h |
| OLD | NEW |