| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 interface TouchEvent extends UIEvent default TouchEventWrappingImplementation { | 5 interface TouchEvent extends UIEvent default TouchEventWrappingImplementation { |
| 6 | 6 |
| 7 TouchEvent(TouchList touches, TouchList targetTouches, | 7 TouchEvent(TouchList touches, TouchList targetTouches, |
| 8 TouchList changedTouches, String type, Window view, int screenX, | 8 TouchList changedTouches, String type, Window view, int screenX, |
| 9 int screenY, int clientX, int clientY, [bool ctrlKey, bool altKey, | 9 int screenY, int clientX, int clientY, [bool ctrlKey, bool altKey, |
| 10 bool shiftKey, bool metaKey]); | 10 bool shiftKey, bool metaKey]); |
| 11 | 11 |
| 12 bool get altKey(); | 12 bool get altKey; |
| 13 | 13 |
| 14 TouchList get changedTouches(); | 14 TouchList get changedTouches; |
| 15 | 15 |
| 16 bool get ctrlKey(); | 16 bool get ctrlKey; |
| 17 | 17 |
| 18 bool get metaKey(); | 18 bool get metaKey; |
| 19 | 19 |
| 20 bool get shiftKey(); | 20 bool get shiftKey; |
| 21 | 21 |
| 22 TouchList get targetTouches(); | 22 TouchList get targetTouches; |
| 23 | 23 |
| 24 TouchList get touches(); | 24 TouchList get touches; |
| 25 } | 25 } |
| OLD | NEW |