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