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

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

Issue 1536733002: Deprecate initTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/UseCounter.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
index 6397d00f9f7fc8b5ef2d46c483ef779d2bff9314..4f3edd65895a6c38a33fb42c145ad09f4b370d38 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -940,6 +940,9 @@ String UseCounter::deprecationMessage(Feature feature)
case CSSXGetComputedStyleQueries:
return "'getComputedStyle(e).cssXx' (except .cssFloat) is deprecated and will be removed in M50, around April 2016. Please use 'getComputedStyle(e).xx' instead.";
+ case V8TouchEvent_InitTouchEvent_Method:
+ return "'TouchEvent.initTouchEvent' is deprecated and will be removed in M53, around September 2016. Please use TouchEvent constructor instead. See https://www.chromestatus.com/features/5730982598541312 for more details.";
Rick Byers 2015/12/18 17:16:10 nit: s/use TouchEvent constructor/use the TouchEve
chongz 2015/12/21 22:54:34 Done.
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698