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