| 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 _CloseEventWrappingImplementation extends _EventWrappingImplementation imp
lements CloseEvent { | 7 class _CloseEventWrappingImplementation extends _EventWrappingImplementation imp
lements CloseEvent { |
| 8 _CloseEventWrappingImplementation() : super() {} | 8 _CloseEventWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__CloseEventWrappingImplementation() native { | 10 static create__CloseEventWrappingImplementation() native { |
| 11 return new _CloseEventWrappingImplementation(); | 11 return new _CloseEventWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int get code() { return _get__CloseEvent_code(this); } | 14 int get code() { return _get_code(this); } |
| 15 static int _get__CloseEvent_code(var _this) native; | 15 static int _get_code(var _this) native; |
| 16 | 16 |
| 17 String get reason() { return _get__CloseEvent_reason(this); } | 17 String get reason() { return _get_reason(this); } |
| 18 static String _get__CloseEvent_reason(var _this) native; | 18 static String _get_reason(var _this) native; |
| 19 | 19 |
| 20 bool get wasClean() { return _get__CloseEvent_wasClean(this); } | 20 bool get wasClean() { return _get_wasClean(this); } |
| 21 static bool _get__CloseEvent_wasClean(var _this) native; | 21 static bool _get_wasClean(var _this) native; |
| 22 | 22 |
| 23 void initCloseEvent(String typeArg, bool canBubbleArg, bool cancelableArg, boo
l wasCleanArg, int codeArg, String reasonArg) { | 23 void initCloseEvent(String typeArg, bool canBubbleArg, bool cancelableArg, boo
l wasCleanArg, int codeArg, String reasonArg) { |
| 24 _initCloseEvent(this, typeArg, canBubbleArg, cancelableArg, wasCleanArg, cod
eArg, reasonArg); | 24 _initCloseEvent(this, typeArg, canBubbleArg, cancelableArg, wasCleanArg, cod
eArg, reasonArg); |
| 25 return; | 25 return; |
| 26 } | 26 } |
| 27 static void _initCloseEvent(receiver, typeArg, canBubbleArg, cancelableArg, wa
sCleanArg, codeArg, reasonArg) native; | 27 static void _initCloseEvent(receiver, typeArg, canBubbleArg, cancelableArg, wa
sCleanArg, codeArg, reasonArg) native; |
| 28 | 28 |
| 29 String get typeName() { return "CloseEvent"; } | 29 String get typeName() { return "CloseEvent"; } |
| 30 } | 30 } |
| OLD | NEW |