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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
930 V8SVGViewElement_ViewTarget_AttributeGetter = 1073, | 930 V8SVGViewElement_ViewTarget_AttributeGetter = 1073, |
931 DisableRemotePlaybackAttribute = 1074, | 931 DisableRemotePlaybackAttribute = 1074, |
932 V8SloppyMode = 1075, | 932 V8SloppyMode = 1075, |
933 V8StrictMode = 1076, | 933 V8StrictMode = 1076, |
934 V8StrongMode = 1077, | 934 V8StrongMode = 1077, |
935 AudioNodeConnectToAudioNode = 1078, | 935 AudioNodeConnectToAudioNode = 1078, |
936 AudioNodeConnectToAudioParam = 1079, | 936 AudioNodeConnectToAudioParam = 1079, |
937 AudioNodeDisconnectFromAudioNode = 1080, | 937 AudioNodeDisconnectFromAudioNode = 1080, |
938 AudioNodeDisconnectFromAudioParam = 1081, | 938 AudioNodeDisconnectFromAudioParam = 1081, |
939 V8CSSFontFaceRule_Style_AttributeGetter = 1082, | 939 V8CSSFontFaceRule_Style_AttributeGetter = 1082, |
| 940 SelectionCollapseNull = 1083, |
| 941 SelectionSetBaseAndExtentNull = 1084, |
940 | 942 |
941 // Add new features immediately above this line. Don't change assigned | 943 // Add new features immediately above this line. Don't change assigned |
942 // numbers of any item, and don't reuse removed slots. | 944 // numbers of any item, and don't reuse removed slots. |
943 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 945 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
944 // to update the UMA mapping. | 946 // to update the UMA mapping. |
945 NumberOfFeatures, // This enum value must be last. | 947 NumberOfFeatures, // This enum value must be last. |
946 }; | 948 }; |
947 | 949 |
948 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 950 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
949 static void count(const Frame*, Feature); | 951 static void count(const Frame*, Feature); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 | 1036 |
1035 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 1037 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
1036 | 1038 |
1037 CountBits m_countBits; | 1039 CountBits m_countBits; |
1038 BitVector m_CSSFeatureBits; | 1040 BitVector m_CSSFeatureBits; |
1039 }; | 1041 }; |
1040 | 1042 |
1041 } // namespace blink | 1043 } // namespace blink |
1042 | 1044 |
1043 #endif // UseCounter_h | 1045 #endif // UseCounter_h |
OLD | NEW |