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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 PrefixedMutationObserverConstructor = 362, | 372 PrefixedMutationObserverConstructor = 362, |
373 PrefixedIDBCursorConstructor = 363, | 373 PrefixedIDBCursorConstructor = 363, |
374 PrefixedIDBDatabaseConstructor = 364, | 374 PrefixedIDBDatabaseConstructor = 364, |
375 PrefixedIDBFactoryConstructor = 365, | 375 PrefixedIDBFactoryConstructor = 365, |
376 PrefixedIDBIndexConstructor = 366, | 376 PrefixedIDBIndexConstructor = 366, |
377 PrefixedIDBKeyRangeConstructor = 367, | 377 PrefixedIDBKeyRangeConstructor = 367, |
378 PrefixedIDBObjectStoreConstructor = 368, | 378 PrefixedIDBObjectStoreConstructor = 368, |
379 PrefixedIDBRequestConstructor = 369, | 379 PrefixedIDBRequestConstructor = 369, |
380 PrefixedIDBTransactionConstructor = 370, | 380 PrefixedIDBTransactionConstructor = 370, |
381 NotificationPermission = 371, | 381 NotificationPermission = 371, |
| 382 RangeDetach = 372, |
382 // Add new features immediately above this line. Don't change assigned | 383 // Add new features immediately above this line. Don't change assigned |
383 // numbers of any item, and don't reuse removed slots. | 384 // numbers of any item, and don't reuse removed slots. |
384 NumberOfFeatures, // This enum value must be last. | 385 NumberOfFeatures, // This enum value must be last. |
385 }; | 386 }; |
386 | 387 |
387 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 388 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
388 static void count(const Document&, Feature); | 389 static void count(const Document&, Feature); |
389 static void count(const ExecutionContext*, Feature); | 390 static void count(const ExecutionContext*, Feature); |
390 void count(CSSParserContext, CSSPropertyID); | 391 void count(CSSParserContext, CSSPropertyID); |
391 void count(Feature); | 392 void count(Feature); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 | 435 |
435 void updateMeasurements(); | 436 void updateMeasurements(); |
436 | 437 |
437 OwnPtr<BitVector> m_countBits; | 438 OwnPtr<BitVector> m_countBits; |
438 BitVector m_CSSFeatureBits; | 439 BitVector m_CSSFeatureBits; |
439 }; | 440 }; |
440 | 441 |
441 } // namespace WebCore | 442 } // namespace WebCore |
442 | 443 |
443 #endif // UseCounter_h | 444 #endif // UseCounter_h |
OLD | NEW |