| 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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 NetInfo = 744, | 678 NetInfo = 744, |
| 679 BackgroundSync = 745, | 679 BackgroundSync = 745, |
| 680 TabStopProperty = 746, | 680 TabStopProperty = 746, |
| 681 TabStopAttribute = 747, | 681 TabStopAttribute = 747, |
| 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, |
| 689 V8HTMLInputElement_Autocapitalize_AttributeSetter = 755, |
| 690 V8HTMLTextAreaElement_Autocapitalize_AttributeGetter = 756, |
| 691 V8HTMLTextAreaElement_Autocapitalize_AttributeSetter = 757, |
| 688 | 692 |
| 689 // Add new features immediately above this line. Don't change assigned | 693 // Add new features immediately above this line. Don't change assigned |
| 690 // numbers of any item, and don't reuse removed slots. | 694 // numbers of any item, and don't reuse removed slots. |
| 691 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 695 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 692 // to update the UMA mapping. | 696 // to update the UMA mapping. |
| 693 NumberOfFeatures, // This enum value must be last. | 697 NumberOfFeatures, // This enum value must be last. |
| 694 }; | 698 }; |
| 695 | 699 |
| 696 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 700 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 697 static void count(const Frame*, Feature); | 701 static void count(const Frame*, Feature); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 | 786 |
| 783 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 787 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
| 784 | 788 |
| 785 CountBits m_countBits; | 789 CountBits m_countBits; |
| 786 BitVector m_CSSFeatureBits; | 790 BitVector m_CSSFeatureBits; |
| 787 }; | 791 }; |
| 788 | 792 |
| 789 } // namespace blink | 793 } // namespace blink |
| 790 | 794 |
| 791 #endif // UseCounter_h | 795 #endif // UseCounter_h |
| OLD | NEW |