| 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 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _NotificationWrappingImplementation extends DOMWrapperBase implements Noti
fication { | 7 class _NotificationWrappingImplementation extends DOMWrapperBase implements Noti
fication { |
| 8 _NotificationWrappingImplementation() : super() {} | 8 _NotificationWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__NotificationWrappingImplementation() native { | 10 static create__NotificationWrappingImplementation() native { |
| 11 return new _NotificationWrappingImplementation(); | 11 return new _NotificationWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get dir() { return _get_dir(this); } | 14 String get dir() { return _get_dir(this); } |
| 15 static String _get_dir(var _this) native; | 15 static String _get_dir(var _this) native; |
| 16 | 16 |
| 17 void set dir(String value) { _set_dir(this, value); } | 17 void set dir(String value) { _set_dir(this, value); } |
| 18 static void _set_dir(var _this, String value) native; | 18 static void _set_dir(var _this, String value) native; |
| 19 | 19 |
| 20 EventListener get onclick() { return _get_onclick(this); } | |
| 21 static EventListener _get_onclick(var _this) native; | |
| 22 | |
| 23 void set onclick(EventListener value) { _set_onclick(this, value); } | |
| 24 static void _set_onclick(var _this, EventListener value) native; | |
| 25 | |
| 26 EventListener get onclose() { return _get_onclose(this); } | |
| 27 static EventListener _get_onclose(var _this) native; | |
| 28 | |
| 29 void set onclose(EventListener value) { _set_onclose(this, value); } | |
| 30 static void _set_onclose(var _this, EventListener value) native; | |
| 31 | |
| 32 EventListener get ondisplay() { return _get_ondisplay(this); } | |
| 33 static EventListener _get_ondisplay(var _this) native; | |
| 34 | |
| 35 void set ondisplay(EventListener value) { _set_ondisplay(this, value); } | |
| 36 static void _set_ondisplay(var _this, EventListener value) native; | |
| 37 | |
| 38 EventListener get onerror() { return _get_onerror(this); } | |
| 39 static EventListener _get_onerror(var _this) native; | |
| 40 | |
| 41 void set onerror(EventListener value) { _set_onerror(this, value); } | |
| 42 static void _set_onerror(var _this, EventListener value) native; | |
| 43 | |
| 44 String get replaceId() { return _get_replaceId(this); } | 20 String get replaceId() { return _get_replaceId(this); } |
| 45 static String _get_replaceId(var _this) native; | 21 static String _get_replaceId(var _this) native; |
| 46 | 22 |
| 47 void set replaceId(String value) { _set_replaceId(this, value); } | 23 void set replaceId(String value) { _set_replaceId(this, value); } |
| 48 static void _set_replaceId(var _this, String value) native; | 24 static void _set_replaceId(var _this, String value) native; |
| 49 | 25 |
| 50 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 26 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 51 if (useCapture === null) { | 27 if (useCapture === null) { |
| 52 _addEventListener_Notification(this, type, listener); | 28 _addEventListener_Notification(this, type, listener); |
| 53 return; | 29 return; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 83 static void _removeEventListener_Notification_2(receiver, type, listener, useC
apture) native; | 59 static void _removeEventListener_Notification_2(receiver, type, listener, useC
apture) native; |
| 84 | 60 |
| 85 void show() { | 61 void show() { |
| 86 _show(this); | 62 _show(this); |
| 87 return; | 63 return; |
| 88 } | 64 } |
| 89 static void _show(receiver) native; | 65 static void _show(receiver) native; |
| 90 | 66 |
| 91 String get typeName() { return "Notification"; } | 67 String get typeName() { return "Notification"; } |
| 92 } | 68 } |
| OLD | NEW |