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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 V8Event_InitEvent_Method = 867, | 765 V8Event_InitEvent_Method = 867, |
766 V8KeyboardEvent_InitKeyboardEvent_Method = 868, | 766 V8KeyboardEvent_InitKeyboardEvent_Method = 868, |
767 V8MouseEvent_InitMouseEvent_Method = 869, | 767 V8MouseEvent_InitMouseEvent_Method = 869, |
768 V8MutationEvent_InitMutationEvent_Method = 870, | 768 V8MutationEvent_InitMutationEvent_Method = 870, |
769 V8StorageEvent_InitStorageEvent_Method = 871, | 769 V8StorageEvent_InitStorageEvent_Method = 871, |
770 V8TouchEvent_InitTouchEvent_Method = 872, | 770 V8TouchEvent_InitTouchEvent_Method = 872, |
771 V8UIEvent_InitUIEvent_Method = 873, | 771 V8UIEvent_InitUIEvent_Method = 873, |
772 V8Document_CreateTouch_Method = 874, | 772 V8Document_CreateTouch_Method = 874, |
773 V8HTMLFrameElement_GetSVGDocument_Method = 875, | 773 V8HTMLFrameElement_GetSVGDocument_Method = 875, |
774 RequestFileSystemNonWebbyOrigin = 876, | 774 RequestFileSystemNonWebbyOrigin = 876, |
| 775 V8Console_Memory_AttributeGetter = 877, |
| 776 V8Console_Memory_AttributeSetter = 878, |
| 777 V8MemoryInfo_TotalJSHeapSize_AttributeGetter = 879, |
| 778 V8MemoryInfo_UsedJSHeapSize_AttributeGetter = 880, |
| 779 V8MemoryInfo_JSHeapSizeLimit_AttributeGetter = 881, |
| 780 V8Performance_Timing_AttributeGetter = 882, |
| 781 V8Performance_Navigation_AttributeGetter = 883, |
| 782 V8Performance_Memory_AttributeGetter = 884, |
| 783 V8SharedWorker_WorkerStart_AttributeGetter = 885, |
775 | 784 |
776 // Add new features immediately above this line. Don't change assigned | 785 // Add new features immediately above this line. Don't change assigned |
777 // numbers of any item, and don't reuse removed slots. | 786 // numbers of any item, and don't reuse removed slots. |
778 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 787 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
779 // to update the UMA mapping. | 788 // to update the UMA mapping. |
780 NumberOfFeatures, // This enum value must be last. | 789 NumberOfFeatures, // This enum value must be last. |
781 }; | 790 }; |
782 | 791 |
783 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 792 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
784 static void count(const Frame*, Feature); | 793 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 | 877 |
869 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 878 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
870 | 879 |
871 CountBits m_countBits; | 880 CountBits m_countBits; |
872 BitVector m_CSSFeatureBits; | 881 BitVector m_CSSFeatureBits; |
873 }; | 882 }; |
874 | 883 |
875 } // namespace blink | 884 } // namespace blink |
876 | 885 |
877 #endif // UseCounter_h | 886 #endif // UseCounter_h |
OLD | NEW |