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

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: Remove error from test case as it bubbles up and fails test\ 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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 ContentEditableTrue = 1130, 986 ContentEditableTrue = 1130,
987 ContentEditableTrueOnHTML = 1131, 987 ContentEditableTrueOnHTML = 1131,
988 ContentEditablePlainTextOnly = 1132, 988 ContentEditablePlainTextOnly = 1132,
989 V8RegExpPrototypeUnicodeGetter = 1133, 989 V8RegExpPrototypeUnicodeGetter = 1133,
990 V8IntlV8Parse = 1134, 990 V8IntlV8Parse = 1134,
991 V8IntlPattern = 1135, 991 V8IntlPattern = 1135,
992 V8IntlResolved = 1136, 992 V8IntlResolved = 1136,
993 V8PromiseChain = 1137, 993 V8PromiseChain = 1137,
994 V8PromiseAccept = 1138, 994 V8PromiseAccept = 1138,
995 V8PromiseDefer = 1139, 995 V8PromiseDefer = 1139,
996 EventScoped = 1140,
996 997
997 // Add new features immediately above this line. Don't change assigned 998 // Add new features immediately above this line. Don't change assigned
998 // numbers of any item, and don't reuse removed slots. 999 // numbers of any item, and don't reuse removed slots.
999 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1000 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1000 // to update the UMA mapping. 1001 // to update the UMA mapping.
1001 NumberOfFeatures, // This enum value must be last. 1002 NumberOfFeatures, // This enum value must be last.
1002 }; 1003 };
1003 1004
1004 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1005 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1005 static void count(const Frame*, Feature); 1006 static void count(const Frame*, Feature);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 1091
1091 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 1092 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
1092 1093
1093 CountBits m_countBits; 1094 CountBits m_countBits;
1094 BitVector m_CSSFeatureBits; 1095 BitVector m_CSSFeatureBits;
1095 }; 1096 };
1096 1097
1097 } // namespace blink 1098 } // namespace blink
1098 1099
1099 #endif // UseCounter_h 1100 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698