|
1 /* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 #include "nsIDOMUIEvent.idl" |
|
7 %{C++ |
|
8 #include "nsWeakPtr.h" |
|
9 #include "nsPoint.h" |
|
10 %} |
|
11 interface nsIVariant; |
|
12 |
|
13 [scriptable, uuid(6d5484f7-92ac-45f8-9388-39b5bad055ce)] |
|
14 interface nsITouchEventReceiver : nsISupports { |
|
15 [implicit_jscontext] attribute jsval ontouchstart; |
|
16 [implicit_jscontext] attribute jsval ontouchend; |
|
17 [implicit_jscontext] attribute jsval ontouchmove; |
|
18 [implicit_jscontext] attribute jsval ontouchenter; |
|
19 [implicit_jscontext] attribute jsval ontouchleave; |
|
20 [implicit_jscontext] attribute jsval ontouchcancel; |
|
21 }; |