OLD | NEW |
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 HTMLObjectElementLegacyCall, | 215 HTMLObjectElementLegacyCall, |
216 BeforeLoadEvent, | 216 BeforeLoadEvent, |
217 GetMatchedCSSRules, | 217 GetMatchedCSSRules, |
218 SVGFontInCSS, | 218 SVGFontInCSS, |
219 ScrollTopBodyNotQuirksMode, | 219 ScrollTopBodyNotQuirksMode, |
220 ScrollLeftBodyNotQuirksMode, | 220 ScrollLeftBodyNotQuirksMode, |
221 AttributeIsId, // Removed in DOM4. | 221 AttributeIsId, // Removed in DOM4. |
222 AttributeOwnerElement, // Removed in DOM4. | 222 AttributeOwnerElement, // Removed in DOM4. |
223 AttributeSetPrefix, // Attribute prefix is readonly in DOM4. | 223 AttributeSetPrefix, // Attribute prefix is readonly in DOM4. |
224 AttributeSpecified, // Removed in DOM4. | 224 AttributeSpecified, // Removed in DOM4. |
| 225 BeforeLoadEventInIsolatedWorld, |
225 // Add new features immediately above this line. Don't change assigned | 226 // Add new features immediately above this line. Don't change assigned |
226 // numbers of each items, and don't reuse unused slots. | 227 // numbers of each items, and don't reuse unused slots. |
227 NumberOfFeatures, // This enum value must be last. | 228 NumberOfFeatures, // This enum value must be last. |
228 }; | 229 }; |
229 | 230 |
230 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 231 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
231 static void count(const Document&, Feature); | 232 static void count(const Document&, Feature); |
232 static void count(const DOMWindow*, Feature); | 233 static void count(const DOMWindow*, Feature); |
233 void count(CSSParserContext, CSSPropertyID); | 234 void count(CSSParserContext, CSSPropertyID); |
234 void count(Feature); | 235 void count(Feature); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 271 |
271 void updateMeasurements(); | 272 void updateMeasurements(); |
272 | 273 |
273 OwnPtr<BitVector> m_countBits; | 274 OwnPtr<BitVector> m_countBits; |
274 BitVector m_CSSFeatureBits; | 275 BitVector m_CSSFeatureBits; |
275 }; | 276 }; |
276 | 277 |
277 } // namespace WebCore | 278 } // namespace WebCore |
278 | 279 |
279 #endif // UseCounter_h | 280 #endif // UseCounter_h |
OLD | NEW |