| 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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1082 HTMLLabelElementControlForNonFormAssociatedElement = 1263, | 1082 HTMLLabelElementControlForNonFormAssociatedElement = 1263, |
| 1083 PatternAttributeUnicodeFlagIsIncompatible = 1264, | 1083 PatternAttributeUnicodeFlagIsIncompatible = 1264, |
| 1084 HTMLMediaElementLoadNetworkEmptyNotPaused = 1265, | 1084 HTMLMediaElementLoadNetworkEmptyNotPaused = 1265, |
| 1085 EventRelatedTargetScoped = 1266, | 1085 EventRelatedTargetScoped = 1266, |
| 1086 V8Window_WebkitSpeechGrammar_ConstructorGetter = 1267, | 1086 V8Window_WebkitSpeechGrammar_ConstructorGetter = 1267, |
| 1087 V8Window_WebkitSpeechGrammarList_ConstructorGetter = 1268, | 1087 V8Window_WebkitSpeechGrammarList_ConstructorGetter = 1268, |
| 1088 V8Window_WebkitSpeechRecognition_ConstructorGetter = 1269, | 1088 V8Window_WebkitSpeechRecognition_ConstructorGetter = 1269, |
| 1089 V8Window_WebkitSpeechRecognitionError_ConstructorGetter = 1270, | 1089 V8Window_WebkitSpeechRecognitionError_ConstructorGetter = 1270, |
| 1090 V8Window_WebkitSpeechRecognitionEvent_ConstructorGetter = 1271, | 1090 V8Window_WebkitSpeechRecognitionEvent_ConstructorGetter = 1271, |
| 1091 V8Window_SpeechSynthesis_AttributeGetter = 1272, | 1091 V8Window_SpeechSynthesis_AttributeGetter = 1272, |
| 1092 V8IDBFactory_WebkitGetDatabaseNames_Method = 1273, |
| 1092 | 1093 |
| 1093 // Add new features immediately above this line. Don't change assigned | 1094 // Add new features immediately above this line. Don't change assigned |
| 1094 // numbers of any item, and don't reuse removed slots. | 1095 // numbers of any item, and don't reuse removed slots. |
| 1095 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1096 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1096 // to update the UMA mapping. | 1097 // to update the UMA mapping. |
| 1097 NumberOfFeatures, // This enum value must be last. | 1098 NumberOfFeatures, // This enum value must be last. |
| 1098 }; | 1099 }; |
| 1099 | 1100 |
| 1100 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1101 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1101 static void count(const Frame*, Feature); | 1102 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1176 friend class UseCounterTest; | 1177 friend class UseCounterTest; |
| 1177 static int m_muteCount; | 1178 static int m_muteCount; |
| 1178 | 1179 |
| 1179 CountBits m_countBits; | 1180 CountBits m_countBits; |
| 1180 BitVector m_CSSFeatureBits; | 1181 BitVector m_CSSFeatureBits; |
| 1181 }; | 1182 }; |
| 1182 | 1183 |
| 1183 } // namespace blink | 1184 } // namespace blink |
| 1184 | 1185 |
| 1185 #endif // UseCounter_h | 1186 #endif // UseCounter_h |
| OLD | NEW |