Chromium Code Reviews| Index: client/touch/TouchUtil.dart |
| diff --git a/client/touch/TouchUtil.dart b/client/touch/TouchUtil.dart |
| index 1d6c160d42a436ddec2a87dee2a3bc6571f84848..3bd590439d6cb5297aa97a8c6c019b5fd804c7c9 100644 |
| --- a/client/touch/TouchUtil.dart |
| +++ b/client/touch/TouchUtil.dart |
| @@ -208,11 +208,6 @@ class MockTouchEvent implements TouchEvent { |
| String get type() => wrapped.type; |
| - void initEvent(String eventTypeArg, bool canBubbleArg, |
| - bool cancelableArg) { |
| - wrapped.initEvent(eventTypeArg, canBubbleArg, cancelableArg); |
| - } |
| - |
| void preventDefault() { wrapped.preventDefault(); } |
| void stopImmediatePropagation() { wrapped.stopImmediatePropagation(); } |
| @@ -237,12 +232,6 @@ class MockTouchEvent implements TouchEvent { |
| int get which() => wrapped.which; |
| - void initUIEvent(String type, bool canBubble, |
| - bool cancelable, Window view, |
| - int detail) { |
| - wrapped.initUIEvent(type, canBubble, cancelable, view, detail); |
| - } |
| - |
| bool get altKey() => wrapped.altKey; |
| bool get ctrlKey() => wrapped.ctrlKey; |
| @@ -250,14 +239,4 @@ class MockTouchEvent implements TouchEvent { |
| bool get metaKey() => wrapped.metaKey; |
| bool get shiftKey() => wrapped.shiftKey; |
| - |
| - void initTouchEvent(TouchList touches, TouchList targetTouches, |
|
Jacob
2011/10/27 23:16:05
nice... removing the ugly initXXXEvent methods had
|
| - TouchList changedTouches, String type, |
| - Window view, int screenX, |
| - int screenY, int clientX, |
| - int clientY, bool ctrlKey, |
| - bool altKey, bool shiftKey, |
| - bool metaKey) { |
| - throw "unimplemented"; |
| - } |
| } |