| 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 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1384 GenericSensorStart = 1680, | 1384 GenericSensorStart = 1680, |
| 1385 GenericSensorStop = 1681, | 1385 GenericSensorStop = 1681, |
| 1386 TouchEventPreventedNoTouchAction = 1682, | 1386 TouchEventPreventedNoTouchAction = 1682, |
| 1387 TouchEventPreventedForcedDocumentPassiveNoTouchAction = 1683, | 1387 TouchEventPreventedForcedDocumentPassiveNoTouchAction = 1683, |
| 1388 V8Event_StopPropagation_Method = 1684, | 1388 V8Event_StopPropagation_Method = 1684, |
| 1389 V8Event_StopImmediatePropagation_Method = 1685, | 1389 V8Event_StopImmediatePropagation_Method = 1685, |
| 1390 ImageCaptureConstructor = 1686, | 1390 ImageCaptureConstructor = 1686, |
| 1391 V8Document_RootScroller_AttributeGetter = 1687, | 1391 V8Document_RootScroller_AttributeGetter = 1687, |
| 1392 V8Document_RootScroller_AttributeSetter = 1688, | 1392 V8Document_RootScroller_AttributeSetter = 1688, |
| 1393 CustomElementRegistryDefine = 1689, | 1393 CustomElementRegistryDefine = 1689, |
| 1394 LinkHeaderServiceWorker = 1690, |
| 1394 | 1395 |
| 1395 // Add new features immediately above this line. Don't change assigned | 1396 // Add new features immediately above this line. Don't change assigned |
| 1396 // numbers of any item, and don't reuse removed slots. | 1397 // numbers of any item, and don't reuse removed slots. |
| 1397 // Also, run update_use_counter_feature_enum.py in | 1398 // Also, run update_use_counter_feature_enum.py in |
| 1398 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1399 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1399 NumberOfFeatures, // This enum value must be last. | 1400 NumberOfFeatures, // This enum value must be last. |
| 1400 }; | 1401 }; |
| 1401 | 1402 |
| 1402 // "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. |
| 1403 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... |
| 1472 // Tracks what features/properties need to be reported to the legacy | 1473 // Tracks what features/properties need to be reported to the legacy |
| 1473 // histograms. | 1474 // histograms. |
| 1474 BitVector m_featureBits; | 1475 BitVector m_featureBits; |
| 1475 BitVector m_CSSBits; | 1476 BitVector m_CSSBits; |
| 1476 } m_legacyCounter; | 1477 } m_legacyCounter; |
| 1477 }; | 1478 }; |
| 1478 | 1479 |
| 1479 } // namespace blink | 1480 } // namespace blink |
| 1480 | 1481 |
| 1481 #endif // UseCounter_h | 1482 #endif // UseCounter_h |
| OLD | NEW |