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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 CSSSelectorInternalPseudoListBox = 1062, | 919 CSSSelectorInternalPseudoListBox = 1062, |
920 CSSSelectorInternalMediaControlsCastButton = 1063, | 920 CSSSelectorInternalMediaControlsCastButton = 1063, |
921 CSSSelectorInternalMediaControlsOverlayCastButton = 1064, | 921 CSSSelectorInternalMediaControlsOverlayCastButton = 1064, |
922 CSSSelectorInternalPseudoSpatialNavigationFocus = 1065, | 922 CSSSelectorInternalPseudoSpatialNavigationFocus = 1065, |
923 SameOriginTextScript = 1066, | 923 SameOriginTextScript = 1066, |
924 SameOriginApplicationScript = 1067, | 924 SameOriginApplicationScript = 1067, |
925 SameOriginOtherScript = 1068, | 925 SameOriginOtherScript = 1068, |
926 CrossOriginTextScript = 1069, | 926 CrossOriginTextScript = 1069, |
927 CrossOriginApplicationScript = 1070, | 927 CrossOriginApplicationScript = 1070, |
928 CrossOriginOtherScript = 1071, | 928 CrossOriginOtherScript = 1071, |
| 929 SVG1DOMSVGTests = 1072, |
| 930 V8SVGViewElement_ViewTarget_AttributeGetter = 1073, |
929 | 931 |
930 // Add new features immediately above this line. Don't change assigned | 932 // Add new features immediately above this line. Don't change assigned |
931 // numbers of any item, and don't reuse removed slots. | 933 // numbers of any item, and don't reuse removed slots. |
932 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 934 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
933 // to update the UMA mapping. | 935 // to update the UMA mapping. |
934 NumberOfFeatures, // This enum value must be last. | 936 NumberOfFeatures, // This enum value must be last. |
935 }; | 937 }; |
936 | 938 |
937 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 939 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
938 static void count(const Frame*, Feature); | 940 static void count(const Frame*, Feature); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 | 1025 |
1024 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 1026 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
1025 | 1027 |
1026 CountBits m_countBits; | 1028 CountBits m_countBits; |
1027 BitVector m_CSSFeatureBits; | 1029 BitVector m_CSSFeatureBits; |
1028 }; | 1030 }; |
1029 | 1031 |
1030 } // namespace blink | 1032 } // namespace blink |
1031 | 1033 |
1032 #endif // UseCounter_h | 1034 #endif // UseCounter_h |
OLD | NEW |