| 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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 ElementRequestPointerLockInShadow = 1421, | 1227 ElementRequestPointerLockInShadow = 1421, |
| 1228 ShadowRootPointerLockElement = 1422, | 1228 ShadowRootPointerLockElement = 1422, |
| 1229 DocumentPointerLockElementInV0Shadow = 1423, | 1229 DocumentPointerLockElementInV0Shadow = 1423, |
| 1230 TextAreaMaxLength = 1424, | 1230 TextAreaMaxLength = 1424, |
| 1231 TextAreaMinLength = 1425, | 1231 TextAreaMinLength = 1425, |
| 1232 TopNavigationFromSubFrame = 1426, | 1232 TopNavigationFromSubFrame = 1426, |
| 1233 PrefixedElementRequestFullscreenInShadow = 1427, | 1233 PrefixedElementRequestFullscreenInShadow = 1427, |
| 1234 MediaSourceAbortRemove = 1428, | 1234 MediaSourceAbortRemove = 1428, |
| 1235 MediaSourceDurationTruncatingBuffered = 1429, | 1235 MediaSourceDurationTruncatingBuffered = 1429, |
| 1236 AudioContextCrossOriginIframe = 1430, | 1236 AudioContextCrossOriginIframe = 1430, |
| 1237 CSSValueAppearanceButtonRendered = 1469, |
| 1238 CSSValueAppearanceButtonForAnchor = 1470, |
| 1239 CSSValueAppearanceButtonForButton = 1471, |
| 1240 CSSValueAppearanceButtonForOtherButtons = 1472, |
| 1241 CSSValueAppearanceTextFieldRendered = 1473, |
| 1242 CSSValueAppearanceTextFieldForSearch = 1474, |
| 1243 CSSValueAppearanceTextFieldForTextField = 1475, |
| 1237 | 1244 |
| 1238 // Add new features immediately above this line. Don't change assigned | 1245 // Add new features immediately above this line. Don't change assigned |
| 1239 // numbers of any item, and don't reuse removed slots. | 1246 // numbers of any item, and don't reuse removed slots. |
| 1240 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1247 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 1241 // to update the UMA mapping. | 1248 // to update the UMA mapping. |
| 1242 NumberOfFeatures, // This enum value must be last. | 1249 NumberOfFeatures, // This enum value must be last. |
| 1243 }; | 1250 }; |
| 1244 | 1251 |
| 1245 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1252 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1246 static void count(const Frame*, Feature); | 1253 static void count(const Frame*, Feature); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 friend class UseCounterTest; | 1328 friend class UseCounterTest; |
| 1322 static int m_muteCount; | 1329 static int m_muteCount; |
| 1323 | 1330 |
| 1324 CountBits m_countBits; | 1331 CountBits m_countBits; |
| 1325 BitVector m_CSSFeatureBits; | 1332 BitVector m_CSSFeatureBits; |
| 1326 }; | 1333 }; |
| 1327 | 1334 |
| 1328 } // namespace blink | 1335 } // namespace blink |
| 1329 | 1336 |
| 1330 #endif // UseCounter_h | 1337 #endif // UseCounter_h |
| OLD | NEW |