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 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1319 WebAudioWaveShaperNode = 1577, | 1319 WebAudioWaveShaperNode = 1577, |
1320 CSSZoomReset = 1578, | 1320 CSSZoomReset = 1578, |
1321 CSSZoomDocument = 1579, | 1321 CSSZoomDocument = 1579, |
1322 PaymentAddressCareOf = 1580, | 1322 PaymentAddressCareOf = 1580, |
1323 XSSAuditorBlockedScript = 1581, | 1323 XSSAuditorBlockedScript = 1581, |
1324 XSSAuditorBlockedEntirePage = 1582, | 1324 XSSAuditorBlockedEntirePage = 1582, |
1325 XSSAuditorDisabled = 1583, | 1325 XSSAuditorDisabled = 1583, |
1326 XSSAuditorEnabledFilter = 1584, | 1326 XSSAuditorEnabledFilter = 1584, |
1327 XSSAuditorEnabledBlock = 1585, | 1327 XSSAuditorEnabledBlock = 1585, |
1328 XSSAuditorInvalid = 1586, | 1328 XSSAuditorInvalid = 1586, |
| 1329 SVGCursorElement = 1587, |
| 1330 SVGCursorElementHasClient = 1588, |
1329 | 1331 |
1330 // Add new features immediately above this line. Don't change assigned | 1332 // Add new features immediately above this line. Don't change assigned |
1331 // numbers of any item, and don't reuse removed slots. | 1333 // numbers of any item, and don't reuse removed slots. |
1332 // 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/ |
1333 // to update the UMA mapping. | 1335 // to update the UMA mapping. |
1334 NumberOfFeatures, // This enum value must be last. | 1336 NumberOfFeatures, // This enum value must be last. |
1335 }; | 1337 }; |
1336 | 1338 |
1337 // "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. |
1338 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... |
1401 private: | 1403 private: |
1402 // 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. |
1403 BitVector m_featureBits; | 1405 BitVector m_featureBits; |
1404 BitVector m_CSSBits; | 1406 BitVector m_CSSBits; |
1405 } m_legacyCounter; | 1407 } m_legacyCounter; |
1406 }; | 1408 }; |
1407 | 1409 |
1408 } // namespace blink | 1410 } // namespace blink |
1409 | 1411 |
1410 #endif // UseCounter_h | 1412 #endif // UseCounter_h |
OLD | NEW |