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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 | 786 |
787 V8SVGElement_OffsetParent_AttributeGetter = 887, | 787 V8SVGElement_OffsetParent_AttributeGetter = 887, |
788 V8SVGElement_OffsetTop_AttributeGetter = 888, | 788 V8SVGElement_OffsetTop_AttributeGetter = 888, |
789 V8SVGElement_OffsetLeft_AttributeGetter = 889, | 789 V8SVGElement_OffsetLeft_AttributeGetter = 889, |
790 V8SVGElement_OffsetWidth_AttributeGetter = 890, | 790 V8SVGElement_OffsetWidth_AttributeGetter = 890, |
791 V8SVGElement_OffsetHeight_AttributeGetter = 891, | 791 V8SVGElement_OffsetHeight_AttributeGetter = 891, |
792 HTMLMediaElementPreloadNone = 892, | 792 HTMLMediaElementPreloadNone = 892, |
793 HTMLMediaElementPreloadMetadata = 893, | 793 HTMLMediaElementPreloadMetadata = 893, |
794 HTMLMediaElementPreloadAuto = 894, | 794 HTMLMediaElementPreloadAuto = 894, |
795 HTMLMediaElementPreloadDefault = 895, | 795 HTMLMediaElementPreloadDefault = 895, |
| 796 OfflineAudioContextStartRendering = 896, |
| 797 OfflineAudioContextSuspend = 897, |
| 798 OfflineAudioContextResume = 898, |
796 | 799 |
797 // Add new features immediately above this line. Don't change assigned | 800 // Add new features immediately above this line. Don't change assigned |
798 // numbers of any item, and don't reuse removed slots. | 801 // numbers of any item, and don't reuse removed slots. |
799 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 802 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
800 // to update the UMA mapping. | 803 // to update the UMA mapping. |
801 NumberOfFeatures, // This enum value must be last. | 804 NumberOfFeatures, // This enum value must be last. |
802 }; | 805 }; |
803 | 806 |
804 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 807 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
805 static void count(const Frame*, Feature); | 808 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 | 892 |
890 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 893 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
891 | 894 |
892 CountBits m_countBits; | 895 CountBits m_countBits; |
893 BitVector m_CSSFeatureBits; | 896 BitVector m_CSSFeatureBits; |
894 }; | 897 }; |
895 | 898 |
896 } // namespace blink | 899 } // namespace blink |
897 | 900 |
898 #endif // UseCounter_h | 901 #endif // UseCounter_h |
OLD | NEW |