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

Unified Diff: third_party/WebKit/Source/core/events/TouchEvent.idl

Issue 1536733002: Deprecate initTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/events/TouchEvent.idl
diff --git a/third_party/WebKit/Source/core/events/TouchEvent.idl b/third_party/WebKit/Source/core/events/TouchEvent.idl
index 7f9d6fd43561d72bf6e0779f53dd419a06f97432..42e234d1ac89e344ed89025c8f1724a43e573319 100644
--- a/third_party/WebKit/Source/core/events/TouchEvent.idl
+++ b/third_party/WebKit/Source/core/events/TouchEvent.idl
@@ -36,18 +36,17 @@
readonly attribute boolean ctrlKey;
readonly attribute boolean shiftKey;
- // FIXME: initTouchEvent() is not standardized. http://crbug.com/518868
- [CallWith=ScriptState, Measure, LegacyInterfaceTypeChecking] void initTouchEvent([Default=Undefined] optional TouchList touches,
- [Default=Undefined] optional TouchList targetTouches,
- [Default=Undefined] optional TouchList changedTouches,
- [Default=Undefined] optional DOMString type,
- [Default=Undefined] optional Window? view,
- [Default=Undefined] optional long unused1,
- [Default=Undefined] optional long unused2,
- [Default=Undefined] optional long unused3,
- [Default=Undefined] optional long unused4,
- [Default=Undefined] optional boolean ctrlKey,
- [Default=Undefined] optional boolean altKey,
- [Default=Undefined] optional boolean shiftKey,
- [Default=Undefined] optional boolean metaKey);
+ [CallWith=ScriptState, DeprecateAs=V8TouchEvent_InitTouchEvent_Method, LegacyInterfaceTypeChecking] void initTouchEvent([Default=Undefined] optional TouchList touches,
+ [Default=Undefined] optional TouchList targetTouches,
+ [Default=Undefined] optional TouchList changedTouches,
+ [Default=Undefined] optional DOMString type,
+ [Default=Undefined] optional Window? view,
+ [Default=Undefined] optional long unused1,
+ [Default=Undefined] optional long unused2,
+ [Default=Undefined] optional long unused3,
+ [Default=Undefined] optional long unused4,
+ [Default=Undefined] optional boolean ctrlKey,
+ [Default=Undefined] optional boolean altKey,
+ [Default=Undefined] optional boolean shiftKey,
+ [Default=Undefined] optional boolean metaKey);
};

Powered by Google App Engine
This is Rietveld 408576698