Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 1509353004: Add UseCounters for Selection methods that take null (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 V8SVGViewElement_ViewTarget_AttributeGetter = 1073, 930 V8SVGViewElement_ViewTarget_AttributeGetter = 1073,
931 DisableRemotePlaybackAttribute = 1074, 931 DisableRemotePlaybackAttribute = 1074,
932 V8SloppyMode = 1075, 932 V8SloppyMode = 1075,
933 V8StrictMode = 1076, 933 V8StrictMode = 1076,
934 V8StrongMode = 1077, 934 V8StrongMode = 1077,
935 AudioNodeConnectToAudioNode = 1078, 935 AudioNodeConnectToAudioNode = 1078,
936 AudioNodeConnectToAudioParam = 1079, 936 AudioNodeConnectToAudioParam = 1079,
937 AudioNodeDisconnectFromAudioNode = 1080, 937 AudioNodeDisconnectFromAudioNode = 1080,
938 AudioNodeDisconnectFromAudioParam = 1081, 938 AudioNodeDisconnectFromAudioParam = 1081,
939 V8CSSFontFaceRule_Style_AttributeGetter = 1082, 939 V8CSSFontFaceRule_Style_AttributeGetter = 1082,
940 SelectionCollapseNull = 1083,
941 SelectionSetBaseAndExtentNull = 1084,
940 942
941 // Add new features immediately above this line. Don't change assigned 943 // Add new features immediately above this line. Don't change assigned
942 // numbers of any item, and don't reuse removed slots. 944 // numbers of any item, and don't reuse removed slots.
943 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 945 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
944 // to update the UMA mapping. 946 // to update the UMA mapping.
945 NumberOfFeatures, // This enum value must be last. 947 NumberOfFeatures, // This enum value must be last.
946 }; 948 };
947 949
948 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 950 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
949 static void count(const Frame*, Feature); 951 static void count(const Frame*, Feature);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 1036
1035 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 1037 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
1036 1038
1037 CountBits m_countBits; 1039 CountBits m_countBits;
1038 BitVector m_CSSFeatureBits; 1040 BitVector m_CSSFeatureBits;
1039 }; 1041 };
1040 1042
1041 } // namespace blink 1043 } // namespace blink
1042 1044
1043 #endif // UseCounter_h 1045 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/Selection.idl ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698