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