| OLD | NEW |
| 1 | 1 |
| 2 class _NotificationJs extends _DOMTypeJs implements Notification native "*Notifi
cation" { | 2 class _NotificationJs extends _EventTargetJs implements Notification native "*No
tification" { |
| 3 | 3 |
| 4 String dir; | 4 String dir; |
| 5 | 5 |
| 6 String replaceId; | 6 String replaceId; |
| 7 | 7 |
| 8 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 8 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 9 | 9 |
| 10 void cancel() native; | 10 void cancel() native; |
| 11 | 11 |
| 12 bool dispatchEvent(_EventJs evt) native; | 12 bool dispatchEvent(_EventJs evt) native; |
| 13 | 13 |
| 14 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 14 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 15 | 15 |
| 16 void show() native; | 16 void show() native; |
| 17 } | 17 } |
| OLD | NEW |