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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 ElementCreateShadowRootMultiple = 779, | 692 ElementCreateShadowRootMultiple = 779, |
693 V8MessageChannel_Constructor = 780, | 693 V8MessageChannel_Constructor = 780, |
694 V8MessagePort_PostMessage_Method = 781, | 694 V8MessagePort_PostMessage_Method = 781, |
695 V8MessagePort_Start_Method = 782, | 695 V8MessagePort_Start_Method = 782, |
696 V8MessagePort_Close_Method = 783, | 696 V8MessagePort_Close_Method = 783, |
697 MessagePortsTransferred = 784, | 697 MessagePortsTransferred = 784, |
698 CSSKeyframesRuleAnonymousIndexedGetter = 785, | 698 CSSKeyframesRuleAnonymousIndexedGetter = 785, |
699 V8Screen_AvailLeft_AttributeGetter = 786, | 699 V8Screen_AvailLeft_AttributeGetter = 786, |
700 V8Screen_AvailTop_AttributeGetter = 787, | 700 V8Screen_AvailTop_AttributeGetter = 787, |
701 ObjectObserve = 788, | 701 ObjectObserve = 788, |
| 702 V8SVGAnimationElement_HasExtension_Method = 789, |
| 703 V8SVGCursorElement_HasExtension_Method = 790, |
| 704 V8SVGFEConvolveMatrixElement_PreserveAlpha_AttributeGetter = 791, |
| 705 V8SVGFilterElement_FilterResX_AttributeGetter = 792, |
| 706 V8SVGFilterElement_FilterResY_AttributeGetter = 793, |
| 707 V8SVGFilterElement_SetFilterRes_Method = 794, |
| 708 V8SVGGraphicsElement_HasExtension_Method = 795, |
| 709 V8SVGMaskElement_HasExtension_Method = 796, |
| 710 V8SVGPatternElement_HasExtension_Method = 797, |
| 711 V8SVGStyleElement_Disabled_AttributeGetter = 798, |
| 712 V8SVGStyleElement_Disabled_AttributeSetter = 799, |
702 | 713 |
703 // Add new features immediately above this line. Don't change assigned | 714 // Add new features immediately above this line. Don't change assigned |
704 // numbers of any item, and don't reuse removed slots. | 715 // numbers of any item, and don't reuse removed slots. |
705 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 716 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
706 // to update the UMA mapping. | 717 // to update the UMA mapping. |
707 NumberOfFeatures, // This enum value must be last. | 718 NumberOfFeatures, // This enum value must be last. |
708 }; | 719 }; |
709 | 720 |
710 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 721 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
711 static void count(const Frame*, Feature); | 722 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 | 806 |
796 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 807 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
797 | 808 |
798 CountBits m_countBits; | 809 CountBits m_countBits; |
799 BitVector m_CSSFeatureBits; | 810 BitVector m_CSSFeatureBits; |
800 }; | 811 }; |
801 | 812 |
802 } // namespace blink | 813 } // namespace blink |
803 | 814 |
804 #endif // UseCounter_h | 815 #endif // UseCounter_h |
OLD | NEW |