| 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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 V8Permissions_Query_Method = 750, | 684 V8Permissions_Query_Method = 750, |
| 685 // The above items are available in M43 branch. | 685 // The above items are available in M43 branch. |
| 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, |
| 695 SVGHrefAnimVal = 759, |
| 694 | 696 |
| 695 // Add new features immediately above this line. Don't change assigned | 697 // Add new features immediately above this line. Don't change assigned |
| 696 // numbers of any item, and don't reuse removed slots. | 698 // numbers of any item, and don't reuse removed slots. |
| 697 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 699 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 698 // to update the UMA mapping. | 700 // to update the UMA mapping. |
| 699 NumberOfFeatures, // This enum value must be last. | 701 NumberOfFeatures, // This enum value must be last. |
| 700 }; | 702 }; |
| 701 | 703 |
| 702 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 704 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 703 static void count(const Frame*, Feature); | 705 static void count(const Frame*, Feature); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 | 789 |
| 788 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 790 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
| 789 | 791 |
| 790 CountBits m_countBits; | 792 CountBits m_countBits; |
| 791 BitVector m_CSSFeatureBits; | 793 BitVector m_CSSFeatureBits; |
| 792 }; | 794 }; |
| 793 | 795 |
| 794 } // namespace blink | 796 } // namespace blink |
| 795 | 797 |
| 796 #endif // UseCounter_h | 798 #endif // UseCounter_h |
| OLD | NEW |