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 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1316 TextInputEventOnNotNode = 1592, | 1316 TextInputEventOnNotNode = 1592, |
1317 WebkitBeforeTextInsertedOnInput = 1593, | 1317 WebkitBeforeTextInsertedOnInput = 1593, |
1318 WebkitBeforeTextInsertedOnTextArea = 1594, | 1318 WebkitBeforeTextInsertedOnTextArea = 1594, |
1319 WebkitBeforeTextInsertedOnContentEditable = 1595, | 1319 WebkitBeforeTextInsertedOnContentEditable = 1595, |
1320 WebkitBeforeTextInsertedOnNotNode = 1596, | 1320 WebkitBeforeTextInsertedOnNotNode = 1596, |
1321 WebkitEditableContentChangedOnInput = 1597, | 1321 WebkitEditableContentChangedOnInput = 1597, |
1322 WebkitEditableContentChangedOnTextArea = 1598, | 1322 WebkitEditableContentChangedOnTextArea = 1598, |
1323 WebkitEditableContentChangedOnContentEditable = 1599, | 1323 WebkitEditableContentChangedOnContentEditable = 1599, |
1324 WebkitEditableContentChangedOnNotNode = 1600, | 1324 WebkitEditableContentChangedOnNotNode = 1600, |
1325 V8NavigatorUserMediaError_ConstraintName_AttributeGetter = 1601, | 1325 V8NavigatorUserMediaError_ConstraintName_AttributeGetter = 1601, |
| 1326 V8HTMLMediaElement_SrcObject_AttributeGetter = 1602, |
| 1327 V8HTMLMediaElement_SrcObject_AttributeSetter = 1603, |
| 1328 CreateObjectURLBlob = 1604, |
| 1329 CreateObjectURLMediaSource = 1605, |
| 1330 CreateObjectURLMediaStream = 1606, |
1326 | 1331 |
1327 // Add new features immediately above this line. Don't change assigned | 1332 // Add new features immediately above this line. Don't change assigned |
1328 // numbers of any item, and don't reuse removed slots. | 1333 // numbers of any item, and don't reuse removed slots. |
1329 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1334 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1330 // to update the UMA mapping. | 1335 // to update the UMA mapping. |
1331 NumberOfFeatures, // This enum value must be last. | 1336 NumberOfFeatures, // This enum value must be last. |
1332 }; | 1337 }; |
1333 | 1338 |
1334 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1339 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1335 static void count(const Frame*, Feature); | 1340 static void count(const Frame*, Feature); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 private: | 1403 private: |
1399 // Tracks what features/properties need to be reported to the legacy his
tograms. | 1404 // Tracks what features/properties need to be reported to the legacy his
tograms. |
1400 BitVector m_featureBits; | 1405 BitVector m_featureBits; |
1401 BitVector m_CSSBits; | 1406 BitVector m_CSSBits; |
1402 } m_legacyCounter; | 1407 } m_legacyCounter; |
1403 }; | 1408 }; |
1404 | 1409 |
1405 } // namespace blink | 1410 } // namespace blink |
1406 | 1411 |
1407 #endif // UseCounter_h | 1412 #endif // UseCounter_h |
OLD | NEW |