| 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 // WARNING: Do not edit - generated code. | 5 interface TouchEvent extends UIEvent factory TouchEventWrappingImplementation { |
| 6 | 6 |
| 7 interface TouchEvent extends UIEvent { | 7 TouchEvent(TouchList touches, TouchList targetTouches, |
| 8 TouchList changedTouches, String type, Window view, int screenX, |
| 9 int screenY, int clientX, int clientY, [bool ctrlKey, bool altKey, |
| 10 bool shiftKey, bool metaKey]); |
| 8 | 11 |
| 9 bool get altKey(); | 12 bool get altKey(); |
| 10 | 13 |
| 11 TouchList get changedTouches(); | 14 TouchList get changedTouches(); |
| 12 | 15 |
| 13 bool get ctrlKey(); | 16 bool get ctrlKey(); |
| 14 | 17 |
| 15 bool get metaKey(); | 18 bool get metaKey(); |
| 16 | 19 |
| 17 bool get shiftKey(); | 20 bool get shiftKey(); |
| 18 | 21 |
| 19 TouchList get targetTouches(); | 22 TouchList get targetTouches(); |
| 20 | 23 |
| 21 TouchList get touches(); | 24 TouchList get touches(); |
| 22 | |
| 23 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, Window view, int screenX, int screenY, int clientX, int
clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey); | |
| 24 } | 25 } |
| OLD | NEW |