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/page/UseCounter.h

Issue 22816007: Measure usage for Node API removed from DOM4 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« Source/core/dom/Node.idl ('K') | « Source/core/dom/Node.idl ('k') | no next file » | 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 CSSDisplayRunIn, 156 CSSDisplayRunIn,
157 CSSDisplayCompact, 157 CSSDisplayCompact,
158 LineClamp, 158 LineClamp,
159 SubFrameBeforeUnloadRegistered, 159 SubFrameBeforeUnloadRegistered,
160 SubFrameBeforeUnloadFired, 160 SubFrameBeforeUnloadFired,
161 CSSPseudoElementPrefixedDistributed, 161 CSSPseudoElementPrefixedDistributed,
162 TextReplaceWholeText, 162 TextReplaceWholeText,
163 PrefixedShadowRootConstructor, 163 PrefixedShadowRootConstructor,
164 ConsoleMarkTimeline, 164 ConsoleMarkTimeline,
165 CSSPseudoElementUserAgentCustomPseudo, 165 CSSPseudoElementUserAgentCustomPseudo,
166 NodeIsSameNode, // Removed from DOM4.
167 NodeIsSupported, // Removed from DOM4.
168 NodeLocalName, // Removed from DOM4.
169 NodeNamespaceURI, // Removed from DOM4.
170 NodePrefix, // Removed from DOM4.
166 // Add new features immediately above this line. Don't change assigned 171 // Add new features immediately above this line. Don't change assigned
167 // numbers of each items, and don't reuse unused slots. 172 // numbers of each items, and don't reuse unused slots.
168 NumberOfFeatures, // This enum value must be last. 173 NumberOfFeatures, // This enum value must be last.
169 }; 174 };
170 175
171 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 176 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
172 static void count(Document*, Feature); 177 static void count(Document*, Feature);
173 static void count(DOMWindow*, Feature); 178 static void count(DOMWindow*, Feature);
174 void count(CSSPropertyID); 179 void count(CSSPropertyID);
175 void count(Feature); 180 void count(Feature);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 216
212 void updateMeasurements(); 217 void updateMeasurements();
213 218
214 OwnPtr<BitVector> m_countBits; 219 OwnPtr<BitVector> m_countBits;
215 BitVector m_CSSFeatureBits; 220 BitVector m_CSSFeatureBits;
216 }; 221 };
217 222
218 } // namespace WebCore 223 } // namespace WebCore
219 224
220 #endif // UseCounter_h 225 #endif // UseCounter_h
OLDNEW
« Source/core/dom/Node.idl ('K') | « Source/core/dom/Node.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698