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

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

Issue 263503002: Remove unused UseCounter features (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class UseCounter { 55 class UseCounter {
56 WTF_MAKE_NONCOPYABLE(UseCounter); 56 WTF_MAKE_NONCOPYABLE(UseCounter);
57 public: 57 public:
58 UseCounter(); 58 UseCounter();
59 ~UseCounter(); 59 ~UseCounter();
60 60
61 enum Feature { 61 enum Feature {
62 // Do not change assigned numbers of existing items: add new features 62 // Do not change assigned numbers of existing items: add new features
63 // to the end of the list. 63 // to the end of the list.
64 PageDestruction = 0, 64 PageDestruction = 0,
65 LegacyNotifications = 1,
66 PrefixedIndexedDB = 3, 65 PrefixedIndexedDB = 3,
67 WorkerStart = 4, 66 WorkerStart = 4,
68 SharedWorkerStart = 5, 67 SharedWorkerStart = 5,
69 LegacyWebAudio = 6,
70 WebAudioStart = 7,
71 UnprefixedIndexedDB = 9, 68 UnprefixedIndexedDB = 9,
72 OpenWebDatabase = 10, 69 OpenWebDatabase = 10,
73 LegacyTextNotifications = 12,
74 UnprefixedRequestAnimationFrame = 13, 70 UnprefixedRequestAnimationFrame = 13,
75 PrefixedRequestAnimationFrame = 14, 71 PrefixedRequestAnimationFrame = 14,
76 ContentSecurityPolicy = 15, 72 ContentSecurityPolicy = 15,
77 ContentSecurityPolicyReportOnly = 16, 73 ContentSecurityPolicyReportOnly = 16,
78 PrefixedTransitionEndEvent = 18, 74 PrefixedTransitionEndEvent = 18,
79 UnprefixedTransitionEndEvent = 19, 75 UnprefixedTransitionEndEvent = 19,
80 PrefixedAndUnprefixedTransitionEndEvent = 20, 76 PrefixedAndUnprefixedTransitionEndEvent = 20,
81 AutoFocusAttribute = 21, 77 AutoFocusAttribute = 21,
82 DataListElement = 23, 78 DataListElement = 23,
83 FormAttribute = 24, 79 FormAttribute = 24,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 DocumentAll = 83, 128 DocumentAll = 83,
133 FormElement = 84, 129 FormElement = 84,
134 DemotedFormElement = 85, 130 DemotedFormElement = 85,
135 CaptureAttributeAsEnum = 86, 131 CaptureAttributeAsEnum = 86,
136 SVGAnimationElement = 90, 132 SVGAnimationElement = 90,
137 KeyboardEventKeyLocation = 91, 133 KeyboardEventKeyLocation = 91,
138 LineClamp = 96, 134 LineClamp = 96,
139 SubFrameBeforeUnloadRegistered = 97, 135 SubFrameBeforeUnloadRegistered = 97,
140 SubFrameBeforeUnloadFired = 98, 136 SubFrameBeforeUnloadFired = 98,
141 TextReplaceWholeText = 100, 137 TextReplaceWholeText = 100,
142 PrefixedShadowRootConstructor = 101,
143 ConsoleMarkTimeline = 102, 138 ConsoleMarkTimeline = 102,
144 CSSPseudoElementUserAgentCustomPseudo = 103, 139 CSSPseudoElementUserAgentCustomPseudo = 103,
145 DocumentTypeInternalSubset = 105, // Removed from DOM4. 140 DocumentTypeInternalSubset = 105, // Removed from DOM4.
146 ElementGetAttributeNode = 107, // Removed from DOM4. 141 ElementGetAttributeNode = 107, // Removed from DOM4.
147 ElementSetAttributeNode = 108, // Removed from DOM4. 142 ElementSetAttributeNode = 108, // Removed from DOM4.
148 ElementRemoveAttributeNode = 109, // Removed from DOM4. 143 ElementRemoveAttributeNode = 109, // Removed from DOM4.
149 ElementGetAttributeNodeNS = 110, // Removed from DOM4. 144 ElementGetAttributeNodeNS = 110, // Removed from DOM4.
150 DocumentCreateAttribute = 111, // Removed from DOM4. 145 DocumentCreateAttribute = 111, // Removed from DOM4.
151 DocumentCreateAttributeNS = 112, // Removed from DOM4. 146 DocumentCreateAttributeNS = 112, // Removed from DOM4.
152 DocumentCreateCDATASection = 113, // Removed from DOM4. 147 DocumentCreateCDATASection = 113, // Removed from DOM4.
(...skipping 13 matching lines...) Expand all
166 UnprefixedAnimationEndEvent = 129, 161 UnprefixedAnimationEndEvent = 129,
167 PrefixedAndUnprefixedAnimationEndEvent = 130, 162 PrefixedAndUnprefixedAnimationEndEvent = 130,
168 PrefixedAnimationStartEvent = 131, 163 PrefixedAnimationStartEvent = 131,
169 UnprefixedAnimationStartEvent = 132, 164 UnprefixedAnimationStartEvent = 132,
170 PrefixedAndUnprefixedAnimationStartEvent = 133, 165 PrefixedAndUnprefixedAnimationStartEvent = 133,
171 PrefixedAnimationIterationEvent = 134, 166 PrefixedAnimationIterationEvent = 134,
172 UnprefixedAnimationIterationEvent = 135, 167 UnprefixedAnimationIterationEvent = 135,
173 PrefixedAndUnprefixedAnimationIterationEvent = 136, 168 PrefixedAndUnprefixedAnimationIterationEvent = 136,
174 EventReturnValue = 137, // Legacy IE extension. 169 EventReturnValue = 137, // Legacy IE extension.
175 SVGSVGElement = 138, 170 SVGSVGElement = 138,
176 SVGAnimateColorElement = 139,
177 InsertAdjacentText = 140, 171 InsertAdjacentText = 140,
178 InsertAdjacentElement = 141, 172 InsertAdjacentElement = 141,
179 HasAttributes = 142, // Removed from DOM4. 173 HasAttributes = 142, // Removed from DOM4.
180 DOMSubtreeModifiedEvent = 143, 174 DOMSubtreeModifiedEvent = 143,
181 DOMNodeInsertedEvent = 144, 175 DOMNodeInsertedEvent = 144,
182 DOMNodeRemovedEvent = 145, 176 DOMNodeRemovedEvent = 145,
183 DOMNodeRemovedFromDocumentEvent = 146, 177 DOMNodeRemovedFromDocumentEvent = 146,
184 DOMNodeInsertedIntoDocumentEvent = 147, 178 DOMNodeInsertedIntoDocumentEvent = 147,
185 DOMCharacterDataModifiedEvent = 148, 179 DOMCharacterDataModifiedEvent = 148,
186 DocumentAllLegacyCall = 150, 180 DocumentAllLegacyCall = 150,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 CanPlayTypeKeySystem = 232, 246 CanPlayTypeKeySystem = 232,
253 PrefixedDevicePixelRatioMediaFeature = 233, 247 PrefixedDevicePixelRatioMediaFeature = 233,
254 PrefixedMaxDevicePixelRatioMediaFeature = 234, 248 PrefixedMaxDevicePixelRatioMediaFeature = 234,
255 PrefixedMinDevicePixelRatioMediaFeature = 235, 249 PrefixedMinDevicePixelRatioMediaFeature = 235,
256 PrefixedTransform2dMediaFeature = 236, 250 PrefixedTransform2dMediaFeature = 236,
257 PrefixedTransform3dMediaFeature = 237, 251 PrefixedTransform3dMediaFeature = 237,
258 PrefixedAnimationMediaFeature = 238, 252 PrefixedAnimationMediaFeature = 238,
259 PrefixedViewModeMediaFeature = 239, 253 PrefixedViewModeMediaFeature = 239,
260 PrefixedStorageQuota = 240, 254 PrefixedStorageQuota = 240,
261 ContentSecurityPolicyReportOnlyInMeta = 241, 255 ContentSecurityPolicyReportOnlyInMeta = 241,
262 PrefixedMediaSourceOpen = 242,
263 ResetReferrerPolicy = 243, 256 ResetReferrerPolicy = 243,
264 CaseInsensitiveAttrSelectorMatch = 244, // Case-insensitivity dropped fr om specification. 257 CaseInsensitiveAttrSelectorMatch = 244, // Case-insensitivity dropped fr om specification.
265 CaptureAttributeAsBoolean = 245, 258 CaptureAttributeAsBoolean = 245,
266 FormNameAccessForImageElement = 246, 259 FormNameAccessForImageElement = 246,
267 FormNameAccessForPastNamesMap = 247, 260 FormNameAccessForPastNamesMap = 247,
268 FormAssociationByParser = 248, 261 FormAssociationByParser = 248,
269 SVGSVGElementInDocument = 250, 262 SVGSVGElementInDocument = 250,
270 SVGDocumentRootElement = 251, 263 SVGDocumentRootElement = 251,
271 DocumentCreateEventOptionalArgument = 252, 264 DocumentCreateEventOptionalArgument = 252,
272 MediaErrorEncrypted = 253, 265 MediaErrorEncrypted = 253,
(...skipping 11 matching lines...) Expand all
284 UnprefixedImageSmoothingEnabled = 268, 277 UnprefixedImageSmoothingEnabled = 268,
285 PromiseConstructor = 270, 278 PromiseConstructor = 270,
286 PromiseCast = 271, 279 PromiseCast = 271,
287 PromiseReject = 272, 280 PromiseReject = 272,
288 PromiseResolve = 273, 281 PromiseResolve = 273,
289 // The above items are available in M34 branch. 282 // The above items are available in M34 branch.
290 283
291 TextAutosizing = 274, 284 TextAutosizing = 274,
292 TextAutosizingLayout = 275, 285 TextAutosizingLayout = 275,
293 HTMLAnchorElementPingAttribute = 276, 286 HTMLAnchorElementPingAttribute = 276,
294 JavascriptExhaustedMemory = 277,
295 InsertAdjacentHTML = 278, 287 InsertAdjacentHTML = 278,
296 SVGClassName = 279, 288 SVGClassName = 279,
297 HTMLAppletElement = 280, 289 HTMLAppletElement = 280,
298 HTMLMediaElementSeekToFragmentStart = 281, 290 HTMLMediaElementSeekToFragmentStart = 281,
299 HTMLMediaElementPauseAtFragmentEnd = 282, 291 HTMLMediaElementPauseAtFragmentEnd = 282,
300 PrefixedWindowURL = 283, 292 PrefixedWindowURL = 283,
301 PrefixedWorkerURL = 284, 293 PrefixedWorkerURL = 284,
302 WindowOrientation = 285, 294 WindowOrientation = 285,
303 DOMStringListContains = 286, 295 DOMStringListContains = 286,
304 DocumentCaptureEvents = 287, 296 DocumentCaptureEvents = 287,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 417
426 void updateMeasurements(); 418 void updateMeasurements();
427 419
428 OwnPtr<BitVector> m_countBits; 420 OwnPtr<BitVector> m_countBits;
429 BitVector m_CSSFeatureBits; 421 BitVector m_CSSFeatureBits;
430 }; 422 };
431 423
432 } // namespace WebCore 424 } // namespace WebCore
433 425
434 #endif // UseCounter_h 426 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698