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

Unified Diff: client/html/generated/html/frog/XMLHttpRequest.dart

Issue 9623017: Refactor the event-generation code to locate it in systemhtml.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/html/generated/html/frog/Window.dart ('k') | client/html/generated/html/interface/BodyElement.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/generated/html/frog/XMLHttpRequest.dart
diff --git a/client/html/generated/html/frog/XMLHttpRequest.dart b/client/html/generated/html/frog/XMLHttpRequest.dart
index 85547f00083c204e894c2a8044066fe5463a4aa1..bd014302b812f46e66de21fa8bcf0fcdfd1e9ae4 100644
--- a/client/html/generated/html/frog/XMLHttpRequest.dart
+++ b/client/html/generated/html/frog/XMLHttpRequest.dart
@@ -1,6 +1,9 @@
class _XMLHttpRequestImpl extends _EventTargetImpl implements XMLHttpRequest native "*XMLHttpRequest" {
+ _XMLHttpRequestEventsImpl get on() =>
+ new _XMLHttpRequestEventsImpl(this);
+
static final int DONE = 4;
static final int HEADERS_RECEIVED = 2;
@@ -35,9 +38,6 @@ class _XMLHttpRequestImpl extends _EventTargetImpl implements XMLHttpRequest nat
bool withCredentials;
- _XMLHttpRequestEventsImpl get on() =>
- new _XMLHttpRequestEventsImpl(this);
-
void abort() native;
void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
« no previous file with comments | « client/html/generated/html/frog/Window.dart ('k') | client/html/generated/html/interface/BodyElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698