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

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

Issue 1996143002: Deprecate use of user gestures during scroll-related touch events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with trunk Created 4 years, 6 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 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 ImageDocument = 1274, 1085 ImageDocument = 1274,
1086 ScriptPassesCSPDynamic = 1275, 1086 ScriptPassesCSPDynamic = 1275,
1087 ScriptPassesCSPNonce = 1276, 1087 ScriptPassesCSPNonce = 1276,
1088 CSPWithUnsafeDynamic = 1277, 1088 CSPWithUnsafeDynamic = 1277,
1089 ScrollAnchored = 1278, 1089 ScrollAnchored = 1278,
1090 AddEventListenerFourArguments = 1279, 1090 AddEventListenerFourArguments = 1279,
1091 RemoveEventListenerFourArguments = 1280, 1091 RemoveEventListenerFourArguments = 1280,
1092 InvalidReportUriDirectiveInMetaCSP = 1281, 1092 InvalidReportUriDirectiveInMetaCSP = 1281,
1093 InvalidSandboxDirectiveInMetaCSP = 1282, 1093 InvalidSandboxDirectiveInMetaCSP = 1282,
1094 InvalidFrameAncestorsDirectiveInMetaCSP = 1283, 1094 InvalidFrameAncestorsDirectiveInMetaCSP = 1283,
1095 TouchDragUserGestureUsed = 1284,
1096 DocumentCreateEventForeignFetchEvent = 1286, 1095 DocumentCreateEventForeignFetchEvent = 1286,
1097 SVGCalcModeDiscrete = 1287, 1096 SVGCalcModeDiscrete = 1287,
1098 SVGCalcModeLinear = 1288, 1097 SVGCalcModeLinear = 1288,
1099 SVGCalcModePaced = 1289, 1098 SVGCalcModePaced = 1289,
1100 SVGCalcModeSpline = 1290, 1099 SVGCalcModeSpline = 1290,
1101 FormSubmissionStarted = 1291, 1100 FormSubmissionStarted = 1291,
1102 FormValidationStarted = 1292, 1101 FormValidationStarted = 1292,
1103 FormValidationAbortedSubmission = 1293, 1102 FormValidationAbortedSubmission = 1293,
1104 FormValidationShowedMessage = 1294, 1103 FormValidationShowedMessage = 1294,
1105 WebAnimationsEasingAsFunctionLinear = 1295, 1104 WebAnimationsEasingAsFunctionLinear = 1295,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 DurableStoragePersist = 1369, 1180 DurableStoragePersist = 1369,
1182 DurableStoragePersisted = 1370, 1181 DurableStoragePersisted = 1370,
1183 DurableStorageEstimate = 1371, 1182 DurableStorageEstimate = 1371,
1184 UntrustedEventDefaultHandled = 1372, 1183 UntrustedEventDefaultHandled = 1372,
1185 FixedRasterScaleBlurryContent = 1373, 1184 FixedRasterScaleBlurryContent = 1373,
1186 FixedRasterScalePotentialPerformanceRegression = 1374, 1185 FixedRasterScalePotentialPerformanceRegression = 1374,
1187 CSSDeepCombinatorAndShadow = 1375, 1186 CSSDeepCombinatorAndShadow = 1375,
1188 OpacityWithPreserve3DQuirk = 1376, 1187 OpacityWithPreserve3DQuirk = 1376,
1189 CSSSelectorPseudoReadOnly = 1377, 1188 CSSSelectorPseudoReadOnly = 1377,
1190 CSSSelectorPseudoReadWrite = 1378, 1189 CSSSelectorPseudoReadWrite = 1378,
1190 // The above items are available in M52 branch
1191
1191 UnloadHandler_Navigation = 1379, 1192 UnloadHandler_Navigation = 1379,
1193 TouchStartUserGestureUtilized = 1380,
1194 TouchMoveUserGestureUtilized = 1381,
1195 TouchEndDuringScrollUserGestureUtilized = 1382,
1192 1196
1193 // Add new features immediately above this line. Don't change assigned 1197 // Add new features immediately above this line. Don't change assigned
1194 // numbers of any item, and don't reuse removed slots. 1198 // numbers of any item, and don't reuse removed slots.
1195 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1199 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1196 // to update the UMA mapping. 1200 // to update the UMA mapping.
1197 NumberOfFeatures, // This enum value must be last. 1201 NumberOfFeatures, // This enum value must be last.
1198 }; 1202 };
1199 1203
1200 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1204 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1201 static void count(const Frame*, Feature); 1205 static void count(const Frame*, Feature);
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1276 friend class UseCounterTest; 1280 friend class UseCounterTest;
1277 static int m_muteCount; 1281 static int m_muteCount;
1278 1282
1279 CountBits m_countBits; 1283 CountBits m_countBits;
1280 BitVector m_CSSFeatureBits; 1284 BitVector m_CSSFeatureBits;
1281 }; 1285 };
1282 1286
1283 } // namespace blink 1287 } // namespace blink
1284 1288
1285 #endif // UseCounter_h 1289 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698