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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 BreakIterator = 556, |
| 526 ScreenOrientationAngle = 557, |
| 527 ScreenOrientationType = 558, |
| 528 ScreenOrientationLock = 559, |
| 529 ScreenOrientationUnlock = 560, |
526 // Add new features immediately above this line. Don't change assigned | 530 // Add new features immediately above this line. Don't change assigned |
527 // numbers of any item, and don't reuse removed slots. | 531 // numbers of any item, and don't reuse removed slots. |
528 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 532 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
529 // to update the UMA mapping. | 533 // to update the UMA mapping. |
530 NumberOfFeatures, // This enum value must be last. | 534 NumberOfFeatures, // This enum value must be last. |
531 }; | 535 }; |
532 | 536 |
533 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 537 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
534 static void count(const Document&, Feature); | 538 static void count(const Document&, Feature); |
535 // This doesn't count for ExecutionContexts for shared workers and service | 539 // This doesn't count for ExecutionContexts for shared workers and service |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 | 590 |
587 void updateMeasurements(); | 591 void updateMeasurements(); |
588 | 592 |
589 OwnPtr<BitVector> m_countBits; | 593 OwnPtr<BitVector> m_countBits; |
590 BitVector m_CSSFeatureBits; | 594 BitVector m_CSSFeatureBits; |
591 }; | 595 }; |
592 | 596 |
593 } // namespace blink | 597 } // namespace blink |
594 | 598 |
595 #endif // UseCounter_h | 599 #endif // UseCounter_h |
OLD | NEW |