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

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

Issue 1577163003: Add deepPath (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change layout test results Created 4 years, 11 months 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
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 V8SVGPathElement_PathLength_AttributeGetter = 1113, 968 V8SVGPathElement_PathLength_AttributeGetter = 1113,
969 SVG1DOMSVGElement = 1114, 969 SVG1DOMSVGElement = 1114,
970 SVG1DOMImageElement = 1115, 970 SVG1DOMImageElement = 1115,
971 SVG1DOMForeignObjectElement = 1116, 971 SVG1DOMForeignObjectElement = 1116,
972 AudioContextCreateIIRFilter = 1117, 972 AudioContextCreateIIRFilter = 1117,
973 CSSSelectorPseudoSlotted = 1118, 973 CSSSelectorPseudoSlotted = 1118,
974 MediaDevicesEnumerateDevices = 1119, 974 MediaDevicesEnumerateDevices = 1119,
975 NonSecureSharedWorkerAccessedFromSecureContext = 1120, 975 NonSecureSharedWorkerAccessedFromSecureContext = 1120,
976 SecureSharedWorkerAccessedFromNonSecureContext = 1121, 976 SecureSharedWorkerAccessedFromNonSecureContext = 1121,
977 NonCSSStyleSheetType = 1122, 977 NonCSSStyleSheetType = 1122,
978 EventDeepPath = 1123,
978 979
979 // Add new features immediately above this line. Don't change assigned 980 // Add new features immediately above this line. Don't change assigned
980 // numbers of any item, and don't reuse removed slots. 981 // numbers of any item, and don't reuse removed slots.
981 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 982 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
982 // to update the UMA mapping. 983 // to update the UMA mapping.
983 NumberOfFeatures, // This enum value must be last. 984 NumberOfFeatures, // This enum value must be last.
984 }; 985 };
985 986
986 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 987 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
987 static void count(const Frame*, Feature); 988 static void count(const Frame*, Feature);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 1073
1073 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 1074 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
1074 1075
1075 CountBits m_countBits; 1076 CountBits m_countBits;
1076 BitVector m_CSSFeatureBits; 1077 BitVector m_CSSFeatureBits;
1077 }; 1078 };
1078 1079
1079 } // namespace blink 1080 } // namespace blink
1080 1081
1081 #endif // UseCounter_h 1082 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698