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

Side by Side Diff: lib/html/src/XMLHttpRequestUploadWrappingImplementation.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « lib/html/src/XMLHttpRequestUpload.dart ('k') | lib/html/src/dart2js_DOMImplementation.dart » ('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 XMLHttpRequestUploadEventsImplementation extends EventsImplementation 5 class XMLHttpRequestUploadEventsImplementation extends EventsImplementation
6 implements XMLHttpRequestUploadEvents { 6 implements XMLHttpRequestUploadEvents {
7 XMLHttpRequestUploadEventsImplementation._wrap(_ptr) : super._wrap(_ptr); 7 XMLHttpRequestUploadEventsImplementation._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');
11 EventListenerList get load() => _get('load'); 11 EventListenerList get load => _get('load');
12 EventListenerList get loadStart() => _get('loadstart'); 12 EventListenerList get loadStart => _get('loadstart');
13 EventListenerList get progress() => _get('progress'); 13 EventListenerList get progress => _get('progress');
14 } 14 }
15 15
16 class XMLHttpRequestUploadWrappingImplementation extends EventTargetWrappingImpl ementation implements XMLHttpRequestUpload { 16 class XMLHttpRequestUploadWrappingImplementation extends EventTargetWrappingImpl ementation implements XMLHttpRequestUpload {
17 XMLHttpRequestUploadWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} 17 XMLHttpRequestUploadWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
18 18
19 XMLHttpRequestUploadEvents get on() { 19 XMLHttpRequestUploadEvents get on {
20 if (_on === null) { 20 if (_on === null) {
21 _on = new XMLHttpRequestUploadEventsImplementation._wrap(_ptr); 21 _on = new XMLHttpRequestUploadEventsImplementation._wrap(_ptr);
22 } 22 }
23 return _on; 23 return _on;
24 } 24 }
25 } 25 }
OLDNEW
« no previous file with comments | « lib/html/src/XMLHttpRequestUpload.dart ('k') | lib/html/src/dart2js_DOMImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698