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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 PresentationAvailabilityChangeEventListener = 927, | 822 PresentationAvailabilityChangeEventListener = 927, |
823 PresentationRequestConstructor = 928, | 823 PresentationRequestConstructor = 928, |
824 PresentationRequestStart = 929, | 824 PresentationRequestStart = 929, |
825 PresentationRequestJoin = 930, | 825 PresentationRequestJoin = 930, |
826 PresentationRequestGetAvailability = 931, | 826 PresentationRequestGetAvailability = 931, |
827 PresentationRequestSessionConnectEventListener = 932, | 827 PresentationRequestSessionConnectEventListener = 932, |
828 PresentationSessionClose = 933, | 828 PresentationSessionClose = 933, |
829 PresentationSessionSend = 934, | 829 PresentationSessionSend = 934, |
830 PresentationSessionStateChangeEventListener = 935, | 830 PresentationSessionStateChangeEventListener = 935, |
831 PresentationSessionMessageEventListener = 936, | 831 PresentationSessionMessageEventListener = 936, |
| 832 CSSAnimationsStackedNeutralKeyframe = 937, |
832 | 833 |
833 // Add new features immediately above this line. Don't change assigned | 834 // Add new features immediately above this line. Don't change assigned |
834 // numbers of any item, and don't reuse removed slots. | 835 // numbers of any item, and don't reuse removed slots. |
835 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 836 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
836 // to update the UMA mapping. | 837 // to update the UMA mapping. |
837 NumberOfFeatures, // This enum value must be last. | 838 NumberOfFeatures, // This enum value must be last. |
838 }; | 839 }; |
839 | 840 |
840 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 841 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
841 static void count(const Frame*, Feature); | 842 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 | 926 |
926 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 927 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
927 | 928 |
928 CountBits m_countBits; | 929 CountBits m_countBits; |
929 BitVector m_CSSFeatureBits; | 930 BitVector m_CSSFeatureBits; |
930 }; | 931 }; |
931 | 932 |
932 } // namespace blink | 933 } // namespace blink |
933 | 934 |
934 #endif // UseCounter_h | 935 #endif // UseCounter_h |
OLD | NEW |