Bug 996955 - Remove nsIDOMTouch; r=bzbarsky
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Apr 2014 22:18:18 -0400
changeset 197235 b45fb59280c6eb46b8ed4bdd3a909f62ff4d58b1
parent 197234 b300ff71f9b0a57ea2fad3eba139085760806b63
child 197236 8dfc1efbb580da0ad72f1d26c056438736e47576
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs996955
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 996955 - Remove nsIDOMTouch; r=bzbarsky
dom/interfaces/base/nsIDOMWindowUtils.idl
dom/interfaces/events/nsIDOMTouchEvent.idl
--- a/dom/interfaces/base/nsIDOMWindowUtils.idl
+++ b/dom/interfaces/base/nsIDOMWindowUtils.idl
@@ -31,17 +31,16 @@ interface nsIDOMElement;
 interface nsIDOMHTMLCanvasElement;
 interface nsIDOMEvent;
 interface nsITransferable;
 interface nsIQueryContentEventResult;
 interface nsIDOMWindow;
 interface nsIDOMBlob;
 interface nsIDOMFile;
 interface nsIFile;
-interface nsIDOMTouch;
 interface nsIDOMClientRect;
 interface nsIURI;
 interface nsIDOMEventTarget;
 interface nsIRunnable;
 interface nsICompositionStringSynthesizer;
 interface nsITranslationNodeList;
 
 [scriptable, uuid(3d977df2-1c0e-4b61-bc21-c6ee757a9191)]
--- a/dom/interfaces/events/nsIDOMTouchEvent.idl
+++ b/dom/interfaces/events/nsIDOMTouchEvent.idl
@@ -5,36 +5,16 @@
 
 #include "nsIDOMUIEvent.idl"
 %{C++
 #include "nsWeakPtr.h"
 #include "nsPoint.h"
 %}
 interface nsIVariant;
 
-/**
- * @see http://dvcs.w3.org/hg/webevents/raw-file/tip/touchevents.html
- */
-
-[scriptable, builtinclass, uuid(2311671f-ff7e-43d2-adfb-d9e07006955e)]
-interface nsIDOMTouch : nsISupports {
-  readonly attribute long              identifier;
-  readonly attribute nsIDOMEventTarget target;
-  readonly attribute long              pageX;
-  readonly attribute long              pageY;
-  readonly attribute long              screenX;
-  readonly attribute long              screenY;
-  readonly attribute long              clientX;
-  readonly attribute long              clientY;
-  readonly attribute long              radiusX;
-  readonly attribute long              radiusY;
-  readonly attribute float             rotationAngle;
-  readonly attribute float             force;
-};
-
 [scriptable, uuid(6d5484f7-92ac-45f8-9388-39b5bad055ce)]
 interface nsITouchEventReceiver : nsISupports {
   [implicit_jscontext] attribute jsval           ontouchstart;
   [implicit_jscontext] attribute jsval           ontouchend;
   [implicit_jscontext] attribute jsval           ontouchmove;
   [implicit_jscontext] attribute jsval           ontouchenter;
   [implicit_jscontext] attribute jsval           ontouchleave;
   [implicit_jscontext] attribute jsval           ontouchcancel;