Index: Source/core/events/TouchEvent.idl |
diff --git a/Source/core/events/TouchEvent.idl b/Source/core/events/TouchEvent.idl |
index 36f0ac54e642045d718217083cb4c65426c62fc1..59010892a784949750b9d32a28158fb0c62aeb70 100644 |
--- a/Source/core/events/TouchEvent.idl |
+++ b/Source/core/events/TouchEvent.idl |
@@ -22,15 +22,19 @@ |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+ |
+// http://www.w3.org/TR/touch-events/#touchevent-interface |
+ |
interface TouchEvent : UIEvent { |
readonly attribute TouchList touches; |
readonly attribute TouchList targetTouches; |
readonly attribute TouchList changedTouches; |
- readonly attribute boolean ctrlKey; |
- readonly attribute boolean shiftKey; |
readonly attribute boolean altKey; |
readonly attribute boolean metaKey; |
+ readonly attribute boolean ctrlKey; |
+ readonly attribute boolean shiftKey; |
+ // FIXME: initTouch() is not yet standardized. |
void initTouchEvent([Default=Undefined] optional TouchList touches, |
[Default=Undefined] optional TouchList targetTouches, |
[Default=Undefined] optional TouchList changedTouches, |