1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/interfaces/events/nsIDOMTouchEvent.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +/* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#include "nsIDOMUIEvent.idl" 1.10 +%{C++ 1.11 +#include "nsWeakPtr.h" 1.12 +#include "nsPoint.h" 1.13 +%} 1.14 +interface nsIVariant; 1.15 + 1.16 +[scriptable, uuid(6d5484f7-92ac-45f8-9388-39b5bad055ce)] 1.17 +interface nsITouchEventReceiver : nsISupports { 1.18 + [implicit_jscontext] attribute jsval ontouchstart; 1.19 + [implicit_jscontext] attribute jsval ontouchend; 1.20 + [implicit_jscontext] attribute jsval ontouchmove; 1.21 + [implicit_jscontext] attribute jsval ontouchenter; 1.22 + [implicit_jscontext] attribute jsval ontouchleave; 1.23 + [implicit_jscontext] attribute jsval ontouchcancel; 1.24 +};