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

Side by Side Diff: client/html/src/XMLHttpRequestWrappingImplementation.dart

Issue 9474030: Revert "Add some sweet XML classes." (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
« no previous file with comments | « client/html/src/XMLHttpRequest.dart ('k') | client/tests/client/client.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 class XMLHttpRequestEventsImplementation extends EventsImplementation 5 class XMLHttpRequestEventsImplementation extends EventsImplementation
6 implements XMLHttpRequestEvents { 6 implements XMLHttpRequestEvents {
7 XMLHttpRequestEventsImplementation._wrap(_ptr) : super._wrap(_ptr); 7 XMLHttpRequestEventsImplementation._wrap(_ptr) : super._wrap(_ptr);
8 8
9 EventListenerList get abort() => _get('abort'); 9 EventListenerList get abort() => _get('abort');
10 EventListenerList get error() => _get('error'); 10 EventListenerList get error() => _get('error');
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 47
48 int get readyState() => _ptr.readyState; 48 int get readyState() => _ptr.readyState;
49 49
50 String get responseText() => _ptr.responseText; 50 String get responseText() => _ptr.responseText;
51 51
52 String get responseType() => _ptr.responseType; 52 String get responseType() => _ptr.responseType;
53 53
54 void set responseType(String value) { _ptr.responseType = value; } 54 void set responseType(String value) { _ptr.responseType = value; }
55 55
56 XMLDocument get responseXML() => LevelDom.wrapDocument(_ptr.responseXML); 56 Document get responseXML() => LevelDom.wrapDocument(_ptr.responseXML);
57 57
58 int get status() => _ptr.status; 58 int get status() => _ptr.status;
59 59
60 String get statusText() => _ptr.statusText; 60 String get statusText() => _ptr.statusText;
61 61
62 XMLHttpRequestUpload get upload() => LevelDom.wrapXMLHttpRequestUpload(_ptr.up load); 62 XMLHttpRequestUpload get upload() => LevelDom.wrapXMLHttpRequestUpload(_ptr.up load);
63 63
64 bool get withCredentials() => _ptr.withCredentials; 64 bool get withCredentials() => _ptr.withCredentials;
65 65
66 void set withCredentials(bool value) { _ptr.withCredentials = value; } 66 void set withCredentials(bool value) { _ptr.withCredentials = value; }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 _ptr.setRequestHeader(header, value); 122 _ptr.setRequestHeader(header, value);
123 } 123 }
124 124
125 XMLHttpRequestEvents get on() { 125 XMLHttpRequestEvents get on() {
126 if (_on === null) { 126 if (_on === null) {
127 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr); 127 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr);
128 } 128 }
129 return _on; 129 return _on;
130 } 130 }
131 } 131 }
OLDNEW
« no previous file with comments | « client/html/src/XMLHttpRequest.dart ('k') | client/tests/client/client.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698