| 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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 AnimationPlayerSetStartTime = 546, | 515 AnimationPlayerSetStartTime = 546, |
| 516 AnimationPlayerGetCurrentTime = 547, | 516 AnimationPlayerGetCurrentTime = 547, |
| 517 AnimationPlayerSetCurrentTime = 548, | 517 AnimationPlayerSetCurrentTime = 548, |
| 518 AnimationPlayerGetPlaybackRate = 549, | 518 AnimationPlayerGetPlaybackRate = 549, |
| 519 AnimationPlayerSetPlaybackRate = 550, | 519 AnimationPlayerSetPlaybackRate = 550, |
| 520 AnimationPlayerGetPlayState = 551, | 520 AnimationPlayerGetPlayState = 551, |
| 521 AnimationPlayerFinish = 552, | 521 AnimationPlayerFinish = 552, |
| 522 AnimationPlayerPlay = 553, | 522 AnimationPlayerPlay = 553, |
| 523 AnimationPlayerPause = 554, | 523 AnimationPlayerPause = 554, |
| 524 AnimationPlayerReverse = 555, | 524 AnimationPlayerReverse = 555, |
| 525 BreakIterator = 556, |
| 525 // Add new features immediately above this line. Don't change assigned | 526 // Add new features immediately above this line. Don't change assigned |
| 526 // numbers of any item, and don't reuse removed slots. | 527 // numbers of any item, and don't reuse removed slots. |
| 527 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 528 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 528 // to update the UMA mapping. | 529 // to update the UMA mapping. |
| 529 NumberOfFeatures, // This enum value must be last. | 530 NumberOfFeatures, // This enum value must be last. |
| 530 }; | 531 }; |
| 531 | 532 |
| 532 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 533 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 533 static void count(const Document&, Feature); | 534 static void count(const Document&, Feature); |
| 534 // This doesn't count for ExecutionContexts for shared workers and service | 535 // This doesn't count for ExecutionContexts for shared workers and service |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 | 586 |
| 586 void updateMeasurements(); | 587 void updateMeasurements(); |
| 587 | 588 |
| 588 OwnPtr<BitVector> m_countBits; | 589 OwnPtr<BitVector> m_countBits; |
| 589 BitVector m_CSSFeatureBits; | 590 BitVector m_CSSFeatureBits; |
| 590 }; | 591 }; |
| 591 | 592 |
| 592 } // namespace blink | 593 } // namespace blink |
| 593 | 594 |
| 594 #endif // UseCounter_h | 595 #endif // UseCounter_h |
| OLD | NEW |