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 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 1326 V8HTMLMediaElement_SrcObject_AttributeGetter = 1602, |
1327 V8HTMLMediaElement_SrcObject_AttributeSetter = 1603, | 1327 V8HTMLMediaElement_SrcObject_AttributeSetter = 1603, |
1328 CreateObjectURLBlob = 1604, | 1328 CreateObjectURLBlob = 1604, |
1329 CreateObjectURLMediaSource = 1605, | 1329 CreateObjectURLMediaSource = 1605, |
1330 CreateObjectURLMediaStream = 1606, | 1330 CreateObjectURLMediaStream = 1606, |
| 1331 DocumentCreateTouchWindowNull = 1607, |
| 1332 DocumentCreateTouchWindowWrongType = 1608, |
| 1333 DocumentCreateTouchTargetNull = 1609, |
| 1334 DocumentCreateTouchTargetWrongType = 1610, |
| 1335 DocumentCreateTouchLessThanSevenArguments = 1611, |
| 1336 DocumentCreateTouchMoreThanSevenArguments = 1612, |
1331 | 1337 |
1332 // Add new features immediately above this line. Don't change assigned | 1338 // Add new features immediately above this line. Don't change assigned |
1333 // numbers of any item, and don't reuse removed slots. | 1339 // numbers of any item, and don't reuse removed slots. |
1334 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 1340 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
1335 // to update the UMA mapping. | 1341 // to update the UMA mapping. |
1336 NumberOfFeatures, // This enum value must be last. | 1342 NumberOfFeatures, // This enum value must be last. |
1337 }; | 1343 }; |
1338 | 1344 |
1339 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1345 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1340 static void count(const Frame*, Feature); | 1346 static void count(const Frame*, Feature); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 private: | 1409 private: |
1404 // Tracks what features/properties need to be reported to the legacy his
tograms. | 1410 // Tracks what features/properties need to be reported to the legacy his
tograms. |
1405 BitVector m_featureBits; | 1411 BitVector m_featureBits; |
1406 BitVector m_CSSBits; | 1412 BitVector m_CSSBits; |
1407 } m_legacyCounter; | 1413 } m_legacyCounter; |
1408 }; | 1414 }; |
1409 | 1415 |
1410 } // namespace blink | 1416 } // namespace blink |
1411 | 1417 |
1412 #endif // UseCounter_h | 1418 #endif // UseCounter_h |
OLD | NEW |