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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 PresentationRequestReconnect = 930, | 806 PresentationRequestReconnect = 930, |
807 PresentationRequestGetAvailability = 931, | 807 PresentationRequestGetAvailability = 931, |
808 PresentationRequestConnectionAvailableEventListener = 932, | 808 PresentationRequestConnectionAvailableEventListener = 932, |
809 PresentationConnectionClose = 933, | 809 PresentationConnectionClose = 933, |
810 PresentationConnectionSend = 934, | 810 PresentationConnectionSend = 934, |
811 PresentationConnectionStateChangeEventListener = 935, | 811 PresentationConnectionStateChangeEventListener = 935, |
812 PresentationConnectionMessageEventListener = 936, | 812 PresentationConnectionMessageEventListener = 936, |
813 CSSAnimationsStackedNeutralKeyframe = 937, | 813 CSSAnimationsStackedNeutralKeyframe = 937, |
814 ReadingCheckedInClickHandler = 938, | 814 ReadingCheckedInClickHandler = 938, |
815 FlexboxIntrinsicSizeAlgorithmIsDifferent = 939, | 815 FlexboxIntrinsicSizeAlgorithmIsDifferent = 939, |
| 816 // The above items are available in M46 branch. |
| 817 |
816 HTMLImportsHasStyleSheets = 940, | 818 HTMLImportsHasStyleSheets = 940, |
817 WebkitTextInClipProperty = 941, | 819 WebkitTextInClipProperty = 941, |
818 WebkitTextInColorProperty = 942, | 820 WebkitTextInColorProperty = 942, |
819 HeaderValueNotMatchingRFC7230 = 943, | 821 HeaderValueNotMatchingRFC7230 = 943, |
820 ClipPathOfPositionedElement = 944, | 822 ClipPathOfPositionedElement = 944, |
821 ClipCssOfPositionedElement = 945, | 823 ClipCssOfPositionedElement = 945, |
822 NetInfoType = 946, | 824 NetInfoType = 946, |
823 NetInfoDownlinkMax = 947, | 825 NetInfoDownlinkMax = 947, |
824 NetInfoOnChange = 948, | 826 NetInfoOnChange = 948, |
825 NetInfoOnTypeChange = 949, | 827 NetInfoOnTypeChange = 949, |
826 V8Window_Alert_Method = 950, | 828 V8Window_Alert_Method = 950, |
827 V8Window_Confirm_Method = 951, | 829 V8Window_Confirm_Method = 951, |
828 V8Window_Prompt_Method = 952, | 830 V8Window_Prompt_Method = 952, |
829 V8Window_Print_Method = 953, | 831 V8Window_Print_Method = 953, |
830 V8Window_RequestIdleCallback_Method = 954, | 832 V8Window_RequestIdleCallback_Method = 954, |
831 FlexboxPercentagePaddingVertical = 955, | 833 FlexboxPercentagePaddingVertical = 955, |
832 FlexboxPercentageMarginVertical = 956, | 834 FlexboxPercentageMarginVertical = 956, |
833 BackspaceNavigatedBack = 957, | 835 BackspaceNavigatedBack = 957, |
834 BackspaceNavigatedBackAfterFormInteraction = 958, | 836 BackspaceNavigatedBackAfterFormInteraction = 958, |
835 CSPSourceWildcardWouldMatchExactHost = 959, | 837 CSPSourceWildcardWouldMatchExactHost = 959, |
836 CredentialManagerGet = 960, | 838 CredentialManagerGet = 960, |
837 CredentialManagerGetWithUI = 961, | 839 CredentialManagerGetWithUI = 961, |
838 CredentialManagerGetWithoutUI = 962, | 840 CredentialManagerGetWithoutUI = 962, |
839 CredentialManagerStore = 963, | 841 CredentialManagerStore = 963, |
840 CredentialManagerRequireUserMediation = 964, | 842 CredentialManagerRequireUserMediation = 964, |
| 843 // The above items are available in M47 branch. |
| 844 |
841 RequestAutocomplete = 965, | 845 RequestAutocomplete = 965, |
842 | 846 |
843 // Add new features immediately above this line. Don't change assigned | 847 // Add new features immediately above this line. Don't change assigned |
844 // numbers of any item, and don't reuse removed slots. | 848 // numbers of any item, and don't reuse removed slots. |
845 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 849 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
846 // to update the UMA mapping. | 850 // to update the UMA mapping. |
847 NumberOfFeatures, // This enum value must be last. | 851 NumberOfFeatures, // This enum value must be last. |
848 }; | 852 }; |
849 | 853 |
850 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 854 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 | 940 |
937 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } | 941 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR
ecordedMeasurement(feature); } |
938 | 942 |
939 CountBits m_countBits; | 943 CountBits m_countBits; |
940 BitVector m_CSSFeatureBits; | 944 BitVector m_CSSFeatureBits; |
941 }; | 945 }; |
942 | 946 |
943 } // namespace blink | 947 } // namespace blink |
944 | 948 |
945 #endif // UseCounter_h | 949 #endif // UseCounter_h |
OLD | NEW |