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

Side by Side Diff: lib/dom/templates/html/impl/impl_EventTarget.darttemplate

Issue 10928060: Partially migrate from old getter syntax to new one. (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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 _EventsImpl implements Events { 5 class _EventsImpl implements Events {
6 /* Raw event target. */ 6 /* Raw event target. */
7 // TODO(jacobr): it would be nice if we could specify this as 7 // TODO(jacobr): it would be nice if we could specify this as
8 // _EventTargetImpl or EventTarget 8 // _EventTargetImpl or EventTarget
9 final Dynamic _ptr; 9 final Dynamic _ptr;
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 void _remove(EventListener listener, bool useCapture) { 51 void _remove(EventListener listener, bool useCapture) {
52 _ptr.$dom_removeEventListener(_type, listener, useCapture); 52 _ptr.$dom_removeEventListener(_type, listener, useCapture);
53 } 53 }
54 } 54 }
55 55
56 56
57 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 57 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
58 58
59 Events get on() => new _EventsImpl(this); 59 Events get on => new _EventsImpl(this);
60 $!MEMBERS 60 $!MEMBERS
61 } 61 }
OLDNEW
« no previous file with comments | « lib/dom/templates/html/impl/impl_Element.darttemplate ('k') | lib/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698