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

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

Issue 9264057: Refresh dart:dom libraries from WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't re-implement List<>, causes code that dartc rejects due to static 'override' Created 8 years, 10 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
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 _EventSourceWrappingImplementation extends DOMWrapperBase implements Event Source { 7 class _EventSourceWrappingImplementation extends DOMWrapperBase implements Event Source {
8 _EventSourceWrappingImplementation() : super() {} 8 _EventSourceWrappingImplementation() : super() {}
9 9
10 static create__EventSourceWrappingImplementation() native { 10 static create__EventSourceWrappingImplementation() native {
11 return new _EventSourceWrappingImplementation(); 11 return new _EventSourceWrappingImplementation();
12 } 12 }
13 13
14 String get URL() { return _get_URL(this); } 14 String get URL() { return _get_URL(this); }
15 static String _get_URL(var _this) native; 15 static String _get_URL(var _this) native;
16 16
17 int get readyState() { return _get_readyState(this); } 17 int get readyState() { return _get_readyState(this); }
18 static int _get_readyState(var _this) native; 18 static int _get_readyState(var _this) native;
19 19
20 String get url() { return _get_url(this); }
21 static String _get_url(var _this) native;
22
20 void addEventListener(String type, EventListener listener, [bool useCapture = null]) { 23 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
21 if (useCapture === null) { 24 if (useCapture === null) {
22 _addEventListener_EventSource(this, type, listener); 25 _addEventListener_EventSource(this, type, listener);
23 return; 26 return;
24 } else { 27 } else {
25 _addEventListener_EventSource_2(this, type, listener, useCapture); 28 _addEventListener_EventSource_2(this, type, listener, useCapture);
26 return; 29 return;
27 } 30 }
28 } 31 }
29 static void _addEventListener_EventSource(receiver, type, listener) native; 32 static void _addEventListener_EventSource(receiver, type, listener) native;
(...skipping 17 matching lines...) Expand all
47 } else { 50 } else {
48 _removeEventListener_EventSource_2(this, type, listener, useCapture); 51 _removeEventListener_EventSource_2(this, type, listener, useCapture);
49 return; 52 return;
50 } 53 }
51 } 54 }
52 static void _removeEventListener_EventSource(receiver, type, listener) native; 55 static void _removeEventListener_EventSource(receiver, type, listener) native;
53 static void _removeEventListener_EventSource_2(receiver, type, listener, useCa pture) native; 56 static void _removeEventListener_EventSource_2(receiver, type, listener, useCa pture) native;
54 57
55 String get typeName() { return "EventSource"; } 58 String get typeName() { return "EventSource"; }
56 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698