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

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

Issue 1804383002: Remove use counters for Element methods that have been settled in spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 XSLTProcessor = 79, 125 XSLTProcessor = 79,
126 SVGSwitchElement = 80, 126 SVGSwitchElement = 80,
127 DocumentAll = 83, 127 DocumentAll = 83,
128 FormElement = 84, 128 FormElement = 84,
129 DemotedFormElement = 85, 129 DemotedFormElement = 85,
130 SVGAnimationElement = 90, 130 SVGAnimationElement = 90,
131 LineClamp = 96, 131 LineClamp = 96,
132 SubFrameBeforeUnloadRegistered = 97, 132 SubFrameBeforeUnloadRegistered = 97,
133 SubFrameBeforeUnloadFired = 98, 133 SubFrameBeforeUnloadFired = 98,
134 ConsoleMarkTimeline = 102, 134 ConsoleMarkTimeline = 102,
135 ElementGetAttributeNode = 107,
136 ElementSetAttributeNode = 108,
137 ElementRemoveAttributeNode = 109,
138 ElementGetAttributeNodeNS = 110,
139 DocumentCreateAttribute = 111, 135 DocumentCreateAttribute = 111,
140 DocumentCreateAttributeNS = 112, 136 DocumentCreateAttributeNS = 112,
141 DocumentCreateCDATASection = 113, // Removed from DOM4. 137 DocumentCreateCDATASection = 113, // Removed from DOM4.
142 DocumentXMLEncoding = 115, // Removed from DOM4. 138 DocumentXMLEncoding = 115, // Removed from DOM4.
143 DocumentXMLStandalone = 116, // Removed from DOM4. 139 DocumentXMLStandalone = 116, // Removed from DOM4.
144 DocumentXMLVersion = 117, // Removed from DOM4. 140 DocumentXMLVersion = 117, // Removed from DOM4.
145 NodeIsSameNode = 118, // Removed from DOM4. 141 NodeIsSameNode = 118, // Removed from DOM4.
146 NavigatorProductSub = 123, 142 NavigatorProductSub = 123,
147 NavigatorVendor = 124, 143 NavigatorVendor = 124,
148 NavigatorVendorSub = 125, 144 NavigatorVendorSub = 125,
149 FileError = 126, 145 FileError = 126,
150 PrefixedAnimationEndEvent = 128, 146 PrefixedAnimationEndEvent = 128,
151 UnprefixedAnimationEndEvent = 129, 147 UnprefixedAnimationEndEvent = 129,
152 PrefixedAndUnprefixedAnimationEndEvent = 130, 148 PrefixedAndUnprefixedAnimationEndEvent = 130,
153 PrefixedAnimationStartEvent = 131, 149 PrefixedAnimationStartEvent = 131,
154 UnprefixedAnimationStartEvent = 132, 150 UnprefixedAnimationStartEvent = 132,
155 PrefixedAndUnprefixedAnimationStartEvent = 133, 151 PrefixedAndUnprefixedAnimationStartEvent = 133,
156 PrefixedAnimationIterationEvent = 134, 152 PrefixedAnimationIterationEvent = 134,
157 UnprefixedAnimationIterationEvent = 135, 153 UnprefixedAnimationIterationEvent = 135,
158 PrefixedAndUnprefixedAnimationIterationEvent = 136, 154 PrefixedAndUnprefixedAnimationIterationEvent = 136,
159 EventReturnValue = 137, // Legacy IE extension. 155 EventReturnValue = 137, // Legacy IE extension.
160 SVGSVGElement = 138, 156 SVGSVGElement = 138,
161 InsertAdjacentText = 140,
162 InsertAdjacentElement = 141,
163 HasAttributes = 142,
164 DOMSubtreeModifiedEvent = 143, 157 DOMSubtreeModifiedEvent = 143,
165 DOMNodeInsertedEvent = 144, 158 DOMNodeInsertedEvent = 144,
166 DOMNodeRemovedEvent = 145, 159 DOMNodeRemovedEvent = 145,
167 DOMNodeRemovedFromDocumentEvent = 146, 160 DOMNodeRemovedFromDocumentEvent = 146,
168 DOMNodeInsertedIntoDocumentEvent = 147, 161 DOMNodeInsertedIntoDocumentEvent = 147,
169 DOMCharacterDataModifiedEvent = 148, 162 DOMCharacterDataModifiedEvent = 148,
170 DocumentAllLegacyCall = 150, 163 DocumentAllLegacyCall = 150,
171 HTMLEmbedElementLegacyCall = 152, 164 HTMLEmbedElementLegacyCall = 152,
172 HTMLObjectElementLegacyCall = 153, 165 HTMLObjectElementLegacyCall = 153,
173 GetMatchedCSSRules = 155, 166 GetMatchedCSSRules = 155,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 DocumentUnloadRegistered = 202, 198 DocumentUnloadRegistered = 202,
206 DocumentUnloadFired = 203, 199 DocumentUnloadFired = 203,
207 SVGLocatableNearestViewportElement = 204, 200 SVGLocatableNearestViewportElement = 204,
208 SVGLocatableFarthestViewportElement = 205, 201 SVGLocatableFarthestViewportElement = 205,
209 SVGPointMatrixTransform = 209, 202 SVGPointMatrixTransform = 209,
210 DOMFocusInOutEvent = 211, 203 DOMFocusInOutEvent = 211,
211 FileGetLastModifiedDate = 212, 204 FileGetLastModifiedDate = 212,
212 HTMLElementInnerText = 213, 205 HTMLElementInnerText = 213,
213 HTMLElementOuterText = 214, 206 HTMLElementOuterText = 214,
214 ReplaceDocumentViaJavaScriptURL = 215, 207 ReplaceDocumentViaJavaScriptURL = 215,
215 ElementSetAttributeNodeNS = 216,
216 ElementPrefixedMatchesSelector = 217,
217 CSSStyleSheetRules = 219, 208 CSSStyleSheetRules = 219,
218 CSSStyleSheetAddRule = 220, 209 CSSStyleSheetAddRule = 220,
219 CSSStyleSheetRemoveRule = 221, 210 CSSStyleSheetRemoveRule = 221,
220 // The above items are available in M33 branch. 211 // The above items are available in M33 branch.
221 212
222 InitMessageEvent = 222, 213 InitMessageEvent = 222,
223 PrefixedDevicePixelRatioMediaFeature = 233, 214 PrefixedDevicePixelRatioMediaFeature = 233,
224 PrefixedMaxDevicePixelRatioMediaFeature = 234, 215 PrefixedMaxDevicePixelRatioMediaFeature = 234,
225 PrefixedMinDevicePixelRatioMediaFeature = 235, 216 PrefixedMinDevicePixelRatioMediaFeature = 235,
226 PrefixedTransform3dMediaFeature = 237, 217 PrefixedTransform3dMediaFeature = 237,
(...skipping 10 matching lines...) Expand all
237 DeprecatedWebKitGradient = 260, 228 DeprecatedWebKitGradient = 260,
238 DeprecatedWebKitLinearGradient = 261, 229 DeprecatedWebKitLinearGradient = 261,
239 DeprecatedWebKitRepeatingLinearGradient = 262, 230 DeprecatedWebKitRepeatingLinearGradient = 262,
240 DeprecatedWebKitRadialGradient = 263, 231 DeprecatedWebKitRadialGradient = 263,
241 DeprecatedWebKitRepeatingRadialGradient = 264, 232 DeprecatedWebKitRepeatingRadialGradient = 264,
242 PrefixedImageSmoothingEnabled = 267, 233 PrefixedImageSmoothingEnabled = 267,
243 UnprefixedImageSmoothingEnabled = 268, 234 UnprefixedImageSmoothingEnabled = 268,
244 // The above items are available in M34 branch. 235 // The above items are available in M34 branch.
245 236
246 HTMLAnchorElementPingAttribute = 276, 237 HTMLAnchorElementPingAttribute = 276,
247 InsertAdjacentHTML = 278,
248 SVGClassName = 279, 238 SVGClassName = 279,
249 HTMLMediaElementSeekToFragmentStart = 281, 239 HTMLMediaElementSeekToFragmentStart = 281,
250 HTMLMediaElementPauseAtFragmentEnd = 282, 240 HTMLMediaElementPauseAtFragmentEnd = 282,
251 PrefixedWindowURL = 283, 241 PrefixedWindowURL = 283,
252 WindowOrientation = 285, 242 WindowOrientation = 285,
253 DOMStringListContains = 286, 243 DOMStringListContains = 286,
254 DocumentCaptureEvents = 287, 244 DocumentCaptureEvents = 287,
255 DocumentReleaseEvents = 288, 245 DocumentReleaseEvents = 288,
256 WindowCaptureEvents = 289, 246 WindowCaptureEvents = 289,
257 WindowReleaseEvents = 290, 247 WindowReleaseEvents = 290,
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 friend class UseCounterTest; 1167 friend class UseCounterTest;
1178 static int m_muteCount; 1168 static int m_muteCount;
1179 1169
1180 CountBits m_countBits; 1170 CountBits m_countBits;
1181 BitVector m_CSSFeatureBits; 1171 BitVector m_CSSFeatureBits;
1182 }; 1172 };
1183 1173
1184 } // namespace blink 1174 } // namespace blink
1185 1175
1186 #endif // UseCounter_h 1176 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698