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

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

Issue 1972053002: Add UseCounters for Event.cancelBubble behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 During_Microtask_SyncXHR = 1338, 1156 During_Microtask_SyncXHR = 1338,
1157 URLMethodCreateObjectURLServiceWorker = 1339, 1157 URLMethodCreateObjectURLServiceWorker = 1339,
1158 URLMethodRevokeObjectURLServiceWorker = 1340, 1158 URLMethodRevokeObjectURLServiceWorker = 1340,
1159 DocumentCreateEventPaymentRequestUpdateEvent = 1341, 1159 DocumentCreateEventPaymentRequestUpdateEvent = 1341,
1160 CredentialManagerGetReturnedCredential = 1342, 1160 CredentialManagerGetReturnedCredential = 1342,
1161 GeolocationInsecureOriginDeprecatedNotRemoved = 1343, 1161 GeolocationInsecureOriginDeprecatedNotRemoved = 1343,
1162 GeolocationInsecureOriginIframeDeprecatedNotRemoved = 1344, 1162 GeolocationInsecureOriginIframeDeprecatedNotRemoved = 1344,
1163 ProgressElementWithNoneAppearance = 1345, 1163 ProgressElementWithNoneAppearance = 1345,
1164 ProgressElementWithProgressBarAppearance = 1346, 1164 ProgressElementWithProgressBarAppearance = 1346,
1165 PointerEventAddListenerCount = 1347, 1165 PointerEventAddListenerCount = 1347,
1166 EventCancelBubbleAffected = 1348,
1167 EventCancelBubbleWasChangedToTrue = 1349,
1168 EventCancelBubbleWasChangedToFalse = 1350,
1166 1169
1167 // Add new features immediately above this line. Don't change assigned 1170 // Add new features immediately above this line. Don't change assigned
1168 // numbers of any item, and don't reuse removed slots. 1171 // numbers of any item, and don't reuse removed slots.
1169 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1172 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1170 // to update the UMA mapping. 1173 // to update the UMA mapping.
1171 NumberOfFeatures, // This enum value must be last. 1174 NumberOfFeatures, // This enum value must be last.
1172 }; 1175 };
1173 1176
1174 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1177 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1175 static void count(const Frame*, Feature); 1178 static void count(const Frame*, Feature);
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1250 friend class UseCounterTest; 1253 friend class UseCounterTest;
1251 static int m_muteCount; 1254 static int m_muteCount;
1252 1255
1253 CountBits m_countBits; 1256 CountBits m_countBits;
1254 BitVector m_CSSFeatureBits; 1257 BitVector m_CSSFeatureBits;
1255 }; 1258 };
1256 1259
1257 } // namespace blink 1260 } // namespace blink
1258 1261
1259 #endif // UseCounter_h 1262 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698