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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 V8XPathEvaluator_Constructor = 853, | 753 V8XPathEvaluator_Constructor = 853, |
754 V8XPathEvaluator_CreateExpression_Method = 854, | 754 V8XPathEvaluator_CreateExpression_Method = 854, |
755 V8XPathEvaluator_CreateNSResolver_Method = 855, | 755 V8XPathEvaluator_CreateNSResolver_Method = 855, |
756 V8XPathEvaluator_Evaluate_Method = 856, | 756 V8XPathEvaluator_Evaluate_Method = 856, |
757 RequestMIDIAccess = 857, | 757 RequestMIDIAccess = 857, |
758 V8MouseEvent_LayerX_AttributeGetter = 858, | 758 V8MouseEvent_LayerX_AttributeGetter = 858, |
759 V8MouseEvent_LayerY_AttributeGetter = 859, | 759 V8MouseEvent_LayerY_AttributeGetter = 859, |
760 InnerTextWithShadowTree = 860, | 760 InnerTextWithShadowTree = 860, |
761 SelectionToStringWithShadowTree = 861, | 761 SelectionToStringWithShadowTree = 861, |
762 WindowFindWithShadowTree = 862, | 762 WindowFindWithShadowTree = 862, |
| 763 V8CompositionEvent_InitCompositionEvent_Method = 863, |
| 764 V8CustomEvent_InitCustomEvent_Method = 864, |
| 765 V8DeviceMotionEvent_InitDeviceMotionEvent_Method = 865, |
| 766 V8DeviceOrientationEvent_InitDeviceOrientationEvent_Method = 866, |
| 767 V8Event_InitEvent_Method = 867, |
| 768 V8KeyboardEvent_InitKeyboardEvent_Method = 868, |
| 769 V8MouseEvent_InitMouseEvent_Method = 869, |
| 770 V8MutationEvent_InitMutationEvent_Method = 870, |
| 771 V8StorageEvent_InitStorageEvent_Method = 871, |
| 772 V8TouchEvent_InitTouchEvent_Method = 872, |
| 773 V8UIEvent_InitUIEvent_Method = 873, |
763 | 774 |
764 // Add new features immediately above this line. Don't change assigned | 775 // Add new features immediately above this line. Don't change assigned |
765 // numbers of any item, and don't reuse removed slots. | 776 // numbers of any item, and don't reuse removed slots. |
766 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 777 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
767 // to update the UMA mapping. | 778 // to update the UMA mapping. |
768 NumberOfFeatures, // This enum value must be last. | 779 NumberOfFeatures, // This enum value must be last. |
769 }; | 780 }; |
770 | 781 |
771 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 782 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
772 static void count(const Frame*, Feature); | 783 static void count(const Frame*, Feature); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 | 867 |
857 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 868 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
858 | 869 |
859 CountBits m_countBits; | 870 CountBits m_countBits; |
860 BitVector m_CSSFeatureBits; | 871 BitVector m_CSSFeatureBits; |
861 }; | 872 }; |
862 | 873 |
863 } // namespace blink | 874 } // namespace blink |
864 | 875 |
865 #endif // UseCounter_h | 876 #endif // UseCounter_h |
OLD | NEW |