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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 226 PrefixedAudioDecodedByteCount, |
227 PrefixedVideoDecodedByteCount, | 227 PrefixedVideoDecodedByteCount, |
| 228 PrefixedVideoSupportsFullscreen, |
| 229 PrefixedVideoDisplayingFullscreen, |
| 230 PrefixedVideoEnterFullscreen, |
| 231 PrefixedVideoExitFullscreen, |
| 232 PrefixedVideoEnterFullScreen, |
| 233 PrefixedVideoExitFullScreen, |
| 234 PrefixedVideoDecodedFrameCount, |
| 235 PrefixedVideoDroppedFrameCount, |
228 // Add new features immediately above this line. Don't change assigned | 236 // Add new features immediately above this line. Don't change assigned |
229 // numbers of each items, and don't reuse unused slots. | 237 // numbers of each items, and don't reuse unused slots. |
230 NumberOfFeatures, // This enum value must be last. | 238 NumberOfFeatures, // This enum value must be last. |
231 }; | 239 }; |
232 | 240 |
233 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 241 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
234 static void count(const Document&, Feature); | 242 static void count(const Document&, Feature); |
235 static void count(const DOMWindow*, Feature); | 243 static void count(const DOMWindow*, Feature); |
236 void count(CSSParserContext, CSSPropertyID); | 244 void count(CSSParserContext, CSSPropertyID); |
237 void count(Feature); | 245 void count(Feature); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 | 281 |
274 void updateMeasurements(); | 282 void updateMeasurements(); |
275 | 283 |
276 OwnPtr<BitVector> m_countBits; | 284 OwnPtr<BitVector> m_countBits; |
277 BitVector m_CSSFeatureBits; | 285 BitVector m_CSSFeatureBits; |
278 }; | 286 }; |
279 | 287 |
280 } // namespace WebCore | 288 } // namespace WebCore |
281 | 289 |
282 #endif // UseCounter_h | 290 #endif // UseCounter_h |
OLD | NEW |