| 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 AudioContextCreateMediaStreamDestination = 641, | 474 AudioContextCreateMediaStreamDestination = 641, |
| 475 AudioContextCreateMediaStreamSource = 642, | 475 AudioContextCreateMediaStreamSource = 642, |
| 476 AudioContextCreateOscillator = 643, | 476 AudioContextCreateOscillator = 643, |
| 477 AudioContextCreatePeriodicWave = 645, | 477 AudioContextCreatePeriodicWave = 645, |
| 478 AudioContextCreateScriptProcessor = 646, | 478 AudioContextCreateScriptProcessor = 646, |
| 479 AudioContextCreateStereoPanner = 647, | 479 AudioContextCreateStereoPanner = 647, |
| 480 AudioContextCreateWaveShaper = 648, | 480 AudioContextCreateWaveShaper = 648, |
| 481 AudioContextDecodeAudioData = 649, | 481 AudioContextDecodeAudioData = 649, |
| 482 AudioContextResume = 650, | 482 AudioContextResume = 650, |
| 483 AudioContextSuspend = 651, | 483 AudioContextSuspend = 651, |
| 484 AudioContext = 652, | |
| 485 OfflineAudioContext = 653, | |
| 486 PrefixedAudioContext = 654, | |
| 487 PrefixedOfflineAudioContext = 655, | |
| 488 MixedContentInNonHTTPSFrameThatRestrictsMixedContent = 661, | 484 MixedContentInNonHTTPSFrameThatRestrictsMixedContent = 661, |
| 489 MixedContentInSecureFrameThatDoesNotRestrictMixedContent = 662, | 485 MixedContentInSecureFrameThatDoesNotRestrictMixedContent = 662, |
| 490 MixedContentWebSocket = 663, | 486 MixedContentWebSocket = 663, |
| 491 SyntheticKeyframesInCompositedCSSAnimation = 664, | 487 SyntheticKeyframesInCompositedCSSAnimation = 664, |
| 492 MixedContentFormPresent = 665, | 488 MixedContentFormPresent = 665, |
| 493 GetUserMediaInsecureOrigin = 666, | 489 GetUserMediaInsecureOrigin = 666, |
| 494 GetUserMediaSecureOrigin = 667, | 490 GetUserMediaSecureOrigin = 667, |
| 495 // The above items are available in M41 branch. | 491 // The above items are available in M41 branch. |
| 496 | 492 |
| 497 DeviceMotionInsecureOrigin = 668, | 493 DeviceMotionInsecureOrigin = 668, |
| (...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1378 LinkHeaderServiceWorker = 1690, | 1374 LinkHeaderServiceWorker = 1690, |
| 1379 CSSShadowPiercingDescendantCombinator = 1691, | 1375 CSSShadowPiercingDescendantCombinator = 1691, |
| 1380 // The above items are available in M56 branch. | 1376 // The above items are available in M56 branch. |
| 1381 | 1377 |
| 1382 CSSFlexibleBox = 1692, | 1378 CSSFlexibleBox = 1692, |
| 1383 CSSGridLayout = 1693, | 1379 CSSGridLayout = 1693, |
| 1384 V8BarcodeDetector_Detect_Method = 1694, | 1380 V8BarcodeDetector_Detect_Method = 1694, |
| 1385 V8FaceDetector_Detect_Method = 1695, | 1381 V8FaceDetector_Detect_Method = 1695, |
| 1386 FullscreenAllowedByOrientationChange = 1696, | 1382 FullscreenAllowedByOrientationChange = 1696, |
| 1387 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697, | 1383 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697, |
| 1384 V8AudioContext_Constructor = 1698, |
| 1385 V8OfflineAudioContext_Constructor = 1699, |
| 1388 | 1386 |
| 1389 // Add new features immediately above this line. Don't change assigned | 1387 // Add new features immediately above this line. Don't change assigned |
| 1390 // numbers of any item, and don't reuse removed slots. | 1388 // numbers of any item, and don't reuse removed slots. |
| 1391 // Also, run update_use_counter_feature_enum.py in | 1389 // Also, run update_use_counter_feature_enum.py in |
| 1392 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1390 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1393 NumberOfFeatures, // This enum value must be last. | 1391 NumberOfFeatures, // This enum value must be last. |
| 1394 }; | 1392 }; |
| 1395 | 1393 |
| 1396 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1394 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1397 static void count(const Frame*, Feature); | 1395 static void count(const Frame*, Feature); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1462 // Tracks what features/properties need to be reported to the legacy | 1460 // Tracks what features/properties need to be reported to the legacy |
| 1463 // histograms. | 1461 // histograms. |
| 1464 BitVector m_featureBits; | 1462 BitVector m_featureBits; |
| 1465 BitVector m_CSSBits; | 1463 BitVector m_CSSBits; |
| 1466 } m_legacyCounter; | 1464 } m_legacyCounter; |
| 1467 }; | 1465 }; |
| 1468 | 1466 |
| 1469 } // namespace blink | 1467 } // namespace blink |
| 1470 | 1468 |
| 1471 #endif // UseCounter_h | 1469 #endif // UseCounter_h |
| OLD | NEW |