| 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 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1234 MediaSourceAbortRemove = 1428, | 1234 MediaSourceAbortRemove = 1428, |
| 1235 MediaSourceDurationTruncatingBuffered = 1429, | 1235 MediaSourceDurationTruncatingBuffered = 1429, |
| 1236 AudioContextCrossOriginIframe = 1430, | 1236 AudioContextCrossOriginIframe = 1430, |
| 1237 CSSValueAppearanceButtonRendered = 1469, | 1237 CSSValueAppearanceButtonRendered = 1469, |
| 1238 CSSValueAppearanceButtonForAnchor = 1470, | 1238 CSSValueAppearanceButtonForAnchor = 1470, |
| 1239 CSSValueAppearanceButtonForButton = 1471, | 1239 CSSValueAppearanceButtonForButton = 1471, |
| 1240 CSSValueAppearanceButtonForOtherButtons = 1472, | 1240 CSSValueAppearanceButtonForOtherButtons = 1472, |
| 1241 CSSValueAppearanceTextFieldRendered = 1473, | 1241 CSSValueAppearanceTextFieldRendered = 1473, |
| 1242 CSSValueAppearanceTextFieldForSearch = 1474, | 1242 CSSValueAppearanceTextFieldForSearch = 1474, |
| 1243 CSSValueAppearanceTextFieldForTextField = 1475, | 1243 CSSValueAppearanceTextFieldForTextField = 1475, |
| 1244 RTCPeerConnectionGetStats = 1476, |
| 1245 SVGSMILAnimationAppliedEffect = 1477, |
| 1246 PerformanceResourceTimingSizes = 1478, |
| 1247 EventSourceDocument = 1479, |
| 1248 EventSourceWorker = 1480, |
| 1244 | 1249 |
| 1245 // Add new features immediately above this line. Don't change assigned | 1250 // Add new features immediately above this line. Don't change assigned |
| 1246 // numbers of any item, and don't reuse removed slots. | 1251 // numbers of any item, and don't reuse removed slots. |
| 1247 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1252 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1248 // to update the UMA mapping. | 1253 // to update the UMA mapping. |
| 1249 NumberOfFeatures, // This enum value must be last. | 1254 NumberOfFeatures, // This enum value must be last. |
| 1250 }; | 1255 }; |
| 1251 | 1256 |
| 1252 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1257 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1253 static void count(const Frame*, Feature); | 1258 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 friend class UseCounterTest; | 1333 friend class UseCounterTest; |
| 1329 static int m_muteCount; | 1334 static int m_muteCount; |
| 1330 | 1335 |
| 1331 CountBits m_countBits; | 1336 CountBits m_countBits; |
| 1332 BitVector m_CSSFeatureBits; | 1337 BitVector m_CSSFeatureBits; |
| 1333 }; | 1338 }; |
| 1334 | 1339 |
| 1335 } // namespace blink | 1340 } // namespace blink |
| 1336 | 1341 |
| 1337 #endif // UseCounter_h | 1342 #endif // UseCounter_h |
| OLD | NEW |