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

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

Issue 1586563005: Add Event.scoped (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify 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
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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 CSSSelectorPseudoSlotted = 1118, 975 CSSSelectorPseudoSlotted = 1118,
976 MediaDevicesEnumerateDevices = 1119, 976 MediaDevicesEnumerateDevices = 1119,
977 NonSecureSharedWorkerAccessedFromSecureContext = 1120, 977 NonSecureSharedWorkerAccessedFromSecureContext = 1120,
978 SecureSharedWorkerAccessedFromNonSecureContext = 1121, 978 SecureSharedWorkerAccessedFromNonSecureContext = 1121,
979 NonCSSStyleSheetType = 1122, 979 NonCSSStyleSheetType = 1122,
980 EventDeepPath = 1123, 980 EventDeepPath = 1123,
981 LinkHeaderPreload = 1124, 981 LinkHeaderPreload = 1124,
982 MouseWheelEvent = 1125, 982 MouseWheelEvent = 1125,
983 WheelEvent = 1126, 983 WheelEvent = 1126,
984 MouseWheelAndWheelEvent = 1127, 984 MouseWheelAndWheelEvent = 1127,
985 EventScoped = 1128,
985 986
986 // Add new features immediately above this line. Don't change assigned 987 // Add new features immediately above this line. Don't change assigned
987 // numbers of any item, and don't reuse removed slots. 988 // numbers of any item, and don't reuse removed slots.
988 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 989 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
989 // to update the UMA mapping. 990 // to update the UMA mapping.
990 NumberOfFeatures, // This enum value must be last. 991 NumberOfFeatures, // This enum value must be last.
991 }; 992 };
992 993
993 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 994 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
994 static void count(const Frame*, Feature); 995 static void count(const Frame*, Feature);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 1080
1080 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 1081 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
1081 1082
1082 CountBits m_countBits; 1083 CountBits m_countBits;
1083 BitVector m_CSSFeatureBits; 1084 BitVector m_CSSFeatureBits;
1084 }; 1085 };
1085 1086
1086 } // namespace blink 1087 } // namespace blink
1087 1088
1088 #endif // UseCounter_h 1089 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698