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 1062 matching lines...) Loading... |
1073 DocumentCreateEventSpeechRecognitionEvent = 1219, | 1073 DocumentCreateEventSpeechRecognitionEvent = 1219, |
1074 DocumentCreateEventSpeechSynthesisEvent = 1220, | 1074 DocumentCreateEventSpeechSynthesisEvent = 1220, |
1075 DocumentCreateEventStorageEvent = 1221, | 1075 DocumentCreateEventStorageEvent = 1221, |
1076 DocumentCreateEventAudioProcessingEvent = 1222, | 1076 DocumentCreateEventAudioProcessingEvent = 1222, |
1077 DocumentCreateEventOfflineAudioCompletionEvent = 1223, | 1077 DocumentCreateEventOfflineAudioCompletionEvent = 1223, |
1078 DocumentCreateEventWebGLContextEvent = 1224, | 1078 DocumentCreateEventWebGLContextEvent = 1224, |
1079 DocumentCreateEventMIDIConnectionEvent = 1225, | 1079 DocumentCreateEventMIDIConnectionEvent = 1225, |
1080 DocumentCreateEventMIDIMessageEvent = 1226, | 1080 DocumentCreateEventMIDIMessageEvent = 1226, |
1081 DocumentCreateEventCloseEvent = 1227, | 1081 DocumentCreateEventCloseEvent = 1227, |
1082 DocumentCreateEventKeyboardEvents = 1228, | 1082 DocumentCreateEventKeyboardEvents = 1228, |
| 1083 DeprecateSVGZoomEvent = 1229, |
1083 | 1084 |
1084 // Add new features immediately above this line. Don't change assigned | 1085 // Add new features immediately above this line. Don't change assigned |
1085 // numbers of any item, and don't reuse removed slots. | 1086 // numbers of any item, and don't reuse removed slots. |
1086 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1087 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1087 // to update the UMA mapping. | 1088 // to update the UMA mapping. |
1088 NumberOfFeatures, // This enum value must be last. | 1089 NumberOfFeatures, // This enum value must be last. |
1089 }; | 1090 }; |
1090 | 1091 |
1091 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1092 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1092 static void count(const Frame*, Feature); | 1093 static void count(const Frame*, Feature); |
(...skipping 91 matching lines...) Loading... |
1184 | 1185 |
1185 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 1186 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
1186 | 1187 |
1187 CountBits m_countBits; | 1188 CountBits m_countBits; |
1188 BitVector m_CSSFeatureBits; | 1189 BitVector m_CSSFeatureBits; |
1189 }; | 1190 }; |
1190 | 1191 |
1191 } // namespace blink | 1192 } // namespace blink |
1192 | 1193 |
1193 #endif // UseCounter_h | 1194 #endif // UseCounter_h |
OLD | NEW |