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