Chromium Code Reviews| 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_Alert_Method = 951, | |
|
palmer
2015/09/10 01:14:17
Why define this twice?
alancutter (OOO until 2018)
2015/09/10 01:19:16
Whoops, accidentally added the overload as well.
| |
| 847 V8Window_Confirm_Method = 952, | |
| 848 V8Window_Prompt_Method = 953, | |
| 849 V8Window_Print_Method = 954, | |
| 845 | 850 |
| 846 // Add new features immediately above this line. Don't change assigned | 851 // Add new features immediately above this line. Don't change assigned |
| 847 // numbers of any item, and don't reuse removed slots. | 852 // 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/ | 853 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ |
| 849 // to update the UMA mapping. | 854 // to update the UMA mapping. |
| 850 NumberOfFeatures, // This enum value must be last. | 855 NumberOfFeatures, // This enum value must be last. |
| 851 }; | 856 }; |
| 852 | 857 |
| 853 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 858 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 854 static void count(const Frame*, Feature); | 859 static void count(const Frame*, Feature); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 939 | 944 |
| 940 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } | 945 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } |
| 941 | 946 |
| 942 CountBits m_countBits; | 947 CountBits m_countBits; |
| 943 BitVector m_CSSFeatureBits; | 948 BitVector m_CSSFeatureBits; |
| 944 }; | 949 }; |
| 945 | 950 |
| 946 } // namespace blink | 951 } // namespace blink |
| 947 | 952 |
| 948 #endif // UseCounter_h | 953 #endif // UseCounter_h |
| OLD | NEW |