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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 V8CustomEvent_InitCustomEvent_Method = 864, | 764 V8CustomEvent_InitCustomEvent_Method = 864, |
765 V8DeviceMotionEvent_InitDeviceMotionEvent_Method = 865, | 765 V8DeviceMotionEvent_InitDeviceMotionEvent_Method = 865, |
766 V8DeviceOrientationEvent_InitDeviceOrientationEvent_Method = 866, | 766 V8DeviceOrientationEvent_InitDeviceOrientationEvent_Method = 866, |
767 V8Event_InitEvent_Method = 867, | 767 V8Event_InitEvent_Method = 867, |
768 V8KeyboardEvent_InitKeyboardEvent_Method = 868, | 768 V8KeyboardEvent_InitKeyboardEvent_Method = 868, |
769 V8MouseEvent_InitMouseEvent_Method = 869, | 769 V8MouseEvent_InitMouseEvent_Method = 869, |
770 V8MutationEvent_InitMutationEvent_Method = 870, | 770 V8MutationEvent_InitMutationEvent_Method = 870, |
771 V8StorageEvent_InitStorageEvent_Method = 871, | 771 V8StorageEvent_InitStorageEvent_Method = 871, |
772 V8TouchEvent_InitTouchEvent_Method = 872, | 772 V8TouchEvent_InitTouchEvent_Method = 872, |
773 V8UIEvent_InitUIEvent_Method = 873, | 773 V8UIEvent_InitUIEvent_Method = 873, |
| 774 OfflineAudioContextStartRendering = 874, |
| 775 OfflineAudioContextSuspend = 875, |
| 776 OfflineAudioContextResume = 876, |
774 | 777 |
775 // Add new features immediately above this line. Don't change assigned | 778 // Add new features immediately above this line. Don't change assigned |
776 // numbers of any item, and don't reuse removed slots. | 779 // numbers of any item, and don't reuse removed slots. |
777 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 780 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
778 // to update the UMA mapping. | 781 // to update the UMA mapping. |
779 NumberOfFeatures, // This enum value must be last. | 782 NumberOfFeatures, // This enum value must be last. |
780 }; | 783 }; |
781 | 784 |
782 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 785 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
783 static void count(const Frame*, Feature); | 786 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 | 870 |
868 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 871 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
869 | 872 |
870 CountBits m_countBits; | 873 CountBits m_countBits; |
871 BitVector m_CSSFeatureBits; | 874 BitVector m_CSSFeatureBits; |
872 }; | 875 }; |
873 | 876 |
874 } // namespace blink | 877 } // namespace blink |
875 | 878 |
876 #endif // UseCounter_h | 879 #endif // UseCounter_h |
OLD | NEW |