| 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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 AutocapitalizeAttribute = 764, | 680 AutocapitalizeAttribute = 764, |
| 681 FullscreenSecureOrigin = 765, | 681 FullscreenSecureOrigin = 765, |
| 682 FullscreenInsecureOrigin = 766, | 682 FullscreenInsecureOrigin = 766, |
| 683 DialogInSandboxedContext = 767, | 683 DialogInSandboxedContext = 767, |
| 684 SVGSMILAnimationInImageRegardlessOfCache = 768, | 684 SVGSMILAnimationInImageRegardlessOfCache = 768, |
| 685 PushSubscriptionId = 769, | 685 PushSubscriptionId = 769, |
| 686 EncryptedMediaSecureOrigin = 770, | 686 EncryptedMediaSecureOrigin = 770, |
| 687 EncryptedMediaInsecureOrigin = 771, | 687 EncryptedMediaInsecureOrigin = 771, |
| 688 PerformanceFrameTiming = 772, | 688 PerformanceFrameTiming = 772, |
| 689 V8Element_Animate_Method = 773, | 689 V8Element_Animate_Method = 773, |
| 690 V8SVGSVGElement_PixelUnitToMillimeterX_AttributeGetter = 774, |
| 691 V8SVGSVGElement_PixelUnitToMillimeterY_AttributeGetter = 775, |
| 692 V8SVGSVGElement_ScreenPixelToMillimeterX_AttributeGetter = 776, |
| 693 V8SVGSVGElement_ScreenPixelToMillimeterY_AttributeGetter = 777, |
| 694 V8SVGSVGElement_GetElementById_Method = 778, |
| 690 | 695 |
| 691 // Add new features immediately above this line. Don't change assigned | 696 // Add new features immediately above this line. Don't change assigned |
| 692 // numbers of any item, and don't reuse removed slots. | 697 // numbers of any item, and don't reuse removed slots. |
| 693 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 698 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 694 // to update the UMA mapping. | 699 // to update the UMA mapping. |
| 695 NumberOfFeatures, // This enum value must be last. | 700 NumberOfFeatures, // This enum value must be last. |
| 696 }; | 701 }; |
| 697 | 702 |
| 698 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 703 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 699 static void count(const Frame*, Feature); | 704 static void count(const Frame*, Feature); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 | 788 |
| 784 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 789 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
| 785 | 790 |
| 786 CountBits m_countBits; | 791 CountBits m_countBits; |
| 787 BitVector m_CSSFeatureBits; | 792 BitVector m_CSSFeatureBits; |
| 788 }; | 793 }; |
| 789 | 794 |
| 790 } // namespace blink | 795 } // namespace blink |
| 791 | 796 |
| 792 #endif // UseCounter_h | 797 #endif // UseCounter_h |
| OLD | NEW |