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 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 ElementRequestPointerLockIframe = 1146, | 1002 ElementRequestPointerLockIframe = 1146, |
1003 NotificationAPIInsecureOriginIframe = 1147, | 1003 NotificationAPIInsecureOriginIframe = 1147, |
1004 NotificationAPISecureOriginIframe = 1148, | 1004 NotificationAPISecureOriginIframe = 1148, |
1005 WebSocket = 1149, | 1005 WebSocket = 1149, |
1006 MediaStreamConstraintsNameValue = 1150, | 1006 MediaStreamConstraintsNameValue = 1150, |
1007 MediaStreamConstraintsFromDictionary = 1151, | 1007 MediaStreamConstraintsFromDictionary = 1151, |
1008 MediaStreamConstraintsConformant = 1152, | 1008 MediaStreamConstraintsConformant = 1152, |
1009 CSSSelectorIndirectAdjacent = 1153, | 1009 CSSSelectorIndirectAdjacent = 1153, |
1010 NodeTreeRoot = 1154, | 1010 NodeTreeRoot = 1154, |
1011 BluetoothDeviceConnectGATT = 1155, | 1011 BluetoothDeviceConnectGATT = 1155, |
| 1012 DocumentCreateEventCloseEvent = 1156, |
| 1013 DocumentCreateEventFontFaceSetLoadEvent = 1157, |
| 1014 DocumentCreateEventMediaQueryListEvent = 1158, |
| 1015 DocumentCreateEventAnimationEvent = 1159, |
| 1016 DocumentCreateEventAnimationPlayerEvent = 1160, |
| 1017 DocumentCreateEventApplicationCacheErrorEvent = 1161, |
| 1018 DocumentCreateEventAutocompleteErrorEvent = 1162, |
| 1019 DocumentCreateEventBeforeUnloadEvent = 1163, |
| 1020 DocumentCreateEventClipboardEvent = 1164, |
| 1021 DocumentCreateEventDragEvent = 1165, |
| 1022 DocumentCreateEventErrorEvent = 1166, |
| 1023 DocumentCreateEventFocusEvent = 1167, |
| 1024 DocumentCreateEventHashChangeEvent = 1168, |
| 1025 DocumentCreateEventPageTransitionEvent = 1169, |
| 1026 DocumentCreateEventPointerEvent = 1170, |
| 1027 DocumentCreateEventPopStateEvent = 1171, |
| 1028 DocumentCreateEventProgressEvent = 1172, |
| 1029 DocumentCreateEventPromiseRejectionEvent = 1173, |
| 1030 DocumentCreateEventRelatedEvent = 1174, |
| 1031 DocumentCreateEventResourceProgressEvent = 1175, |
| 1032 DocumentCreateEventSecurityPolicyViolationEvent = 1176, |
| 1033 DocumentCreateEventTransitionEvent = 1177, |
| 1034 DocumentCreateEventWheelEvent = 1178, |
| 1035 DocumentCreateEventMediaKeyEvent = 1179, |
| 1036 DocumentCreateEventTrackEvent = 1180, |
| 1037 DocumentCreateEventKeyboardEvent = 1181, |
| 1038 DocumentCreateEventXMLHttpRequestProgressEvent = 1182, |
| 1039 DocumentCreateEventBeforeInstallPromptEvent = 1183, |
| 1040 DocumentCreateEventSyncEvent = 1184, |
| 1041 DocumentCreateEventDeviceLightEvent = 1185, |
| 1042 DocumentCreateEventMediaEncryptedEvent = 1186, |
| 1043 DocumentCreateEventMediaKeyMessageEvent = 1187, |
| 1044 DocumentCreateEventGamepadEvent = 1188, |
| 1045 DocumentCreateEventGeofencingEvent = 1189, |
| 1046 DocumentCreateEventIDBVersionChangeEvent = 1190, |
| 1047 DocumentCreateEventBlobEvent = 1191, |
| 1048 DocumentCreateEventMediaStreamEvent = 1192, |
| 1049 DocumentCreateEventMediaStreamTrackEvent = 1193, |
| 1050 DocumentCreateEventRTCDTMFToneChangeEvent = 1194, |
| 1051 DocumentCreateEventRTCDataChannelEvent = 1195, |
| 1052 DocumentCreateEventRTCIceCandidateEvent = 1196, |
| 1053 DocumentCreateEventServicePortConnectEvent = 1197, |
| 1054 DocumentCreateEventNotificationEvent = 1198, |
| 1055 DocumentCreateEventPresentationConnectionAvailableEvent = 1199, |
| 1056 DocumentCreateEventPushEvent = 1200, |
| 1057 DocumentCreateEventExtendableEvent = 1201, |
| 1058 DocumentCreateEventExtendableMessageEvent = 1202, |
| 1059 DocumentCreateEventFetchEvent = 1203, |
| 1060 DocumentCreateEventInstallEvent = 1204, |
| 1061 DocumentCreateEventServiceWorkerMessageEvent = 1205, |
| 1062 DocumentCreateEventSpeechRecognitionError = 1206, |
| 1063 DocumentCreateEventSpeechRecognitionEvent = 1207, |
| 1064 DocumentCreateEventSpeechSynthesisEvent = 1208, |
| 1065 DocumentCreateEventAudioProcessingEvent = 1209, |
| 1066 DocumentCreateEventOfflineAudioCompletionEvent = 1210, |
| 1067 DocumentCreateEventWebGLContextEvent = 1211, |
| 1068 DocumentCreateEventMIDIConnectionEvent = 1212, |
| 1069 DocumentCreateEventMIDIMessageEvent = 1213, |
| 1070 DocumentCreateEventWebKitAnimationEvent = 1214, |
| 1071 DocumentCreateEventWebKitTransitionEvent = 1215, |
1012 | 1072 |
1013 // Add new features immediately above this line. Don't change assigned | 1073 // Add new features immediately above this line. Don't change assigned |
1014 // numbers of any item, and don't reuse removed slots. | 1074 // numbers of any item, and don't reuse removed slots. |
1015 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1075 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1016 // to update the UMA mapping. | 1076 // to update the UMA mapping. |
1017 NumberOfFeatures, // This enum value must be last. | 1077 NumberOfFeatures, // This enum value must be last. |
1018 }; | 1078 }; |
1019 | 1079 |
1020 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1080 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1021 static void count(const Frame*, Feature); | 1081 static void count(const Frame*, Feature); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1113 | 1173 |
1114 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 1174 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
1115 | 1175 |
1116 CountBits m_countBits; | 1176 CountBits m_countBits; |
1117 BitVector m_CSSFeatureBits; | 1177 BitVector m_CSSFeatureBits; |
1118 }; | 1178 }; |
1119 | 1179 |
1120 } // namespace blink | 1180 } // namespace blink |
1121 | 1181 |
1122 #endif // UseCounter_h | 1182 #endif // UseCounter_h |
OLD | NEW |