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