| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 BeforeLoadEventInIsolatedWorld, |
| 226 PrefixedAudioDecodedByteCount, |
| 227 PrefixedVideoDecodedByteCount, |
| 226 // Add new features immediately above this line. Don't change assigned | 228 // Add new features immediately above this line. Don't change assigned |
| 227 // numbers of each items, and don't reuse unused slots. | 229 // numbers of each items, and don't reuse unused slots. |
| 228 NumberOfFeatures, // This enum value must be last. | 230 NumberOfFeatures, // This enum value must be last. |
| 229 }; | 231 }; |
| 230 | 232 |
| 231 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 233 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 232 static void count(const Document&, Feature); | 234 static void count(const Document&, Feature); |
| 233 static void count(const DOMWindow*, Feature); | 235 static void count(const DOMWindow*, Feature); |
| 234 void count(CSSParserContext, CSSPropertyID); | 236 void count(CSSParserContext, CSSPropertyID); |
| 235 void count(Feature); | 237 void count(Feature); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 | 273 |
| 272 void updateMeasurements(); | 274 void updateMeasurements(); |
| 273 | 275 |
| 274 OwnPtr<BitVector> m_countBits; | 276 OwnPtr<BitVector> m_countBits; |
| 275 BitVector m_CSSFeatureBits; | 277 BitVector m_CSSFeatureBits; |
| 276 }; | 278 }; |
| 277 | 279 |
| 278 } // namespace WebCore | 280 } // namespace WebCore |
| 279 | 281 |
| 280 #endif // UseCounter_h | 282 #endif // UseCounter_h |
| OLD | NEW |