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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2027473002: Deprecate use of user gestures during scroll-related touch events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index f44a046d4a2433f492fe597fac32470c0bcf9424..9d04f4a6b5a5585f62b0fe0e58d3b6cbac43aa52 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -395,6 +395,15 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature)
case UseCounter::UntrustedEventDefaultHandled:
return String::format("A DOM event generated from JavaScript has triggered a default action inside the browser. This behavior is non-standard and will be removed in %s. See https://www.chromestatus.com/features/5718803933560832 for more details.", milestoneString(53));
+ case UseCounter::TouchStartUserGestureUtilized:
+ return willBeRemoved("Performing operations that require explicit user interaction on touchstart events", 54, "5649871251963904");
+
+ case UseCounter::TouchMoveUserGestureUtilized:
+ return willBeRemoved("Performing operations that require explicit user interaction on touchmove events", 54, "5649871251963904");
+
+ case UseCounter::TouchEndDuringScrollUserGestureUtilized:
+ return willBeRemoved("Performing operations that require explicit user interaction on touchend events that occur as part of a scroll", 54, "5649871251963904");
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698