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 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1377 | 1377 |
1378 CSSFlexibleBox = 1692, | 1378 CSSFlexibleBox = 1692, |
1379 CSSGridLayout = 1693, | 1379 CSSGridLayout = 1693, |
1380 V8BarcodeDetector_Detect_Method = 1694, | 1380 V8BarcodeDetector_Detect_Method = 1694, |
1381 V8FaceDetector_Detect_Method = 1695, | 1381 V8FaceDetector_Detect_Method = 1695, |
1382 FullscreenAllowedByOrientationChange = 1696, | 1382 FullscreenAllowedByOrientationChange = 1696, |
1383 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697, | 1383 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697, |
1384 V8AudioContext_Constructor = 1698, | 1384 V8AudioContext_Constructor = 1698, |
1385 V8OfflineAudioContext_Constructor = 1699, | 1385 V8OfflineAudioContext_Constructor = 1699, |
1386 AppInstalledEventAddListener = 1700, | 1386 AppInstalledEventAddListener = 1700, |
| 1387 AudioContextGetOutputTimestamp = 1701, |
1387 | 1388 |
1388 // Add new features immediately above this line. Don't change assigned | 1389 // Add new features immediately above this line. Don't change assigned |
1389 // numbers of any item, and don't reuse removed slots. | 1390 // numbers of any item, and don't reuse removed slots. |
1390 // Also, run update_use_counter_feature_enum.py in | 1391 // Also, run update_use_counter_feature_enum.py in |
1391 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1392 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1392 NumberOfFeatures, // This enum value must be last. | 1393 NumberOfFeatures, // This enum value must be last. |
1393 }; | 1394 }; |
1394 | 1395 |
1395 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1396 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
1396 static void count(const Frame*, Feature); | 1397 static void count(const Frame*, Feature); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1455 // Tracks what features/properties need to be reported to the legacy | 1456 // Tracks what features/properties need to be reported to the legacy |
1456 // histograms. | 1457 // histograms. |
1457 BitVector m_featureBits; | 1458 BitVector m_featureBits; |
1458 BitVector m_CSSBits; | 1459 BitVector m_CSSBits; |
1459 } m_legacyCounter; | 1460 } m_legacyCounter; |
1460 }; | 1461 }; |
1461 | 1462 |
1462 } // namespace blink | 1463 } // namespace blink |
1463 | 1464 |
1464 #endif // UseCounter_h | 1465 #endif // UseCounter_h |
OLD | NEW |