Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2216593002: Drop document.createEvent support for things still behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@createEvent
Patch Set: fix LayoutTests Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 MediaStreamConstraintsFromDictionary = 1151, 947 MediaStreamConstraintsFromDictionary = 1151,
948 MediaStreamConstraintsConformant = 1152, 948 MediaStreamConstraintsConformant = 1152,
949 CSSSelectorIndirectAdjacent = 1153, 949 CSSSelectorIndirectAdjacent = 1153,
950 CreateImageBitmap = 1156, 950 CreateImageBitmap = 1156,
951 PresentationConnectionConnectEventListener = 1157, 951 PresentationConnectionConnectEventListener = 1157,
952 PresentationConnectionCloseEventListener = 1158, 952 PresentationConnectionCloseEventListener = 1158,
953 PresentationConnectionTerminateEventListener = 1159, 953 PresentationConnectionTerminateEventListener = 1159,
954 DocumentCreateEventFontFaceSetLoadEvent = 1160, 954 DocumentCreateEventFontFaceSetLoadEvent = 1160,
955 DocumentCreateEventMediaQueryListEvent = 1161, 955 DocumentCreateEventMediaQueryListEvent = 1161,
956 DocumentCreateEventAnimationEvent = 1162, 956 DocumentCreateEventAnimationEvent = 1162,
957 DocumentCreateEventAnimationPlayerEvent = 1163,
958 DocumentCreateEventApplicationCacheErrorEvent = 1164, 957 DocumentCreateEventApplicationCacheErrorEvent = 1164,
959 DocumentCreateEventBeforeUnloadEvent = 1166, 958 DocumentCreateEventBeforeUnloadEvent = 1166,
960 DocumentCreateEventClipboardEvent = 1167, 959 DocumentCreateEventClipboardEvent = 1167,
961 DocumentCreateEventCompositionEvent = 1168, 960 DocumentCreateEventCompositionEvent = 1168,
962 DocumentCreateEventDragEvent = 1169, 961 DocumentCreateEventDragEvent = 1169,
963 DocumentCreateEventErrorEvent = 1170, 962 DocumentCreateEventErrorEvent = 1170,
964 DocumentCreateEventFocusEvent = 1171, 963 DocumentCreateEventFocusEvent = 1171,
965 DocumentCreateEventHashChangeEvent = 1172, 964 DocumentCreateEventHashChangeEvent = 1172,
966 DocumentCreateEventMutationEvent = 1173, 965 DocumentCreateEventMutationEvent = 1173,
967 DocumentCreateEventPageTransitionEvent = 1174, 966 DocumentCreateEventPageTransitionEvent = 1174,
968 DocumentCreateEventPointerEvent = 1175,
969 DocumentCreateEventPopStateEvent = 1176, 967 DocumentCreateEventPopStateEvent = 1176,
970 DocumentCreateEventProgressEvent = 1177, 968 DocumentCreateEventProgressEvent = 1177,
971 DocumentCreateEventPromiseRejectionEvent = 1178, 969 DocumentCreateEventPromiseRejectionEvent = 1178,
972 DocumentCreateEventRelatedEvent = 1179,
973 DocumentCreateEventResourceProgressEvent = 1180, 970 DocumentCreateEventResourceProgressEvent = 1180,
974 DocumentCreateEventSecurityPolicyViolationEvent = 1181, 971 DocumentCreateEventSecurityPolicyViolationEvent = 1181,
975 DocumentCreateEventTextEvent = 1182, 972 DocumentCreateEventTextEvent = 1182,
976 DocumentCreateEventTransitionEvent = 1183, 973 DocumentCreateEventTransitionEvent = 1183,
977 DocumentCreateEventWheelEvent = 1184, 974 DocumentCreateEventWheelEvent = 1184,
978 DocumentCreateEventTrackEvent = 1186, 975 DocumentCreateEventTrackEvent = 1186,
979 DocumentCreateEventWebKitAnimationEvent = 1187, 976 DocumentCreateEventWebKitAnimationEvent = 1187,
980 DocumentCreateEventMutationEvents = 1188, 977 DocumentCreateEventMutationEvents = 1188,
981 DocumentCreateEventOrientationEvent = 1189, 978 DocumentCreateEventOrientationEvent = 1189,
982 DocumentCreateEventSVGEvents = 1190, 979 DocumentCreateEventSVGEvents = 1190,
983 DocumentCreateEventWebKitTransitionEvent = 1191, 980 DocumentCreateEventWebKitTransitionEvent = 1191,
984 DocumentCreateEventBeforeInstallPromptEvent = 1192, 981 DocumentCreateEventBeforeInstallPromptEvent = 1192,
985 DocumentCreateEventSyncEvent = 1193, 982 DocumentCreateEventSyncEvent = 1193,
986 DocumentCreateEventDeviceLightEvent = 1194,
987 DocumentCreateEventDeviceMotionEvent = 1195, 983 DocumentCreateEventDeviceMotionEvent = 1195,
988 DocumentCreateEventDeviceOrientationEvent = 1196, 984 DocumentCreateEventDeviceOrientationEvent = 1196,
989 DocumentCreateEventMediaEncryptedEvent = 1197, 985 DocumentCreateEventMediaEncryptedEvent = 1197,
990 DocumentCreateEventMediaKeyMessageEvent = 1198, 986 DocumentCreateEventMediaKeyMessageEvent = 1198,
991 DocumentCreateEventGamepadEvent = 1199, 987 DocumentCreateEventGamepadEvent = 1199,
992 DocumentCreateEventIDBVersionChangeEvent = 1201, 988 DocumentCreateEventIDBVersionChangeEvent = 1201,
993 DocumentCreateEventBlobEvent = 1202, 989 DocumentCreateEventBlobEvent = 1202,
994 DocumentCreateEventMediaStreamEvent = 1203, 990 DocumentCreateEventMediaStreamEvent = 1203,
995 DocumentCreateEventMediaStreamTrackEvent = 1204, 991 DocumentCreateEventMediaStreamTrackEvent = 1204,
996 DocumentCreateEventRTCDTMFToneChangeEvent = 1205, 992 DocumentCreateEventRTCDTMFToneChangeEvent = 1205,
997 DocumentCreateEventRTCDataChannelEvent = 1206, 993 DocumentCreateEventRTCDataChannelEvent = 1206,
998 DocumentCreateEventRTCIceCandidateEvent = 1207, 994 DocumentCreateEventRTCIceCandidateEvent = 1207,
999 DocumentCreateEventNotificationEvent = 1209, 995 DocumentCreateEventNotificationEvent = 1209,
1000 DocumentCreateEventPresentationConnectionAvailableEvent = 1210, 996 DocumentCreateEventPresentationConnectionAvailableEvent = 1210,
1001 DocumentCreateEventPresentationConnectionCloseEvent = 1211, 997 DocumentCreateEventPresentationConnectionCloseEvent = 1211,
1002 DocumentCreateEventPushEvent = 1212, 998 DocumentCreateEventPushEvent = 1212,
1003 DocumentCreateEventExtendableEvent = 1213, 999 DocumentCreateEventExtendableEvent = 1213,
1004 DocumentCreateEventExtendableMessageEvent = 1214, 1000 DocumentCreateEventExtendableMessageEvent = 1214,
1005 DocumentCreateEventFetchEvent = 1215, 1001 DocumentCreateEventFetchEvent = 1215,
1006 DocumentCreateEventInstallEvent = 1216,
1007 DocumentCreateEventServiceWorkerMessageEvent = 1217, 1002 DocumentCreateEventServiceWorkerMessageEvent = 1217,
1008 DocumentCreateEventSpeechRecognitionError = 1218, 1003 DocumentCreateEventSpeechRecognitionError = 1218,
1009 DocumentCreateEventSpeechRecognitionEvent = 1219, 1004 DocumentCreateEventSpeechRecognitionEvent = 1219,
1010 DocumentCreateEventSpeechSynthesisEvent = 1220, 1005 DocumentCreateEventSpeechSynthesisEvent = 1220,
1011 DocumentCreateEventStorageEvent = 1221, 1006 DocumentCreateEventStorageEvent = 1221,
1012 DocumentCreateEventAudioProcessingEvent = 1222, 1007 DocumentCreateEventAudioProcessingEvent = 1222,
1013 DocumentCreateEventOfflineAudioCompletionEvent = 1223, 1008 DocumentCreateEventOfflineAudioCompletionEvent = 1223,
1014 DocumentCreateEventWebGLContextEvent = 1224, 1009 DocumentCreateEventWebGLContextEvent = 1224,
1015 DocumentCreateEventMIDIConnectionEvent = 1225, 1010 DocumentCreateEventMIDIConnectionEvent = 1225,
1016 DocumentCreateEventMIDIMessageEvent = 1226, 1011 DocumentCreateEventMIDIMessageEvent = 1226,
1017 DocumentCreateEventCloseEvent = 1227, 1012 DocumentCreateEventCloseEvent = 1227,
1018 DocumentCreateEventKeyboardEvents = 1228, 1013 DocumentCreateEventKeyboardEvents = 1228,
1019 HTMLMediaElement = 1229, 1014 HTMLMediaElement = 1229,
1020 HTMLMediaElementInDocument = 1230, 1015 HTMLMediaElementInDocument = 1230,
1021 HTMLMediaElementControlsAttribute = 1231, 1016 HTMLMediaElementControlsAttribute = 1231,
1022 V8Animation_Oncancel_AttributeGetter = 1233, 1017 V8Animation_Oncancel_AttributeGetter = 1233,
1023 V8Animation_Oncancel_AttributeSetter = 1234, 1018 V8Animation_Oncancel_AttributeSetter = 1234,
1024 V8HTMLCommentInExternalScript = 1235, 1019 V8HTMLCommentInExternalScript = 1235,
1025 V8HTMLComment = 1236, 1020 V8HTMLComment = 1236,
1026 V8SloppyModeBlockScopedFunctionRedefinition = 1237, 1021 V8SloppyModeBlockScopedFunctionRedefinition = 1237,
1027 V8ForInInitializer = 1238, 1022 V8ForInInitializer = 1238,
1028 V8Animation_Id_AttributeGetter = 1239, 1023 V8Animation_Id_AttributeGetter = 1239,
1029 V8Animation_Id_AttributeSetter = 1240, 1024 V8Animation_Id_AttributeSetter = 1240,
1030 DocumentCreateEventInputEvent = 1242,
1031 WebAnimationHyphenatedProperty = 1243, 1025 WebAnimationHyphenatedProperty = 1243,
1032 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244, 1026 FormControlsCollectionReturnsRadioNodeListForFieldSet = 1244,
1033 ApplicationCacheManifestSelectInsecureOrigin = 1245, 1027 ApplicationCacheManifestSelectInsecureOrigin = 1245,
1034 ApplicationCacheManifestSelectSecureOrigin = 1246, 1028 ApplicationCacheManifestSelectSecureOrigin = 1246,
1035 ApplicationCacheAPIInsecureOrigin = 1247, 1029 ApplicationCacheAPIInsecureOrigin = 1247,
1036 ApplicationCacheAPISecureOrigin = 1248, 1030 ApplicationCacheAPISecureOrigin = 1248,
1037 // The above items are available in M50 branch 1031 // The above items are available in M50 branch
1038 1032
1039 CSSAtRuleApply = 1249, 1033 CSSAtRuleApply = 1249,
1040 CSSSelectorPseudoAny = 1250, 1034 CSSSelectorPseudoAny = 1250,
(...skipping 18 matching lines...) Expand all
1059 V8IDBFactory_WebkitGetDatabaseNames_Method = 1273, 1053 V8IDBFactory_WebkitGetDatabaseNames_Method = 1273,
1060 ImageDocument = 1274, 1054 ImageDocument = 1274,
1061 ScriptPassesCSPDynamic = 1275, 1055 ScriptPassesCSPDynamic = 1275,
1062 CSPWithStrictDynamic = 1277, 1056 CSPWithStrictDynamic = 1277,
1063 ScrollAnchored = 1278, 1057 ScrollAnchored = 1278,
1064 AddEventListenerFourArguments = 1279, 1058 AddEventListenerFourArguments = 1279,
1065 RemoveEventListenerFourArguments = 1280, 1059 RemoveEventListenerFourArguments = 1280,
1066 InvalidReportUriDirectiveInMetaCSP = 1281, 1060 InvalidReportUriDirectiveInMetaCSP = 1281,
1067 InvalidSandboxDirectiveInMetaCSP = 1282, 1061 InvalidSandboxDirectiveInMetaCSP = 1282,
1068 InvalidFrameAncestorsDirectiveInMetaCSP = 1283, 1062 InvalidFrameAncestorsDirectiveInMetaCSP = 1283,
1069 DocumentCreateEventForeignFetchEvent = 1286,
1070 SVGCalcModeDiscrete = 1287, 1063 SVGCalcModeDiscrete = 1287,
1071 SVGCalcModeLinear = 1288, 1064 SVGCalcModeLinear = 1288,
1072 SVGCalcModePaced = 1289, 1065 SVGCalcModePaced = 1289,
1073 SVGCalcModeSpline = 1290, 1066 SVGCalcModeSpline = 1290,
1074 FormSubmissionStarted = 1291, 1067 FormSubmissionStarted = 1291,
1075 FormValidationStarted = 1292, 1068 FormValidationStarted = 1292,
1076 FormValidationAbortedSubmission = 1293, 1069 FormValidationAbortedSubmission = 1293,
1077 FormValidationShowedMessage = 1294, 1070 FormValidationShowedMessage = 1294,
1078 WebAnimationsEasingAsFunctionLinear = 1295, 1071 WebAnimationsEasingAsFunctionLinear = 1295,
1079 WebAnimationsEasingAsFunctionOther = 1296, 1072 WebAnimationsEasingAsFunctionOther = 1296,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 Entry_MoveTo_Method_IsolatedFileSystem = 1329, 1107 Entry_MoveTo_Method_IsolatedFileSystem = 1329,
1115 Entry_CopyTo_Method_IsolatedFileSystem = 1330, 1108 Entry_CopyTo_Method_IsolatedFileSystem = 1330,
1116 Entry_Remove_Method_IsolatedFileSystem = 1331, 1109 Entry_Remove_Method_IsolatedFileSystem = 1331,
1117 Entry_GetParent_Method_IsolatedFileSystem = 1332, 1110 Entry_GetParent_Method_IsolatedFileSystem = 1332,
1118 Entry_ToURL_Method_IsolatedFileSystem = 1333, 1111 Entry_ToURL_Method_IsolatedFileSystem = 1333,
1119 During_Microtask_Alert = 1334, 1112 During_Microtask_Alert = 1334,
1120 During_Microtask_Confirm = 1335, 1113 During_Microtask_Confirm = 1335,
1121 During_Microtask_Print = 1336, 1114 During_Microtask_Print = 1336,
1122 During_Microtask_Prompt = 1337, 1115 During_Microtask_Prompt = 1337,
1123 During_Microtask_SyncXHR = 1338, 1116 During_Microtask_SyncXHR = 1338,
1124 DocumentCreateEventPaymentRequestUpdateEvent = 1341,
1125 CredentialManagerGetReturnedCredential = 1342, 1117 CredentialManagerGetReturnedCredential = 1342,
1126 GeolocationInsecureOriginDeprecatedNotRemoved = 1343, 1118 GeolocationInsecureOriginDeprecatedNotRemoved = 1343,
1127 GeolocationInsecureOriginIframeDeprecatedNotRemoved = 1344, 1119 GeolocationInsecureOriginIframeDeprecatedNotRemoved = 1344,
1128 ProgressElementWithNoneAppearance = 1345, 1120 ProgressElementWithNoneAppearance = 1345,
1129 ProgressElementWithProgressBarAppearance = 1346, 1121 ProgressElementWithProgressBarAppearance = 1346,
1130 PointerEventAddListenerCount = 1347, 1122 PointerEventAddListenerCount = 1347,
1131 EventCancelBubbleAffected = 1348, 1123 EventCancelBubbleAffected = 1348,
1132 EventCancelBubbleWasChangedToTrue = 1349, 1124 EventCancelBubbleWasChangedToTrue = 1349,
1133 EventCancelBubbleWasChangedToFalse = 1350, 1125 EventCancelBubbleWasChangedToFalse = 1350,
1134 CSSValueAppearanceNone = 1351, 1126 CSSValueAppearanceNone = 1351,
(...skipping 25 matching lines...) Expand all
1160 // The above items are available in M52 branch 1152 // The above items are available in M52 branch
1161 1153
1162 UnloadHandler_Navigation = 1379, 1154 UnloadHandler_Navigation = 1379,
1163 TouchStartUserGestureUtilized = 1380, 1155 TouchStartUserGestureUtilized = 1380,
1164 TouchMoveUserGestureUtilized = 1381, 1156 TouchMoveUserGestureUtilized = 1381,
1165 TouchEndDuringScrollUserGestureUtilized = 1382, 1157 TouchEndDuringScrollUserGestureUtilized = 1382,
1166 CSSSelectorPseudoDefined = 1383, 1158 CSSSelectorPseudoDefined = 1383,
1167 RTCPeerConnectionAddIceCandidatePromise = 1384, 1159 RTCPeerConnectionAddIceCandidatePromise = 1384,
1168 RTCPeerConnectionAddIceCandidateLegacy = 1385, 1160 RTCPeerConnectionAddIceCandidateLegacy = 1385,
1169 RTCIceCandidateDefaultSdpMLineIndex = 1386, 1161 RTCIceCandidateDefaultSdpMLineIndex = 1386,
1170 DocumentCreateEventSensorErrorEvent = 1387,
1171 DocumentCreateEventSensorReadingEvent = 1388,
1172 MediaStreamConstraintsOldAndNew = 1389, 1162 MediaStreamConstraintsOldAndNew = 1389,
1173 V8ArrayProtectorDirtied = 1390, 1163 V8ArrayProtectorDirtied = 1390,
1174 V8ArraySpeciesModified = 1391, 1164 V8ArraySpeciesModified = 1391,
1175 V8ArrayPrototypeConstructorModified = 1392, 1165 V8ArrayPrototypeConstructorModified = 1392,
1176 V8ArrayInstanceProtoModified = 1393, 1166 V8ArrayInstanceProtoModified = 1393,
1177 V8ArrayInstanceConstructorModified = 1394, 1167 V8ArrayInstanceConstructorModified = 1394,
1178 V8LegacyFunctionDeclaration = 1395, 1168 V8LegacyFunctionDeclaration = 1395,
1179 V8RegExpPrototypeSourceGetter = 1396, 1169 V8RegExpPrototypeSourceGetter = 1396,
1180 V8RegExpPrototypeOldFlagGetter = 1397, 1170 V8RegExpPrototypeOldFlagGetter = 1397,
1181 V8DecimalWithLeadingZeroInStrictMode = 1398, 1171 V8DecimalWithLeadingZeroInStrictMode = 1398,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 friend class UseCounterTest; 1345 friend class UseCounterTest;
1356 unsigned m_muteCount; 1346 unsigned m_muteCount;
1357 1347
1358 CountBits m_countBits; 1348 CountBits m_countBits;
1359 BitVector m_CSSFeatureBits; 1349 BitVector m_CSSFeatureBits;
1360 }; 1350 };
1361 1351
1362 } // namespace blink 1352 } // namespace blink
1363 1353
1364 #endif // UseCounter_h 1354 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698