| 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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 | 686 |
| 687 LegacyCSSValueIntrinsic = 751, | 687 LegacyCSSValueIntrinsic = 751, |
| 688 LegacyCSSValueMinIntrinsic = 752, | 688 LegacyCSSValueMinIntrinsic = 752, |
| 689 WebkitCanvas = 753, | 689 WebkitCanvas = 753, |
| 690 V8HTMLInputElement_Autocapitalize_AttributeGetter = 754, | 690 V8HTMLInputElement_Autocapitalize_AttributeGetter = 754, |
| 691 V8HTMLInputElement_Autocapitalize_AttributeSetter = 755, | 691 V8HTMLInputElement_Autocapitalize_AttributeSetter = 755, |
| 692 V8HTMLTextAreaElement_Autocapitalize_AttributeGetter = 756, | 692 V8HTMLTextAreaElement_Autocapitalize_AttributeGetter = 756, |
| 693 V8HTMLTextAreaElement_Autocapitalize_AttributeSetter = 757, | 693 V8HTMLTextAreaElement_Autocapitalize_AttributeSetter = 757, |
| 694 SVGHrefBaseVal = 758, | 694 SVGHrefBaseVal = 758, |
| 695 SVGHrefAnimVal = 759, | 695 SVGHrefAnimVal = 759, |
| 696 V8CSSRuleList_Item_Method = 760, |
| 697 V8MediaList_Item_Method = 761, |
| 698 V8StyleSheetList_Item_Method = 762, |
| 699 StyleSheetListAnonymousNamedGetter = 763, |
| 696 | 700 |
| 697 // Add new features immediately above this line. Don't change assigned | 701 // Add new features immediately above this line. Don't change assigned |
| 698 // numbers of any item, and don't reuse removed slots. | 702 // numbers of any item, and don't reuse removed slots. |
| 699 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 703 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 700 // to update the UMA mapping. | 704 // to update the UMA mapping. |
| 701 NumberOfFeatures, // This enum value must be last. | 705 NumberOfFeatures, // This enum value must be last. |
| 702 }; | 706 }; |
| 703 | 707 |
| 704 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 708 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 705 static void count(const Frame*, Feature); | 709 static void count(const Frame*, Feature); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 | 793 |
| 790 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 794 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
| 791 | 795 |
| 792 CountBits m_countBits; | 796 CountBits m_countBits; |
| 793 BitVector m_CSSFeatureBits; | 797 BitVector m_CSSFeatureBits; |
| 794 }; | 798 }; |
| 795 | 799 |
| 796 } // namespace blink | 800 } // namespace blink |
| 797 | 801 |
| 798 #endif // UseCounter_h | 802 #endif // UseCounter_h |
| OLD | NEW |