Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1296)

Side by Side Diff: client/dom/generated/src/wrapping/_EventSourceWrappingImplementation.dart

Issue 9663027: Remove generated directories with 100s of files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 _EventSourceWrappingImplementation extends DOMWrapperBase implements Event Source {
8 _EventSourceWrappingImplementation() : super() {}
9
10 static create__EventSourceWrappingImplementation() native {
11 return new _EventSourceWrappingImplementation();
12 }
13
14 String get URL() { return _get_URL(this); }
15 static String _get_URL(var _this) native;
16
17 int get readyState() { return _get_readyState(this); }
18 static int _get_readyState(var _this) native;
19
20 String get url() { return _get_url(this); }
21 static String _get_url(var _this) native;
22
23 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
24 if (useCapture === null) {
25 _addEventListener_EventSource(this, type, listener);
26 return;
27 } else {
28 _addEventListener_EventSource_2(this, type, listener, useCapture);
29 return;
30 }
31 }
32 static void _addEventListener_EventSource(receiver, type, listener) native;
33 static void _addEventListener_EventSource_2(receiver, type, listener, useCaptu re) native;
34
35 void close() {
36 _close(this);
37 return;
38 }
39 static void _close(receiver) native;
40
41 bool dispatchEvent(Event evt) {
42 return _dispatchEvent_EventSource(this, evt);
43 }
44 static bool _dispatchEvent_EventSource(receiver, evt) native;
45
46 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
47 if (useCapture === null) {
48 _removeEventListener_EventSource(this, type, listener);
49 return;
50 } else {
51 _removeEventListener_EventSource_2(this, type, listener, useCapture);
52 return;
53 }
54 }
55 static void _removeEventListener_EventSource(receiver, type, listener) native;
56 static void _removeEventListener_EventSource_2(receiver, type, listener, useCa pture) native;
57
58 String get typeName() { return "EventSource"; }
59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698