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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 V8StyleSheetList_Item_Method = 762, | 678 V8StyleSheetList_Item_Method = 762, |
679 StyleSheetListAnonymousNamedGetter = 763, | 679 StyleSheetListAnonymousNamedGetter = 763, |
680 AutocapitalizeAttribute = 764, | 680 AutocapitalizeAttribute = 764, |
681 FullscreenSecureOrigin = 765, | 681 FullscreenSecureOrigin = 765, |
682 FullscreenInsecureOrigin = 766, | 682 FullscreenInsecureOrigin = 766, |
683 DialogInSandboxedContext = 767, | 683 DialogInSandboxedContext = 767, |
684 SVGSMILAnimationInImageRegardlessOfCache = 768, | 684 SVGSMILAnimationInImageRegardlessOfCache = 768, |
685 PushSubscriptionId = 769, | 685 PushSubscriptionId = 769, |
686 EncryptedMediaSecureOrigin = 770, | 686 EncryptedMediaSecureOrigin = 770, |
687 EncryptedMediaInsecureOrigin = 771, | 687 EncryptedMediaInsecureOrigin = 771, |
| 688 PerformanceFrameTiming = 772, |
688 | 689 |
689 // Add new features immediately above this line. Don't change assigned | 690 // Add new features immediately above this line. Don't change assigned |
690 // numbers of any item, and don't reuse removed slots. | 691 // numbers of any item, and don't reuse removed slots. |
691 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 692 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
692 // to update the UMA mapping. | 693 // to update the UMA mapping. |
693 NumberOfFeatures, // This enum value must be last. | 694 NumberOfFeatures, // This enum value must be last. |
694 }; | 695 }; |
695 | 696 |
696 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 697 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
697 static void count(const Frame*, Feature); | 698 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 | 782 |
782 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 783 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
783 | 784 |
784 CountBits m_countBits; | 785 CountBits m_countBits; |
785 BitVector m_CSSFeatureBits; | 786 BitVector m_CSSFeatureBits; |
786 }; | 787 }; |
787 | 788 |
788 } // namespace blink | 789 } // namespace blink |
789 | 790 |
790 #endif // UseCounter_h | 791 #endif // UseCounter_h |
OLD | NEW |