Chromium Code Reviews| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 228 PrefixedVideoSupportsFullscreen, | 228 PrefixedVideoSupportsFullscreen, |
| 229 PrefixedVideoDisplayingFullscreen, | 229 PrefixedVideoDisplayingFullscreen, |
| 230 PrefixedVideoEnterFullscreen, | 230 PrefixedVideoEnterFullscreen, |
| 231 PrefixedVideoExitFullscreen, | 231 PrefixedVideoExitFullscreen, |
| 232 PrefixedVideoEnterFullScreen, | 232 PrefixedVideoEnterFullScreen, |
| 233 PrefixedVideoExitFullScreen, | 233 PrefixedVideoExitFullScreen, |
| 234 PrefixedVideoDecodedFrameCount, | 234 PrefixedVideoDecodedFrameCount, |
| 235 PrefixedVideoDroppedFrameCount, | 235 PrefixedVideoDroppedFrameCount, |
| 236 SourceElementCandidate, | 236 SourceElementCandidate, |
| 237 SourceElementNonMatchingMedia, | 237 SourceElementNonMatchingMedia, |
| 238 PrefixedElementRequestFullscreen, | |
|
jochen (gone - plz use gerrit)
2013/10/23 09:37:03
maybe we should add Mozilla and W3C suffixes as op
philipj_slow
2013/10/23 09:41:31
I wanted to be consistent (um) with PrefixedVideo*
| |
| 239 PrefixedElementRequestFullScreen, | |
| 238 // Add new features immediately above this line. Don't change assigned | 240 // Add new features immediately above this line. Don't change assigned |
| 239 // numbers of each items, and don't reuse unused slots. | 241 // numbers of each items, and don't reuse unused slots. |
| 240 NumberOfFeatures, // This enum value must be last. | 242 NumberOfFeatures, // This enum value must be last. |
| 241 }; | 243 }; |
| 242 | 244 |
| 243 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 245 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 244 static void count(const Document&, Feature); | 246 static void count(const Document&, Feature); |
| 245 static void count(const DOMWindow*, Feature); | 247 static void count(const DOMWindow*, Feature); |
| 246 void count(CSSParserContext, CSSPropertyID); | 248 void count(CSSParserContext, CSSPropertyID); |
| 247 void count(Feature); | 249 void count(Feature); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 283 | 285 |
| 284 void updateMeasurements(); | 286 void updateMeasurements(); |
| 285 | 287 |
| 286 OwnPtr<BitVector> m_countBits; | 288 OwnPtr<BitVector> m_countBits; |
| 287 BitVector m_CSSFeatureBits; | 289 BitVector m_CSSFeatureBits; |
| 288 }; | 290 }; |
| 289 | 291 |
| 290 } // namespace WebCore | 292 } // namespace WebCore |
| 291 | 293 |
| 292 #endif // UseCounter_h | 294 #endif // UseCounter_h |
| OLD | NEW |