| 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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 EventClipboardData = 346, | 357 EventClipboardData = 346, |
| 358 NodeIteratorDetach = 347, | 358 NodeIteratorDetach = 347, |
| 359 AttrNodeValue = 348, | 359 AttrNodeValue = 348, |
| 360 AttrTextContent = 349, | 360 AttrTextContent = 349, |
| 361 EventGetReturnValueTrue = 350, | 361 EventGetReturnValueTrue = 350, |
| 362 EventGetReturnValueFalse = 351, | 362 EventGetReturnValueFalse = 351, |
| 363 EventSetReturnValueTrue = 352, | 363 EventSetReturnValueTrue = 352, |
| 364 EventSetReturnValueFalse = 353, | 364 EventSetReturnValueFalse = 353, |
| 365 NodeIteratorExpandEntityReferences = 354, | 365 NodeIteratorExpandEntityReferences = 354, |
| 366 TreeWalkerExpandEntityReferences = 355, | 366 TreeWalkerExpandEntityReferences = 355, |
| 367 WindowOffscreenBuffering = 356, |
| 368 WindowDefaultStatus = 357, |
| 369 WindowDefaultstatus = 358, |
| 370 PrefixedConvertPointFromPageToNode = 359, |
| 371 PrefixedConvertPointFromNodeToPage = 360, |
| 372 PrefixedTransitionEventConstructor = 361, |
| 373 PrefixedMutationObserverConstructor = 362, |
| 374 PrefixedIDBCursorConstructor = 363, |
| 375 PrefixedIDBDatabaseConstructor = 364, |
| 376 PrefixedIDBFactoryConstructor = 365, |
| 377 PrefixedIDBIndexConstructor = 366, |
| 378 PrefixedIDBKeyRangeConstructor = 367, |
| 379 PrefixedIDBObjectStoreConstructor = 368, |
| 380 PrefixedIDBRequestConstructor = 369, |
| 381 PrefixedIDBTransactionConstructor = 370, |
| 367 // Add new features immediately above this line. Don't change assigned | 382 // Add new features immediately above this line. Don't change assigned |
| 368 // numbers of any item, and don't reuse removed slots. | 383 // numbers of any item, and don't reuse removed slots. |
| 369 NumberOfFeatures, // This enum value must be last. | 384 NumberOfFeatures, // This enum value must be last. |
| 370 }; | 385 }; |
| 371 | 386 |
| 372 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 387 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 373 static void count(const Document&, Feature); | 388 static void count(const Document&, Feature); |
| 374 static void count(const ExecutionContext*, Feature); | 389 static void count(const ExecutionContext*, Feature); |
| 375 void count(CSSParserContext, CSSPropertyID); | 390 void count(CSSParserContext, CSSPropertyID); |
| 376 void count(Feature); | 391 void count(Feature); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 | 434 |
| 420 void updateMeasurements(); | 435 void updateMeasurements(); |
| 421 | 436 |
| 422 OwnPtr<BitVector> m_countBits; | 437 OwnPtr<BitVector> m_countBits; |
| 423 BitVector m_CSSFeatureBits; | 438 BitVector m_CSSFeatureBits; |
| 424 }; | 439 }; |
| 425 | 440 |
| 426 } // namespace WebCore | 441 } // namespace WebCore |
| 427 | 442 |
| 428 #endif // UseCounter_h | 443 #endif // UseCounter_h |
| OLD | NEW |