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

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

Issue 1956493002: Remove user gestures on touches other than tap in cross-origin iframes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attempt to harden the test 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 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 ScriptPassesCSPDynamic = 1275, 1091 ScriptPassesCSPDynamic = 1275,
1092 ScriptPassesCSPNonce = 1276, 1092 ScriptPassesCSPNonce = 1276,
1093 CSPWithUnsafeDynamic = 1277, 1093 CSPWithUnsafeDynamic = 1277,
1094 ScrollAnchored = 1278, 1094 ScrollAnchored = 1278,
1095 AddEventListenerFourArguments = 1279, 1095 AddEventListenerFourArguments = 1279,
1096 RemoveEventListenerFourArguments = 1280, 1096 RemoveEventListenerFourArguments = 1280,
1097 InvalidReportUriDirectiveInMetaCSP = 1281, 1097 InvalidReportUriDirectiveInMetaCSP = 1281,
1098 InvalidSandboxDirectiveInMetaCSP = 1282, 1098 InvalidSandboxDirectiveInMetaCSP = 1282,
1099 InvalidFrameAncestorsDirectiveInMetaCSP = 1283, 1099 InvalidFrameAncestorsDirectiveInMetaCSP = 1283,
1100 TouchDragUserGestureUsed = 1284, 1100 TouchDragUserGestureUsed = 1284,
1101 TouchDragUserGestureUsedCrossOrigin = 1285,
1102 DocumentCreateEventForeignFetchEvent = 1286, 1101 DocumentCreateEventForeignFetchEvent = 1286,
dtapuska 2016/05/12 00:29:47 Does it make sense to remove this since we aren't
Rick Byers 2016/05/12 03:20:45 I think so, but it looks we haven't been consisten
1103 SVGCalcModeDiscrete = 1287, 1102 SVGCalcModeDiscrete = 1287,
1104 SVGCalcModeLinear = 1288, 1103 SVGCalcModeLinear = 1288,
1105 SVGCalcModePaced = 1289, 1104 SVGCalcModePaced = 1289,
1106 SVGCalcModeSpline = 1290, 1105 SVGCalcModeSpline = 1290,
1107 FormSubmissionStarted = 1291, 1106 FormSubmissionStarted = 1291,
1108 FormValidationStarted = 1292, 1107 FormValidationStarted = 1292,
1109 FormValidationAbortedSubmission = 1293, 1108 FormValidationAbortedSubmission = 1293,
1110 FormValidationShowedMessage = 1294, 1109 FormValidationShowedMessage = 1294,
1111 WebAnimationsEasingAsFunctionLinear = 1295, 1110 WebAnimationsEasingAsFunctionLinear = 1295,
1112 WebAnimationsEasingAsFunctionOther = 1296, 1111 WebAnimationsEasingAsFunctionOther = 1296,
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 friend class UseCounterTest; 1240 friend class UseCounterTest;
1242 static int m_muteCount; 1241 static int m_muteCount;
1243 1242
1244 CountBits m_countBits; 1243 CountBits m_countBits;
1245 BitVector m_CSSFeatureBits; 1244 BitVector m_CSSFeatureBits;
1246 }; 1245 };
1247 1246
1248 } // namespace blink 1247 } // namespace blink
1249 1248
1250 #endif // UseCounter_h 1249 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698