Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2803913007: Add use-counters for use of CSS parsing in WebkitCSSMatrix. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 PointerEventClickRetargetCausedByCapture = 1857, 1487 PointerEventClickRetargetCausedByCapture = 1857,
1488 VRDisplayIsConnected = 1858, 1488 VRDisplayIsConnected = 1858,
1489 VRDisplayResetPose = 1859, 1489 VRDisplayResetPose = 1859,
1490 VRDisplayCapabilitiesHasOrientation = 1860, 1490 VRDisplayCapabilitiesHasOrientation = 1860,
1491 VRDisplayDisplayName = 1861, 1491 VRDisplayDisplayName = 1861,
1492 VREyeParametersOffset = 1862, 1492 VREyeParametersOffset = 1862,
1493 VRPoseLinearVelocity = 1863, 1493 VRPoseLinearVelocity = 1863,
1494 VRPoseLinearAcceleration = 1864, 1494 VRPoseLinearAcceleration = 1864,
1495 VRPoseAngularVelocity = 1865, 1495 VRPoseAngularVelocity = 1865,
1496 VRPoseAngularAcceleration = 1866, 1496 VRPoseAngularAcceleration = 1866,
1497 CSSOverflowPaged = 1867,
1498 ChildSrcAllowedWorkerThatScriptSrcBlocked = 1868,
1499 HTMLTableElementPresentationAttributeBackground = 1869,
1500 V8Navigator_GetInstalledRelatedApps_Method = 1870,
1501 NamedAccessOnWindow_ChildBrowsingContext = 1871,
1502 NamedAccessOnWindow_ChildBrowsingContext_CrossOriginNameMismatch = 1872,
1503 V0CustomElementsRegisterHTMLCustomTag = 1873,
1504 V0CustomElementsRegisterHTMLTypeExtension = 1874,
1505 V0CustomElementsRegisterSVGElement = 1875,
1506 V0CustomElementsRegisterEmbedderElement = 1876,
1507 V0CustomElementsCreateCustomTagElement = 1877,
1508 V0CustomElementsCreateTypeExtensionElement = 1878,
1509 V0CustomElementsConstruct = 1879,
1510 V8IDBObserver_Observe_Method = 1880,
1511 V8IDBObserver_Unobserve_Method = 1881,
1512 WebBluetoothRemoteCharacteristicGetDescriptor = 1882,
1513 WebBluetoothRemoteCharacteristicGetDescriptors = 1883,
1514 WebBluetoothRemoteCharacteristicReadValue = 1884,
1515 WebBluetoothRemoteCharacteristicWriteValue = 1885,
1516 WebBluetoothRemoteCharacteristicStartNotifications = 1886,
1517 WebBluetoothRemoteCharacteristicStopNotifications = 1887,
1518 WebBluetoothRemoteDescriptorReadValue = 1888,
1519 WebBluetoothRemoteDescriptorWriteValue = 1889,
1520 WebBluetoothRemoteServerConnect = 1890,
1521 WebBluetoothRemoteServerDisconnect = 1891,
1522 WebBluetoothRemoteServerGetPrimaryService = 1892,
1523 WebBluetoothRemoteServerGetPrimaryServices = 1893,
1524 WebBluetoothRemoteServiceGetCharacteristic = 1894,
1525 WebBluetoothRemoteServiceGetCharacteristics = 1895,
1526 HTMLContentElement = 1896,
1527 HTMLShadowElement = 1897,
1528 HTMLSlotElement = 1898,
1529 AccelerometerConstructor = 1899,
1530 AbsoluteOrientationSensorConstructor = 1900,
1531 AmbientLightSensorConstructor = 1901,
1532 GenericSensorOnActivate = 1902,
1533 GenericSensorOnChange = 1903,
1534 GenericSensorOnError = 1904,
1535 GenericSensorActivated = 1905,
1536 GyroscopeConstructor = 1906,
1537 MagnetometerConstructor = 1907,
1538 OrientationSensorPopulateMatrix = 1908,
1539 WindowOpenWithInvalidURL = 1909,
1540 CrossOriginMainFrameNulledNameAccessed = 1910,
1541 MenuItemElementIconAttribute = 1911,
1542 WebkitCSSMatrixSetMatrixValue = 1912,
1543 WebkitCSSMatrixConstructFromString = 1913,
1497 1544
1498 // Add new features immediately above this line. Don't change assigned 1545 // Add new features immediately above this line. Don't change assigned
1499 // numbers of any item, and don't reuse removed slots. 1546 // numbers of any item, and don't reuse removed slots.
1500 // Also, run update_use_counter_feature_enum.py in 1547 // Also, run update_use_counter_feature_enum.py in
1501 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1548 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1502 NumberOfFeatures, // This enum value must be last. 1549 NumberOfFeatures, // This enum value must be last.
1503 }; 1550 };
1504 1551
1505 // An interface to observe UseCounter changes. Note that this is never 1552 // An interface to observe UseCounter changes. Note that this is never
1506 // notified when the counter is disabled by |m_muteCount| or 1553 // notified when the counter is disabled by |m_muteCount| or
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 // Tracks what features/properties need to be reported to the legacy 1643 // Tracks what features/properties need to be reported to the legacy
1597 // histograms. 1644 // histograms.
1598 BitVector m_featureBits; 1645 BitVector m_featureBits;
1599 BitVector m_CSSBits; 1646 BitVector m_CSSBits;
1600 } m_legacyCounter; 1647 } m_legacyCounter;
1601 }; 1648 };
1602 1649
1603 } // namespace blink 1650 } // namespace blink
1604 1651
1605 #endif // UseCounter_h 1652 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/WebKitCSSMatrix.idl ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698