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

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

Issue 11415184: Adding @domName annotations to impl files what were missing them. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 part of html; 5 part of html;
6 6
7 class Events { 7 class Events {
8 /* Raw event target. */ 8 /* Raw event target. */
9 final EventTarget _ptr; 9 final EventTarget _ptr;
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 void _add(EventListener listener, bool useCapture) { 43 void _add(EventListener listener, bool useCapture) {
44 _ptr.$dom_addEventListener(_type, listener, useCapture); 44 _ptr.$dom_addEventListener(_type, listener, useCapture);
45 } 45 }
46 46
47 void _remove(EventListener listener, bool useCapture) { 47 void _remove(EventListener listener, bool useCapture) {
48 _ptr.$dom_removeEventListener(_type, listener, useCapture); 48 _ptr.$dom_removeEventListener(_type, listener, useCapture);
49 } 49 }
50 } 50 }
51 51
52 52 /// @domName $DOMNAME
53 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 53 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
54 54
55 /** @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent */ 55 /** @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent */
56 Events get on => new Events(this); 56 Events get on => new Events(this);
57 $!MEMBERS 57 $!MEMBERS
58 } 58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698