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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 V8Console_Memory_AttributeGetter = 877, | 776 V8Console_Memory_AttributeGetter = 877, |
777 V8Console_Memory_AttributeSetter = 878, | 777 V8Console_Memory_AttributeSetter = 878, |
778 V8MemoryInfo_TotalJSHeapSize_AttributeGetter = 879, | 778 V8MemoryInfo_TotalJSHeapSize_AttributeGetter = 879, |
779 V8MemoryInfo_UsedJSHeapSize_AttributeGetter = 880, | 779 V8MemoryInfo_UsedJSHeapSize_AttributeGetter = 880, |
780 V8MemoryInfo_JSHeapSizeLimit_AttributeGetter = 881, | 780 V8MemoryInfo_JSHeapSizeLimit_AttributeGetter = 881, |
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, |
| 787 V8SVGElement_OffsetTop_AttributeGetter = 888, |
| 788 V8SVGElement_OffsetLeft_AttributeGetter = 889, |
| 789 V8SVGElement_OffsetWidth_AttributeGetter = 890, |
| 790 V8SVGElement_OffsetHeight_AttributeGetter = 891, |
786 | 791 |
787 // Add new features immediately above this line. Don't change assigned | 792 // Add new features immediately above this line. Don't change assigned |
788 // numbers of any item, and don't reuse removed slots. | 793 // numbers of any item, and don't reuse removed slots. |
789 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 794 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
790 // to update the UMA mapping. | 795 // to update the UMA mapping. |
791 NumberOfFeatures, // This enum value must be last. | 796 NumberOfFeatures, // This enum value must be last. |
792 }; | 797 }; |
793 | 798 |
794 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 799 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
795 static void count(const Frame*, Feature); | 800 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 | 884 |
880 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 885 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
881 | 886 |
882 CountBits m_countBits; | 887 CountBits m_countBits; |
883 BitVector m_CSSFeatureBits; | 888 BitVector m_CSSFeatureBits; |
884 }; | 889 }; |
885 | 890 |
886 } // namespace blink | 891 } // namespace blink |
887 | 892 |
888 #endif // UseCounter_h | 893 #endif // UseCounter_h |
OLD | NEW |