| Index: tools/dom/src/dart2js_DOMImplementation.dart
|
| diff --git a/tools/dom/src/dart2js_DOMImplementation.dart b/tools/dom/src/dart2js_DOMImplementation.dart
|
| index f263def4a86e374081c680e427af725774f1afa4..dd82ad8e9afa939ab431c07c0f3e620348c9a6ca 100644
|
| --- a/tools/dom/src/dart2js_DOMImplementation.dart
|
| +++ b/tools/dom/src/dart2js_DOMImplementation.dart
|
| @@ -57,6 +57,10 @@ class _DOMWindowCrossFrame implements WindowBase {
|
| Events get on => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| // TODO(efortuna): Remove this method. dartbug.com/16814
|
| + void _addEventListener([String type, EventListener listener, bool useCapture])
|
| + => throw new UnsupportedError(
|
| + 'You can only attach EventListeners to your own window.');
|
| + // TODO(efortuna): Remove this method. dartbug.com/16814
|
| void addEventListener(String type, EventListener listener, [bool useCapture])
|
| => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| @@ -64,6 +68,10 @@ class _DOMWindowCrossFrame implements WindowBase {
|
| bool dispatchEvent(Event event) => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| // TODO(efortuna): Remove this method. dartbug.com/16814
|
| + void _removeEventListener([String type, EventListener listener,
|
| + bool useCapture]) => throw new UnsupportedError(
|
| + 'You can only attach EventListeners to your own window.');
|
| + // TODO(efortuna): Remove this method. dartbug.com/16814
|
| void removeEventListener(String type, EventListener listener,
|
| [bool useCapture]) => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
|
|