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 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 HTMLImportsHasStyleSheets = 940, | 835 HTMLImportsHasStyleSheets = 940, |
836 WebkitTextInClipProperty = 941, | 836 WebkitTextInClipProperty = 941, |
837 WebkitTextInColorProperty = 942, | 837 WebkitTextInColorProperty = 942, |
838 HeaderValueNotMatchingRFC7230 = 943, | 838 HeaderValueNotMatchingRFC7230 = 943, |
839 ClipPathOfPositionedElement = 944, | 839 ClipPathOfPositionedElement = 944, |
840 ClipCssOfPositionedElement = 945, | 840 ClipCssOfPositionedElement = 945, |
841 NetInfoType = 946, | 841 NetInfoType = 946, |
842 NetInfoDownlinkMax = 947, | 842 NetInfoDownlinkMax = 947, |
843 NetInfoOnChange = 948, | 843 NetInfoOnChange = 948, |
844 NetInfoOnTypeChange = 949, | 844 NetInfoOnTypeChange = 949, |
| 845 V8Window_Alert_Method = 950, |
| 846 V8Window_Confirm_Method = 951, |
| 847 V8Window_Prompt_Method = 952, |
| 848 V8Window_Print_Method = 953, |
845 | 849 |
846 // Add new features immediately above this line. Don't change assigned | 850 // Add new features immediately above this line. Don't change assigned |
847 // numbers of any item, and don't reuse removed slots. | 851 // numbers of any item, and don't reuse removed slots. |
848 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 852 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
849 // to update the UMA mapping. | 853 // to update the UMA mapping. |
850 NumberOfFeatures, // This enum value must be last. | 854 NumberOfFeatures, // This enum value must be last. |
851 }; | 855 }; |
852 | 856 |
853 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 857 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
854 static void count(const Frame*, Feature); | 858 static void count(const Frame*, Feature); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 | 943 |
940 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 944 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
941 | 945 |
942 CountBits m_countBits; | 946 CountBits m_countBits; |
943 BitVector m_CSSFeatureBits; | 947 BitVector m_CSSFeatureBits; |
944 }; | 948 }; |
945 | 949 |
946 } // namespace blink | 950 } // namespace blink |
947 | 951 |
948 #endif // UseCounter_h | 952 #endif // UseCounter_h |
OLD | NEW |