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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 RangeDetach = 372, |
| 383 DocumentImportNodeOptionalArgument = 373, |
383 // Add new features immediately above this line. Don't change assigned | 384 // Add new features immediately above this line. Don't change assigned |
384 // numbers of any item, and don't reuse removed slots. | 385 // numbers of any item, and don't reuse removed slots. |
385 NumberOfFeatures, // This enum value must be last. | 386 NumberOfFeatures, // This enum value must be last. |
386 }; | 387 }; |
387 | 388 |
388 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 389 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
389 static void count(const Document&, Feature); | 390 static void count(const Document&, Feature); |
390 static void count(const ExecutionContext*, Feature); | 391 static void count(const ExecutionContext*, Feature); |
391 void count(CSSParserContext, CSSPropertyID); | 392 void count(CSSParserContext, CSSPropertyID); |
392 void count(Feature); | 393 void count(Feature); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 | 436 |
436 void updateMeasurements(); | 437 void updateMeasurements(); |
437 | 438 |
438 OwnPtr<BitVector> m_countBits; | 439 OwnPtr<BitVector> m_countBits; |
439 BitVector m_CSSFeatureBits; | 440 BitVector m_CSSFeatureBits; |
440 }; | 441 }; |
441 | 442 |
442 } // namespace WebCore | 443 } // namespace WebCore |
443 | 444 |
444 #endif // UseCounter_h | 445 #endif // UseCounter_h |
OLD | NEW |