| 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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 V8SVGSVGElement_ScreenPixelToMillimeterX_AttributeGetter = 776, | 689 V8SVGSVGElement_ScreenPixelToMillimeterX_AttributeGetter = 776, |
| 690 V8SVGSVGElement_ScreenPixelToMillimeterY_AttributeGetter = 777, | 690 V8SVGSVGElement_ScreenPixelToMillimeterY_AttributeGetter = 777, |
| 691 V8SVGSVGElement_GetElementById_Method = 778, | 691 V8SVGSVGElement_GetElementById_Method = 778, |
| 692 ElementCreateShadowRootMultiple = 779, | 692 ElementCreateShadowRootMultiple = 779, |
| 693 V8MessageChannel_Constructor = 780, | 693 V8MessageChannel_Constructor = 780, |
| 694 V8MessagePort_PostMessage_Method = 781, | 694 V8MessagePort_PostMessage_Method = 781, |
| 695 V8MessagePort_Start_Method = 782, | 695 V8MessagePort_Start_Method = 782, |
| 696 V8MessagePort_Close_Method = 783, | 696 V8MessagePort_Close_Method = 783, |
| 697 MessagePortsTransferred = 784, | 697 MessagePortsTransferred = 784, |
| 698 CSSKeyframesRuleAnonymousIndexedGetter = 785, | 698 CSSKeyframesRuleAnonymousIndexedGetter = 785, |
| 699 V8Screen_AvailLeft_AttributeGetter = 786, |
| 700 V8Screen_AvailTop_AttributeGetter = 787, |
| 699 | 701 |
| 700 // Add new features immediately above this line. Don't change assigned | 702 // Add new features immediately above this line. Don't change assigned |
| 701 // numbers of any item, and don't reuse removed slots. | 703 // numbers of any item, and don't reuse removed slots. |
| 702 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 704 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 703 // to update the UMA mapping. | 705 // to update the UMA mapping. |
| 704 NumberOfFeatures, // This enum value must be last. | 706 NumberOfFeatures, // This enum value must be last. |
| 705 }; | 707 }; |
| 706 | 708 |
| 707 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 709 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 708 static void count(const Frame*, Feature); | 710 static void count(const Frame*, Feature); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 792 | 794 |
| 793 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 795 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
| 794 | 796 |
| 795 CountBits m_countBits; | 797 CountBits m_countBits; |
| 796 BitVector m_CSSFeatureBits; | 798 BitVector m_CSSFeatureBits; |
| 797 }; | 799 }; |
| 798 | 800 |
| 799 } // namespace blink | 801 } // namespace blink |
| 800 | 802 |
| 801 #endif // UseCounter_h | 803 #endif // UseCounter_h |
| OLD | NEW |