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