| 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 1441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1452 ServiceWorkerNavigationPreload = 1803, | 1452 ServiceWorkerNavigationPreload = 1803, |
| 1453 FullscreenRequestWithPendingElement = 1804, | 1453 FullscreenRequestWithPendingElement = 1804, |
| 1454 HTMLIFrameElementAllowfullscreenAttributeSetAfterContentLoad = 1805, | 1454 HTMLIFrameElementAllowfullscreenAttributeSetAfterContentLoad = 1805, |
| 1455 PointerEventSetCaptureOutsideDispatch = 1806, | 1455 PointerEventSetCaptureOutsideDispatch = 1806, |
| 1456 NotificationPermissionRequestedInsecureOrigin = 1807, | 1456 NotificationPermissionRequestedInsecureOrigin = 1807, |
| 1457 V8DeprecatedStorageInfo_QueryUsageAndQuota_Method = 1808, | 1457 V8DeprecatedStorageInfo_QueryUsageAndQuota_Method = 1808, |
| 1458 V8DeprecatedStorageInfo_RequestQuota_Method = 1809, | 1458 V8DeprecatedStorageInfo_RequestQuota_Method = 1809, |
| 1459 V8DeprecatedStorageQuota_QueryUsageAndQuota_Method = 1810, | 1459 V8DeprecatedStorageQuota_QueryUsageAndQuota_Method = 1810, |
| 1460 V8DeprecatedStorageQuota_RequestQuota_Method = 1811, | 1460 V8DeprecatedStorageQuota_RequestQuota_Method = 1811, |
| 1461 V8FileReaderSync_Constructor = 1812, | 1461 V8FileReaderSync_Constructor = 1812, |
| 1462 UncancellableTouchEventPreventDefaulted = 1813, |
| 1463 UncancellableTouchEventDueToMainThreadResponsivenessPreventDefaulted = 1814, |
| 1462 | 1464 |
| 1463 // Add new features immediately above this line. Don't change assigned | 1465 // Add new features immediately above this line. Don't change assigned |
| 1464 // numbers of any item, and don't reuse removed slots. | 1466 // numbers of any item, and don't reuse removed slots. |
| 1465 // Also, run update_use_counter_feature_enum.py in | 1467 // Also, run update_use_counter_feature_enum.py in |
| 1466 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1468 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1467 NumberOfFeatures, // This enum value must be last. | 1469 NumberOfFeatures, // This enum value must be last. |
| 1468 }; | 1470 }; |
| 1469 | 1471 |
| 1470 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1472 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1471 static void count(const Frame*, Feature); | 1473 static void count(const Frame*, Feature); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1536 // Tracks what features/properties need to be reported to the legacy | 1538 // Tracks what features/properties need to be reported to the legacy |
| 1537 // histograms. | 1539 // histograms. |
| 1538 BitVector m_featureBits; | 1540 BitVector m_featureBits; |
| 1539 BitVector m_CSSBits; | 1541 BitVector m_CSSBits; |
| 1540 } m_legacyCounter; | 1542 } m_legacyCounter; |
| 1541 }; | 1543 }; |
| 1542 | 1544 |
| 1543 } // namespace blink | 1545 } // namespace blink |
| 1544 | 1546 |
| 1545 #endif // UseCounter_h | 1547 #endif // UseCounter_h |
| OLD | NEW |