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 _XMLHttpRequestUploadWrappingImplementation extends DOMWrapperBase impleme
nts XMLHttpRequestUpload { | |
8 _XMLHttpRequestUploadWrappingImplementation() : super() {} | |
9 | |
10 static create__XMLHttpRequestUploadWrappingImplementation() native { | |
11 return new _XMLHttpRequestUploadWrappingImplementation(); | |
12 } | |
13 | |
14 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | |
15 if (useCapture === null) { | |
16 _addEventListener_XMLHttpRequestUpload(this, type, listener); | |
17 return; | |
18 } else { | |
19 _addEventListener_XMLHttpRequestUpload_2(this, type, listener, useCapture)
; | |
20 return; | |
21 } | |
22 } | |
23 static void _addEventListener_XMLHttpRequestUpload(receiver, type, listener) n
ative; | |
24 static void _addEventListener_XMLHttpRequestUpload_2(receiver, type, listener,
useCapture) native; | |
25 | |
26 bool dispatchEvent(Event evt) { | |
27 return _dispatchEvent_XMLHttpRequestUpload(this, evt); | |
28 } | |
29 static bool _dispatchEvent_XMLHttpRequestUpload(receiver, evt) native; | |
30 | |
31 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { | |
32 if (useCapture === null) { | |
33 _removeEventListener_XMLHttpRequestUpload(this, type, listener); | |
34 return; | |
35 } else { | |
36 _removeEventListener_XMLHttpRequestUpload_2(this, type, listener, useCaptu
re); | |
37 return; | |
38 } | |
39 } | |
40 static void _removeEventListener_XMLHttpRequestUpload(receiver, type, listener
) native; | |
41 static void _removeEventListener_XMLHttpRequestUpload_2(receiver, type, listen
er, useCapture) native; | |
42 | |
43 String get typeName() { return "XMLHttpRequestUpload"; } | |
44 } | |
OLD | NEW |