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