| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 class MessageEventWrappingImplementation extends EventWrappingImplementation imp
lements MessageEvent { | |
| 8 MessageEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
| 9 | |
| 10 String get data() { return _ptr.data; } | |
| 11 | |
| 12 String get lastEventId() { return _ptr.lastEventId; } | |
| 13 | |
| 14 MessagePort get messagePort() { return LevelDom.wrapMessagePort(_ptr.messagePo
rt); } | |
| 15 | |
| 16 String get origin() { return _ptr.origin; } | |
| 17 | |
| 18 Window get source() { return LevelDom.wrapWindow(_ptr.source); } | |
| 19 | |
| 20 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring dataArg, String originArg, String lastEventIdArg, Window sourceArg, Messag
ePort messagePort) { | |
| 21 _ptr.initMessageEvent(typeArg, canBubbleArg, cancelableArg, dataArg, originA
rg, lastEventIdArg, LevelDom.unwrap(sourceArg), LevelDom.unwrap(messagePort)); | |
| 22 return; | |
| 23 } | |
| 24 } | |
| OLD | NEW |