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

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

Issue 173023004: Remove unused UseCounter features (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 65 LegacyNotifications = 1,
66 MultipartMainResource = 2,
67 PrefixedIndexedDB = 3, 66 PrefixedIndexedDB = 3,
68 WorkerStart = 4, 67 WorkerStart = 4,
69 SharedWorkerStart = 5, 68 SharedWorkerStart = 5,
70 LegacyWebAudio = 6, 69 LegacyWebAudio = 6,
71 WebAudioStart = 7, 70 WebAudioStart = 7,
72 UnprefixedIndexedDB = 9, 71 UnprefixedIndexedDB = 9,
73 OpenWebDatabase = 10, 72 OpenWebDatabase = 10,
74 LegacyTextNotifications = 12, 73 LegacyTextNotifications = 12,
75 UnprefixedRequestAnimationFrame = 13, 74 UnprefixedRequestAnimationFrame = 13,
76 PrefixedRequestAnimationFrame = 14, 75 PrefixedRequestAnimationFrame = 14,
77 ContentSecurityPolicy = 15, 76 ContentSecurityPolicy = 15,
78 ContentSecurityPolicyReportOnly = 16, 77 ContentSecurityPolicyReportOnly = 16,
79 PrefixedTransitionEndEvent = 18, 78 PrefixedTransitionEndEvent = 18,
80 UnprefixedTransitionEndEvent = 19, 79 UnprefixedTransitionEndEvent = 19,
81 PrefixedAndUnprefixedTransitionEndEvent = 20, 80 PrefixedAndUnprefixedTransitionEndEvent = 20,
82 AutoFocusAttribute = 21, 81 AutoFocusAttribute = 21,
83 DataListElement = 23, 82 DataListElement = 23,
84 FormAttribute = 24, 83 FormAttribute = 24,
85 IncrementalAttribute = 25, 84 IncrementalAttribute = 25,
86 InputTypeColor = 26, 85 InputTypeColor = 26,
87 InputTypeDate = 27, 86 InputTypeDate = 27,
88 InputTypeDateTime = 28,
89 InputTypeDateTimeFallback = 29, 87 InputTypeDateTimeFallback = 29,
90 InputTypeDateTimeLocal = 30, 88 InputTypeDateTimeLocal = 30,
91 InputTypeEmail = 31, 89 InputTypeEmail = 31,
92 InputTypeMonth = 32, 90 InputTypeMonth = 32,
93 InputTypeNumber = 33, 91 InputTypeNumber = 33,
94 InputTypeRange = 34, 92 InputTypeRange = 34,
95 InputTypeSearch = 35, 93 InputTypeSearch = 35,
96 InputTypeTel = 36, 94 InputTypeTel = 36,
97 InputTypeTime = 37, 95 InputTypeTime = 37,
98 InputTypeURL = 38, 96 InputTypeURL = 38,
(...skipping 26 matching lines...) Expand all
125 WindowEvent = 69, 123 WindowEvent = 69,
126 ContentSecurityPolicyWithBaseElement = 70, 124 ContentSecurityPolicyWithBaseElement = 70,
127 PrefixedMediaAddKey = 71, 125 PrefixedMediaAddKey = 71,
128 PrefixedMediaGenerateKeyRequest = 72, 126 PrefixedMediaGenerateKeyRequest = 72,
129 DocumentClear = 74, 127 DocumentClear = 74,
130 SVGFontElement = 76, 128 SVGFontElement = 76,
131 XMLDocument = 77, 129 XMLDocument = 77,
132 XSLProcessingInstruction = 78, 130 XSLProcessingInstruction = 78,
133 XSLTProcessor = 79, 131 XSLTProcessor = 79,
134 SVGSwitchElement = 80, 132 SVGSwitchElement = 80,
135 HTMLShadowElementOlderShadowRoot = 82,
136 DocumentAll = 83, 133 DocumentAll = 83,
137 FormElement = 84, 134 FormElement = 84,
138 DemotedFormElement = 85, 135 DemotedFormElement = 85,
139 CaptureAttributeAsEnum = 86, 136 CaptureAttributeAsEnum = 86,
140 ShadowDOMPrefixedPseudo = 87,
141 ShadowDOMPrefixedCreateShadowRoot = 88, 137 ShadowDOMPrefixedCreateShadowRoot = 88,
142 ShadowDOMPrefixedShadowRoot = 89, 138 ShadowDOMPrefixedShadowRoot = 89,
143 SVGAnimationElement = 90, 139 SVGAnimationElement = 90,
144 KeyboardEventKeyLocation = 91, 140 KeyboardEventKeyLocation = 91,
145 CaptureEvents = 92, 141 CaptureEvents = 92,
146 ReleaseEvents = 93, 142 ReleaseEvents = 93,
147 CSSDisplayRunIn = 94,
148 CSSDisplayCompact = 95,
149 LineClamp = 96, 143 LineClamp = 96,
150 SubFrameBeforeUnloadRegistered = 97, 144 SubFrameBeforeUnloadRegistered = 97,
151 SubFrameBeforeUnloadFired = 98, 145 SubFrameBeforeUnloadFired = 98,
152 CSSPseudoElementPrefixedDistributed = 99, 146 CSSPseudoElementPrefixedDistributed = 99,
153 TextReplaceWholeText = 100, 147 TextReplaceWholeText = 100,
154 PrefixedShadowRootConstructor = 101, 148 PrefixedShadowRootConstructor = 101,
155 ConsoleMarkTimeline = 102, 149 ConsoleMarkTimeline = 102,
156 CSSPseudoElementUserAgentCustomPseudo = 103, 150 CSSPseudoElementUserAgentCustomPseudo = 103,
157 DocumentTypeEntities = 104, // Removed from DOM4.
158 DocumentTypeInternalSubset = 105, // Removed from DOM4. 151 DocumentTypeInternalSubset = 105, // Removed from DOM4.
159 DocumentTypeNotations = 106, // Removed from DOM4.
160 ElementGetAttributeNode = 107, // Removed from DOM4. 152 ElementGetAttributeNode = 107, // Removed from DOM4.
161 ElementSetAttributeNode = 108, // Removed from DOM4. 153 ElementSetAttributeNode = 108, // Removed from DOM4.
162 ElementRemoveAttributeNode = 109, // Removed from DOM4. 154 ElementRemoveAttributeNode = 109, // Removed from DOM4.
163 ElementGetAttributeNodeNS = 110, // Removed from DOM4. 155 ElementGetAttributeNodeNS = 110, // Removed from DOM4.
164 DocumentCreateAttribute = 111, // Removed from DOM4. 156 DocumentCreateAttribute = 111, // Removed from DOM4.
165 DocumentCreateCDATASection = 113, // Removed from DOM4. 157 DocumentCreateCDATASection = 113, // Removed from DOM4.
166 DocumentInputEncoding = 114, // Removed from DOM4. 158 DocumentInputEncoding = 114, // Removed from DOM4.
167 DocumentXMLEncoding = 115, // Removed from DOM4. 159 DocumentXMLEncoding = 115, // Removed from DOM4.
168 DocumentXMLStandalone = 116, // Removed from DOM4. 160 DocumentXMLStandalone = 116, // Removed from DOM4.
169 DocumentXMLVersion = 117, // Removed from DOM4. 161 DocumentXMLVersion = 117, // Removed from DOM4.
(...skipping 26 matching lines...) Expand all
196 DOMNodeRemovedFromDocumentEvent = 146, 188 DOMNodeRemovedFromDocumentEvent = 146,
197 DOMNodeInsertedIntoDocumentEvent = 147, 189 DOMNodeInsertedIntoDocumentEvent = 147,
198 DOMCharacterDataModifiedEvent = 148, 190 DOMCharacterDataModifiedEvent = 148,
199 DocumentAllLegacyCall = 150, 191 DocumentAllLegacyCall = 150,
200 HTMLAppletElementLegacyCall = 151, 192 HTMLAppletElementLegacyCall = 151,
201 HTMLEmbedElementLegacyCall = 152, 193 HTMLEmbedElementLegacyCall = 152,
202 HTMLObjectElementLegacyCall = 153, 194 HTMLObjectElementLegacyCall = 153,
203 BeforeLoadEvent = 154, 195 BeforeLoadEvent = 154,
204 GetMatchedCSSRules = 155, 196 GetMatchedCSSRules = 155,
205 SVGFontInCSS = 156, 197 SVGFontInCSS = 156,
206 ScrollTopBodyNotQuirksMode = 157,
207 ScrollLeftBodyNotQuirksMode = 158,
208 AttributeSpecified = 162, // Removed in DOM4. 198 AttributeSpecified = 162, // Removed in DOM4.
209 BeforeLoadEventInIsolatedWorld = 163, 199 BeforeLoadEventInIsolatedWorld = 163,
210 PrefixedAudioDecodedByteCount = 164, 200 PrefixedAudioDecodedByteCount = 164,
211 PrefixedVideoDecodedByteCount = 165, 201 PrefixedVideoDecodedByteCount = 165,
212 PrefixedVideoSupportsFullscreen = 166, 202 PrefixedVideoSupportsFullscreen = 166,
213 PrefixedVideoDisplayingFullscreen = 167, 203 PrefixedVideoDisplayingFullscreen = 167,
214 PrefixedVideoEnterFullscreen = 168, 204 PrefixedVideoEnterFullscreen = 168,
215 PrefixedVideoExitFullscreen = 169, 205 PrefixedVideoExitFullscreen = 169,
216 PrefixedVideoEnterFullScreen = 170, 206 PrefixedVideoEnterFullScreen = 170,
217 PrefixedVideoExitFullScreen = 171, 207 PrefixedVideoExitFullScreen = 171,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 350
361 void updateMeasurements(); 351 void updateMeasurements();
362 352
363 OwnPtr<BitVector> m_countBits; 353 OwnPtr<BitVector> m_countBits;
364 BitVector m_CSSFeatureBits; 354 BitVector m_CSSFeatureBits;
365 }; 355 };
366 356
367 } // namespace WebCore 357 } // namespace WebCore
368 358
369 #endif // UseCounter_h 359 #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